{"id":13787757,"url":"https://github.com/redhat-cop/rego-policies","last_synced_at":"2025-04-04T08:08:31.285Z","repository":{"id":41309390,"uuid":"262924542","full_name":"redhat-cop/rego-policies","owner":"redhat-cop","description":"Rego policies collection","archived":false,"fork":false,"pushed_at":"2025-03-24T17:32:04.000Z","size":3290,"stargazers_count":165,"open_issues_count":4,"forks_count":36,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-03-28T07:08:38.692Z","etag":null,"topics":["conftest","container-cop","gatekeeper","opa","rego"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-cop.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":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-11T02:59:34.000Z","updated_at":"2025-03-24T11:14:44.000Z","dependencies_parsed_at":"2024-02-06T21:38:56.197Z","dependency_job_id":"dd377b57-c87e-4737-9839-1dea58c1d349","html_url":"https://github.com/redhat-cop/rego-policies","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Frego-policies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Frego-policies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Frego-policies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Frego-policies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-cop","download_url":"https://codeload.github.com/redhat-cop/rego-policies/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247142066,"owners_count":20890652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["conftest","container-cop","gatekeeper","opa","rego"],"created_at":"2024-08-03T21:00:30.122Z","updated_at":"2025-04-04T08:08:31.264Z","avatar_url":"https://github.com/redhat-cop.png","language":"Shell","funding_links":[],"categories":["others","Kubernetes","Shell"],"sub_categories":["Built with Wasm"],"readme":"[![Lint policies with OPA/Regal](https://github.com/redhat-cop/rego-policies/actions/workflows/regal-lint.yaml/badge.svg)](https://github.com/redhat-cop/rego-policies/actions/workflows/regal-lint.yaml)\n[![Run conftest-unittests.sh](https://github.com/redhat-cop/rego-policies/actions/workflows/conftest-unittests.yaml/badge.svg)](https://github.com/redhat-cop/rego-policies/actions/workflows/conftest-unittests.yaml)\n[![Run gatekeeper-k8s-integrationtests.sh](https://github.com/redhat-cop/rego-policies/actions/workflows/gatekeeper-k8s-integrationtests.yaml/badge.svg)](https://github.com/redhat-cop/rego-policies/actions/workflows/gatekeeper-k8s-integrationtests.yaml)\n[![Run pre-commit](https://github.com/redhat-cop/rego-policies/actions/workflows/precommit-validate.yml/badge.svg)](https://github.com/redhat-cop/rego-policies/actions/workflows/precommit-validate.yml)\n[![Scorecard supply-chain security](https://github.com/redhat-cop/rego-policies/actions/workflows/scorecard.yml/badge.svg)](https://github.com/redhat-cop/rego-policies/actions/workflows/scorecard.yml)\n\n# rego-policies\n[Rego](https://www.openpolicyagent.org/docs/latest/policy-language/) policies collection.\n\n## Policies\nFor a full list of policies, see the auto-generated [POLICIES.md](POLICIES.md)\n\nThe naming of the policies follows the Gatekeeper format, as described [here.](https://github.com/plexsystems/konstraint/blob/main/docs/constraint_creation.md#resource-naming)\n\nWant to run the policies on a k8s/OCP cluster? See [TESTING.md](TESTING.md)\n\n## Tools\n### Conftest\nconftest is a CLI to execute rego policies. It can be used to test locally before pushing to [OPA](https://www.openpolicyagent.org/).\n- [https://www.conftest.dev/install](https://www.conftest.dev/install/)\n\n### OPA Playground\nOPA provides a web based playground, which can highlight which lines have been activated. Having issues with your policy? check it out with \"Coverage\" enabled:\n- [https://play.openpolicyagent.org](https://play.openpolicyagent.org)\n\n### Slack for all things\nStuck on a problem?\n- [https://slack.openpolicyagent.org/](https://slack.openpolicyagent.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Frego-policies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-cop%2Frego-policies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Frego-policies/lists"}