Add Grype Habitat package scan workflow with build and install modes#34
Open
Add Grype Habitat package scan workflow with build and install modes#34
Conversation
a4bd75f to
12e7024
Compare
Signed-off-by: sandhi <sagarwal@progress.com>
0360cbb to
cd701ec
Compare
Signed-off-by: sandhi <sagarwal@progress.com>
cd701ec to
84601da
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces a new Grype scan workflow for Habitat packages and refines vulnerability reporting in the Polaris SAST workflow. The most significant changes are the addition of configurable inputs and a dedicated job for scanning Habitat packages, as well as updates to vulnerability severity handling and reporting.
Grype Habitat package scan enhancements:
.github/workflows/ci-main-pull-request.ymlto support scanning Habitat packages, including options for origin, package, version, release, channel, and platform-specific scans (Linux, Windows, MacOS).run-grype-hab-package-scanin.github/workflows/ci-main-pull-request.ymlthat leverages a shared workflow to perform Grype scans on Habitat packages, with support for building from source or downloading from Builder.Vulnerability reporting improvements:
Grype scan configuration change:
.github/workflows/grype.ymlto use the--only-fixedflag for Grype scans, ensuring that only vulnerabilities with available fixes are reported.Related Issue
Types of changes
Checklist:
Gemfile.lockhas changed, I have used--conservativeto do it and included the full output in the Description above.