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

feat: add rego policy for provenance checks #11

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Conversation

silver-surfer94
Copy link
Contributor

@silver-surfer94 silver-surfer94 commented Mar 22, 2024

This pull request introduces changes to the policy governance and security, adding support for provenance attestations and modifying the test cases accordingly. The most important changes include the addition of provenance attestations in the governance policy, the creation of a new security.provenance package, and the addition of test cases for the new provenance rules.

Policy Governance Changes:

Security Policy Changes:

Test Data Changes:

Please note that these changes are crucial for the enforcement of provenance attestations in the policy governance.

@silver-surfer94 silver-surfer94 added this to the Current Focus milestone Mar 22, 2024
Copy link
Contributor

@alexashley alexashley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another thing we're missing in the pipeline is conventional commit enforcement - can you change the PR title to use a conventional commit prefix? We can update the workflow in a separate PR.

policy/governance/governance.rego Outdated Show resolved Hide resolved
policy/security/provenance_test.rego Outdated Show resolved Hide resolved
@silver-surfer94 silver-surfer94 changed the title Copilot rego feat: add rego policy for provenance checks Mar 22, 2024
alexashley
alexashley previously approved these changes Mar 22, 2024
@silver-surfer94 silver-surfer94 merged commit eb8d8d8 into main Mar 25, 2024
2 checks passed
@silver-surfer94 silver-surfer94 deleted the copilot-rego branch March 25, 2024 16:51
Copy link

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants