Skip to content

fix(ci): Update trivy CLI to v0.69.3#56

Merged
jefrnc merged 1 commit intomainfrom
fix/trivy-cli-version
Apr 2, 2026
Merged

fix(ci): Update trivy CLI to v0.69.3#56
jefrnc merged 1 commit intomainfrom
fix/trivy-cli-version

Conversation

@jefrnc
Copy link
Copy Markdown
Owner

@jefrnc jefrnc commented Apr 2, 2026

The hardcoded trivy v0.48.0 download was removed, breaking the vulnerability-report job. Updated to v0.69.3 (latest).

The v0.48.0 release was removed, breaking the vulnerability-report job.
@jefrnc jefrnc merged commit c2164ee into main Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 14:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions workflow to restore the vulnerability-report job by reintroducing a pinned Trivy CLI download and bumping it to v0.69.3.

Changes:

  • Update the Trivy tarball download URL/version used in the vulnerability-report job.
  • Update the corresponding tar extraction filename to match the new version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +205 to +206
wget https://github.com/aquasecurity/trivy/releases/download/v0.69.3/trivy_0.69.3_Linux-64bit.tar.gz
tar zxvf trivy_0.69.3_Linux-64bit.tar.gz
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The Trivy version is duplicated in both the download URL and the tarball filename, which makes future updates error-prone (easy to bump one line and forget the other). Consider defining a single TRIVY_VERSION variable (env or shell var) and interpolating it in both commands.

Suggested change
wget https://github.com/aquasecurity/trivy/releases/download/v0.69.3/trivy_0.69.3_Linux-64bit.tar.gz
tar zxvf trivy_0.69.3_Linux-64bit.tar.gz
TRIVY_VERSION=0.69.3
wget https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz
tar zxvf trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz

Copilot uses AI. Check for mistakes.
Comment on lines +205 to +206
wget https://github.com/aquasecurity/trivy/releases/download/v0.69.3/trivy_0.69.3_Linux-64bit.tar.gz
tar zxvf trivy_0.69.3_Linux-64bit.tar.gz
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

This step downloads and executes a prebuilt Trivy binary without any integrity verification. To reduce supply-chain risk, consider verifying the release checksum/signature (e.g., SHA256SUMS + signature) before extracting/executing, or use a pinned, trusted install method (e.g., the trivy-action or package manager with version pinning).

Copilot uses AI. Check for mistakes.
@jefrnc jefrnc deleted the fix/trivy-cli-version branch April 2, 2026 15:03
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