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

Create a more useful example rego file for ec init policies #946

Open
mbestavros opened this issue Aug 16, 2023 · 0 comments
Open

Create a more useful example rego file for ec init policies #946

mbestavros opened this issue Aug 16, 2023 · 0 comments

Comments

@mbestavros
Copy link
Member

mbestavros commented Aug 16, 2023

The existing Rego included when running ec init policies is fairly basic. We should include something with a little more detail - particularly something that verifies attestations.

Some potential places to look for inspiration include:

  • input.image
  • input.attestations

A/C:

  • Running ec init policies generates a Rego file that checks an image's attestations.
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

1 participant