Skip to content

Update trivy-action to 0.36.0 and print findings in CI logs#1096

Merged
SachaProbo merged 1 commit intomainfrom
SachaProbo/trivy-scan-fix
Apr 23, 2026
Merged

Update trivy-action to 0.36.0 and print findings in CI logs#1096
SachaProbo merged 1 commit intomainfrom
SachaProbo/trivy-scan-fix

Conversation

@SachaProbo
Copy link
Copy Markdown
Contributor

@SachaProbo SachaProbo commented Apr 23, 2026

Bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 (Trivy 0.70.0) and add a step to print CVE findings from the SARIF output so they are visible directly in CI logs.


Summary by cubic

Update aquasecurity/trivy-action to 0.36.0 (Trivy 0.70.0). Print CVE messages in release logs and make the make workflow fail on critical/high findings with table output.

  • Dependencies

    • Bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 in .github/workflows/make.yaml and .github/workflows/release.yaml.
  • Refactors

    • In make.yaml, use format: table, set exit-code: 1, and remove the SARIF upload step; set cache-dir to ~/.cache/trivy.
    • In release.yaml, add a "Print Trivy findings" step using jq (runs with if: always()).

Written for commit b9cf93a. Summary will update on new commits.

@SachaProbo SachaProbo force-pushed the SachaProbo/trivy-scan-fix branch 2 times, most recently from 61a032a to e395a74 Compare April 23, 2026 09:59
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 2 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/make.yaml">

<violation number="1" location=".github/workflows/make.yaml:169">
P2: Make the jq traversal null-safe; `.runs[].results[]` can fail on valid SARIF runs where `results` is missing/null.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread .github/workflows/make.yaml Outdated
@SachaProbo SachaProbo force-pushed the SachaProbo/trivy-scan-fix branch 3 times, most recently from cf164b7 to d2151c3 Compare April 23, 2026 10:07
Bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 (Trivy 0.70.0)
and add a step to print CVE findings from the SARIF output so they are
visible directly in CI logs.

Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
@SachaProbo SachaProbo force-pushed the SachaProbo/trivy-scan-fix branch from d2151c3 to b9cf93a Compare April 23, 2026 10:11
Copy link
Copy Markdown
Contributor

@gearnode gearnode left a comment

Choose a reason for hiding this comment

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

LGTM

@SachaProbo SachaProbo merged commit b9cf93a into main Apr 23, 2026
17 checks passed
@SachaProbo SachaProbo deleted the SachaProbo/trivy-scan-fix branch April 23, 2026 10:18
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.

2 participants