Skip to content

Security: Replace compromised Trivy scanner with Grype#28

Merged
jultou-raa merged 5 commits into
mainfrom
security/replace-compromised-trivy-with-grype-16054018810714170622
Mar 22, 2026
Merged

Security: Replace compromised Trivy scanner with Grype#28
jultou-raa merged 5 commits into
mainfrom
security/replace-compromised-trivy-with-grype-16054018810714170622

Conversation

@jultou-raa

Copy link
Copy Markdown
Owner

This PR urgently remediates a critical supply chain vulnerability by replacing the compromised aquasecurity/trivy-action with anchore/scan-action@v3 (Grype).

Key changes:

  • Target the local docker image (docker.io/my-organization/my-app:${{ github.sha }})
  • Set fail-build: true and severity-cutoff: high to block builds with Critical or High vulnerabilities.
  • Export results in SARIF format and upload them to GitHub Security tab using github/codeql-action/upload-sarif@v3.

PR created automatically by Jules for task 16054018810714170622 started by @jultou-raa

Co-authored-by: jultou-raa <64092886+jultou-raa@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Co-authored-by: jultou-raa <64092886+jultou-raa@users.noreply.github.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

google-labs-jules Bot and others added 2 commits March 22, 2026 11:46
Co-authored-by: jultou-raa <64092886+jultou-raa@users.noreply.github.com>
Co-authored-by: jultou-raa <64092886+jultou-raa@users.noreply.github.com>
@codecov

codecov Bot commented Mar 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.02%. Comparing base (2ccb144) to head (89d1585).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage   98.02%   98.02%           
=======================================
  Files          10       10           
  Lines         911      911           
=======================================
  Hits          893      893           
  Misses         18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…3836

Co-authored-by: jultou-raa <64092886+jultou-raa@users.noreply.github.com>
@jultou-raa
jultou-raa merged commit 40e3bcf into main Mar 22, 2026
6 checks passed
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