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

Fail kolla image build when critical CVEs are detected #1080

Merged
merged 3 commits into from
Jul 3, 2024

Conversation

seunghun1ee
Copy link
Member

Added condition in scan-images.sh to add images to additional list critical-images.txt that can be used to check if there was any critical CVEs found during image scanning.
The container image build job will fail when critical CVEs are found from images but the push for other images will be performed.
Changed push dirty image option to false. (When it's set to true, images with critical CVEs will also get pushed and the job will not fail)

@seunghun1ee seunghun1ee requested a review from a team as a code owner May 21, 2024 09:31
@seunghun1ee seunghun1ee self-assigned this May 21, 2024
Copy link
Contributor

@assumptionsandg assumptionsandg left a comment

Choose a reason for hiding this comment

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

Do we still want to be merging features into Yoga? Otherwise LGTM

@markgoddard markgoddard merged commit 0c07da3 into stackhpc/yoga Jul 3, 2024
16 of 18 checks passed
@markgoddard markgoddard deleted the fail-kolla-image-build-when-critical-cve branch July 3, 2024 12:41
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

Successfully merging this pull request may close these issues.

None yet

4 participants