All Projects → policy-hub → Policy Hub Cli

policy-hub / Policy Hub Cli

CLI for searching Rego policies

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Policy Hub Cli

Litmus
Litmus helps SREs and developers practice chaos engineering in a Cloud-native way. Chaos experiments are published at the ChaosHub (https://hub.litmuschaos.io). Community notes is at https://hackmd.io/a4Zu_sH4TZGeih-xCimi3Q
Stars: ✭ 2,377 (+2601.14%)
Mutual labels:  cloud-native, hacktoberfest, cncf
Chaos Mesh
A Chaos Engineering Platform for Kubernetes.
Stars: ✭ 4,265 (+4746.59%)
Mutual labels:  cloud-native, hacktoberfest, cncf
Falco
Cloud Native Runtime Security
Stars: ✭ 4,340 (+4831.82%)
Mutual labels:  hacktoberfest, cncf, cloud-native
Tidb
TiDB is an open source distributed HTAP database compatible with the MySQL protocol
Stars: ✭ 29,871 (+33844.32%)
Mutual labels:  cloud-native, hacktoberfest
Kubesphere
The container platform tailored for Kubernetes multi-cloud, datacenter, and edge management ⎈ 🖥 ☁️
Stars: ✭ 8,315 (+9348.86%)
Mutual labels:  cloud-native, cncf
Dragonfly
Dragonfly is an intelligent P2P based image and file distribution system.
Stars: ✭ 5,720 (+6400%)
Mutual labels:  cloud-native, cncf
Kubeedge
Kubernetes Native Edge Computing Framework (project under CNCF)
Stars: ✭ 4,582 (+5106.82%)
Mutual labels:  cloud-native, cncf
Kudo
Kubernetes Universal Declarative Operator (KUDO)
Stars: ✭ 849 (+864.77%)
Mutual labels:  hacktoberfest, cncf
Fission
Fast and Simple Serverless Functions for Kubernetes
Stars: ✭ 6,646 (+7452.27%)
Mutual labels:  hacktoberfest, cloud-native
Openebs
Leading Open Source Container Attached Storage, built using Cloud Native Architecture, simplifies running Stateful Applications on Kubernetes.
Stars: ✭ 7,277 (+8169.32%)
Mutual labels:  cloud-native, hacktoberfest
Containerd
An open and reliable container runtime
Stars: ✭ 9,956 (+11213.64%)
Mutual labels:  hacktoberfest, cncf
Nexclipper
Metrics Pipeline for interoperability and Enterprise Prometheus
Stars: ✭ 533 (+505.68%)
Mutual labels:  cloud-native, cncf
Networkservicemesh
The Hybrid/Multi-cloud IP Service Mesh
Stars: ✭ 456 (+418.18%)
Mutual labels:  cloud-native, cncf
Sig Security
🔐CNCF Special Interest Group on Security -- secure access, policy control, privacy, auditing, explainability and more!
Stars: ✭ 662 (+652.27%)
Mutual labels:  cloud-native, cncf
Cortex
A horizontally scalable, highly available, multi-tenant, long term Prometheus.
Stars: ✭ 4,491 (+5003.41%)
Mutual labels:  hacktoberfest, cncf
Tidb Operator
TiDB operator creates and manages TiDB clusters running in Kubernetes.
Stars: ✭ 778 (+784.09%)
Mutual labels:  cloud-native, hacktoberfest
Kubernetes With Cri O
📦 🚀 📦 - Kubernetes Cluster setup using CRI-O Runtime
Stars: ✭ 51 (-42.05%)
Mutual labels:  cloud-native, cncf
Thanos
Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
Stars: ✭ 9,820 (+11059.09%)
Mutual labels:  hacktoberfest, cncf
Ckss Certified Kubernetes Security Specialist
This repository is a collection of resources to prepare for the Certified Kubernetes Security Specialist (CKSS) exam.
Stars: ✭ 333 (+278.41%)
Mutual labels:  cloud-native, cncf
Siddhi
Stream Processing and Complex Event Processing Engine
Stars: ✭ 1,185 (+1246.59%)
Mutual labels:  cloud-native, cncf

PolicyHub CLI

This is the home of the PolicyHub CLI, a CLI tool that makes Rego policies searchable.

Goals

Policies are everywhere. Compliance policies, security policies, policies that define organisational best practices. The Open Policy Agent project provided a single policy language, Rego, that can be used to automate policy enforcement. However currently there is no existing mechanism that allows you to search for specific Rego policies.

For example you might be looking for a set of policies that validate Kubernetes security best practices as a starting point for your organisations Kubernetes policies. Or you might be looking for a set of Microservice Authorization policies. Right now you have to hope that your google search points you in the right direction.

The PolicyHub CLI aims to make policies searchable. We provide a standard format for policy creators to share their policies. Users of the CLI can search our registry for specific tags or descriptions, hopefully finding the policy they where looking for.

Searching policies

To search our registry, you can use the search command:

> policy-hub search k8s

+---------------------------+---------------------------------+--------------------------------+
|           NAME            |           MAINTAINERS           |             LABELS             |
+---------------------------+---------------------------------+--------------------------------+
| deprek8ion                | https://github.com/swade1987    | k8s, kubernetes, gatekeeper    |
| contrib.k8s_node_selector | https://github.com/tsandall     | kubernetes, k8s, node_selector |
| redhat-cop.rego-policies  | https://github.com/garethahealy | k8s, kubernetes, gatekeeper    |
| konstraint                | https://github.com/garethahealy | k8s, kubernetes, gatekeeper    |
+---------------------------+---------------------------------+--------------------------------+

Downloading policies

To download a policy, use the pull command:

> policy-hub pull konstraint

Make your policies discoverable

Do you have policies that the community could benefit from too? Make them searchable for users of policy-hub by adding metadata for them here (https://github.com/policy-hub/policy-hub-cli/blob/main/metadata/registries.yml) and submitting a PR

Contributing

Join us make policies more searchable!

  • We accept contributions to our registry.
  • Use GitHub Issues to file bugs or propose new features.
  • Create a Pull Request and contribute to the project.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].