-
Notifications
You must be signed in to change notification settings - Fork 5
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
Update Rego validations #104
Conversation
Need to handle the error throwing when unable to fetch metadata feilds from the defaultpolicies Signed-off-by: Santosh <[email protected]>
Signed-off-by: Santosh <[email protected]>
…ation results Signed-off-by: Santosh <[email protected]>
This method would require to supply the '.env' file to users, without which the command will fail with error: Error reading .env file Another approach could be to store all the ociURLs in a const and refer them to pull default policies. Signed-off-by: Santosh <[email protected]>
…iles Added examples for using default policies. Updated the logic for adding the source annotation for creating a OCI artifact Signed-off-by: Santosh <[email protected]>
Signed-off-by: Santosh <[email protected]>
Signed-off-by: Santosh <[email protected]>
Signed-off-by: Santosh <[email protected]>
Hi there 👋, @DryRunSecurity here, below is a summary of our analysis and findings.
Note 🟢 Risk threshold not exceeded. Change Summary (click to expand)The following is a summary of changes in this pull request made by me, your security buddy 🤖. Note that this summary is auto-generated and not meant to be a definitive list of security issues but rather a helpful summary from a security perspective. Summary: The code changes in this pull request focus on improving the security and functionality of the
From an application security perspective, these changes are generally positive and help to improve the overall security posture of the Files Changed:
Powered by DryRun Security |
This PR adds functionality to validate resources using
regoval
command with default Rego policies.Now, if a user does not provide a rego policy in
--policy
flag. Genval will fetch default policies for the resource and validate the resource against it.Closes: #88