crypto-bug-hunters / bug-buster

🪲 Bug Buster, a bug bounty platform powered by Cartesi Rollups
https://x.com/BugBusterApp
Apache License 2.0
10 stars 13 forks source link

Add grype vulnerability scanner to CI #155

Closed endersonmaia closed 2 months ago

endersonmaia commented 2 months ago

This PR will add a scan step into the CI that will upload the SARIF output to GitHub, and it will show security alerts like the ones in this link https://github.com/crypto-bug-hunters/bug-buster/security/code-scanning?query=pr%3A155+is%3Aopen

We should define some policy on where to enforce CI to fail at a certain level of vulnerability or not.

Currently, it's configured not to fail.

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bug-buster ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 4:42pm
github-advanced-security[bot] commented 2 months ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

endersonmaia commented 2 months ago

I wanted a summary as a PR comment but the https://github.com/crypto-bug-hunters/bug-buster/security/code-scanning may be enough for now.