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

New Task definition policy: enforce trusted artifacts convention #876

Open
zregvart opened this issue Jan 29, 2024 · 3 comments
Open

New Task definition policy: enforce trusted artifacts convention #876

zregvart opened this issue Jan 29, 2024 · 3 comments

Comments

@zregvart
Copy link
Member

We should enforce the trusted artifacts result/parameter naming convention. That is:

Any step utilizing the quay.io/redhat-appstudio/build-trusted-artifacts image should have it's positional arguments in the form of $([params|results].*_ARTIFACT)=<any value>.

This rule should be present in the redhat collection.

@lcarva
Copy link
Member

lcarva commented Jan 29, 2024

@zregvart, this would be policy rules on the task namespace, correct? Since the image value cannot be obtained reliably from a pod executed by cri-o, we cannot rely on this information from the slsa provenance (release namespace policies).

@zregvart
Copy link
Member Author

Yes, this is about validating the Task definitions not attestations.

@lcarva
Copy link
Member

lcarva commented May 30, 2024

#1014

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