Skip to content

Add Trivy container image scan - #36

Open
ZohebShaikh wants to merge 1 commit into
mainfrom
add-trivy
Open

ZohebShaikh wants to merge 1 commit into
mainfrom
add-trivy

Conversation

@ZohebShaikh

Copy link
Copy Markdown
Contributor

Adds the same Trivy scan blueapi uses:

  • _trivy.yml: builds the image and fails on fixable CRITICAL/HIGH OS and library vulnerabilities
  • ci.yml: runs the scan on every push/PR
  • periodic.yml: runs it weekly (Wed 08:00 UTC) and on manual dispatch, to catch new CVEs in the base image

🤖 Generated with Claude Code

Copies blueapi's _trivy.yml, runs it in CI and weekly via periodic.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.79%. Comparing base (2f8ead1) to head (6fa18e7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   95.79%   95.79%           
=======================================
  Files           5        5           
  Lines         857      857           
=======================================
  Hits          821      821           
  Misses         36       36           

☔ 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.

@ZohebShaikh ZohebShaikh reopened this Nov 2, 2026
@ZohebShaikh
ZohebShaikh marked this pull request as ready for review November 11, 2026 09:13
@ZohebShaikh

Copy link
Copy Markdown
Contributor Author

I'm planning to add it here so that we can scan the image. And get updates here.
The sad part of adding it here is that we will have no control over updating the vulners because they will be most likely coming from tiled

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.

1 participant