{"id":18990922,"url":"https://github.com/datadrivers/opa-policies","last_synced_at":"2026-02-15T03:33:16.496Z","repository":{"id":55895505,"uuid":"319620523","full_name":"datadrivers/opa-policies","owner":"datadrivers","description":"This repository is a collection of open policy agent(OPA) policies","archived":false,"fork":false,"pushed_at":"2020-12-13T18:36:14.000Z","size":47,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-10-08T22:13:06.557Z","etag":null,"topics":["helm-charts","opa-gatekeeper","opa-policies"],"latest_commit_sha":null,"homepage":"https://datadrivers.github.io/opa-policies","language":"Open Policy Agent","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datadrivers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-08T11:39:36.000Z","updated_at":"2021-02-24T17:39:09.000Z","dependencies_parsed_at":"2022-08-15T08:50:51.329Z","dependency_job_id":null,"html_url":"https://github.com/datadrivers/opa-policies","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/datadrivers/opa-policies","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fopa-policies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fopa-policies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fopa-policies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fopa-policies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadrivers","download_url":"https://codeload.github.com/datadrivers/opa-policies/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fopa-policies/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29466929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T01:01:38.065Z","status":"online","status_checked_at":"2026-02-15T02:00:07.449Z","response_time":118,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["helm-charts","opa-gatekeeper","opa-policies"],"created_at":"2024-11-08T17:12:08.828Z","updated_at":"2026-02-15T03:33:16.437Z","avatar_url":"https://github.com/datadrivers.png","language":"Open Policy Agent","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OPA policies collection\n\nThis repository is a collection of open policy agent(OPA) policies.\nThe policies are packed into helm charts and support the opa gatekeeper.\n\n## Requirements\n\n- OPA gatekeeper is installed.\n\n  ```shell\n  helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts\n  helm repo update\n  helm install gatekeeper/gatekeeper --generate-name\n  ```\n\n## Usage example\n\n1. Add helm chart repository\n\n    ```shell\n    helm repo add opa-policies https://datadrivers.github.io/opa-policies\n    helm repo update\n    ```\n\n2. Install template via opa-policy chart\n\n    ```shell \n    helm install probes-policy opa-policies/opa-constraint-template-probes\n    ```\n\n3. Use opa constrainttemplate in dryrun mode\n\n    ```shell\n    kubectl apply -f - \u003c\u003cEOF\n    apiVersion: constraints.gatekeeper.sh/v1beta1\n    kind: ProbesPolicy\n    metadata:\n      name: probes-required\n    spec:\n      enforcementAction: dryrun\n      match:\n        kinds:\n          - apiGroups: [\"apps\"]\n            kinds: [\"Deployment\", \"StatefulSet\", \"DaemonSet\"]\n          - apiGroups: [\"batch\"]\n            kinds: [\"Job\", \"CronJob\"]\n          - apiGroups: [\"\"]\n            kinds: [\"Pod\"]\n        excludedNamespaces:\n          - kube-system\n      parameters:\n        excludedDeployments: []\n        excludedDaemonSets: []\n        excludedStatefulSets: []\n        excludedCronJobs: []\n        excludedJobs: []\n        excludedPods: []\n    EOF\n    ```\n\n## Development\n\n### test\n\n```bash\nopa test charts/*/opa -v\n```\n\n## Author\n\n[Datadrivers GmbH](https://www.datadrivers.de)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fopa-policies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadrivers%2Fopa-policies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fopa-policies/lists"}