Skip to content

chore: add trivy scanner for CI and code#10077

Merged
mnencia merged 8 commits intomainfrom
dev/10075
Feb 26, 2026
Merged

chore: add trivy scanner for CI and code#10077
mnencia merged 8 commits intomainfrom
dev/10075

Conversation

@sxd
Copy link
Member

@sxd sxd commented Feb 25, 2026

Add Trivy vulnerability scanner as a standalone workflow for filesystem
scanning with SARIF upload to the GitHub Security tab, and as an image
scanner in the CI pipeline with table output in build logs.

Closes #10075

@sxd sxd requested review from a team, NiccoloFei, jsilvela and litaocdl as code owners February 25, 2026 20:28
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Feb 25, 2026
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.27 release-1.28 labels Feb 25, 2026
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@dosubot dosubot bot added the github_actions Pull requests that update GitHub Actions code label Feb 25, 2026
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 25, 2026
Added Trivy code scanner workflow and integrate inside the CI to check
the generated container iamge.

Closes #10075

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
@mnencia
Copy link
Member

mnencia commented Feb 26, 2026

/ok-to-merge

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Feb 26, 2026
@mnencia mnencia merged commit 0acf3b2 into main Feb 26, 2026
30 of 34 checks passed
@mnencia mnencia deleted the dev/10075 branch February 26, 2026 12:36
cnpg-bot pushed a commit that referenced this pull request Feb 26, 2026
Add Trivy vulnerability scanner as a standalone workflow for filesystem
scanning with SARIF upload to the GitHub Security tab, and as an image
scanner in the CI pipeline with table output in build logs.

Closes #10075

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
(cherry picked from commit 0acf3b2)
cnpg-bot pushed a commit that referenced this pull request Feb 26, 2026
Add Trivy vulnerability scanner as a standalone workflow for filesystem
scanning with SARIF upload to the GitHub Security tab, and as an image
scanner in the CI pipeline with table output in build logs.

Closes #10075

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
(cherry picked from commit 0acf3b2)
cnpg-bot pushed a commit that referenced this pull request Feb 26, 2026
Add Trivy vulnerability scanner as a standalone workflow for filesystem
scanning with SARIF upload to the GitHub Security tab, and as an image
scanner in the CI pipeline with table output in build logs.

Closes #10075

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
Co-authored-by: Marco Nenciarini <[email protected]>
(cherry picked from commit 0acf3b2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases github_actions Pull requests that update GitHub Actions code lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.25 release-1.27 release-1.28 size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add Trivy as security tool for images

4 participants