Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to load policies over OCI #34

Open
developer-guy opened this issue Jan 26, 2022 · 1 comment
Open

ability to load policies over OCI #34

developer-guy opened this issue Jan 26, 2022 · 1 comment

Comments

@developer-guy
Copy link
Contributor

Rego policies can be shared over OCI registries by using the conftest tool which means that you can basically push and pull your Rego policies. So, we can load policies over OCI registries also.

👉 https://www.conftest.dev/sharing/

@nsmith5
Copy link
Owner

nsmith5 commented Jan 26, 2022

I think this and the directory for policies is generally a good idea but I'd like to spec out what the config would look like before developing as I think it needs a change. Perhaps something like:

policies:
  inline:
  - name: foo
    description: bar
    policy: |
        package sidekick
        default alert = true
  directories:
  - /etc/rekor-sidekick/policies.d/
  oci-registry:
  - # Not sure on schema here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants