Skip to content

fix: update stale Trivy vulnerability database - #399

Merged
Britania Rodriguez Reyes (britaniar) merged 5 commits into
Azure:mainfrom
britaniar:britaniar-fix-trivy-database-repository
Aug 17, 2026
Merged

fix: update stale Trivy vulnerability database#399
Britania Rodriguez Reyes (britaniar) merged 5 commits into
Azure:mainfrom
britaniar:britaniar-fix-trivy-database-repository

Conversation

@britaniar

Copy link
Copy Markdown
Contributor

Summary

  • replace the stale mirrored Trivy vulnerability database with the actively maintained official MCR repository
  • update all hub, member, and MCS controller image scan steps
  • preserve the existing CRITICAL,HIGH and ignore-unfixed: true scan policy

Root cause

The mirrored database was stale and lacked advisories present in mcr.microsoft.com/oss/v2/aquasecurity/trivy-db:2, causing the workflow's existing filters to report zero findings instead of the seven High findings returned by the current database.

Validation

  • confirmed exactly three official database repository references
  • confirmed zero stale mirror references
  • reviewed the workflow diff for unrelated changes

Use the actively maintained MCR Trivy database source so image scans receive current vulnerability advisories.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Record validation and the published pull request.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@britaniar Britania Rodriguez Reyes (britaniar) changed the title Fix stale Trivy vulnerability database fix: update stale Trivy vulnerability database Aug 17, 2026
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the scheduled scan workflow while retaining the official MCR vulnerability database source.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Record the resolved and mergeable upstream pull request state.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@codecov

codecov Bot commented Aug 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.95%. Comparing base (556170b) to head (edfaa44).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #399      +/-   ##
==========================================
- Coverage   67.11%   66.95%   -0.16%     
==========================================
  Files          33       33              
  Lines        3783     3783              
==========================================
- Hits         2539     2533       -6     
- Misses       1070     1075       +5     
- Partials      174      175       +1     

☔ View full report in Codecov by Harness.
📢 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.

@britaniar
Britania Rodriguez Reyes (britaniar) merged commit c897e4c into Azure:main Aug 17, 2026
10 of 11 checks passed
@britaniar
Britania Rodriguez Reyes (britaniar) deleted the britaniar-fix-trivy-database-repository branch August 17, 2026 22:48
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