Removes unnecessary constraint in deduplication for SARIF reporting
Allows defining and referencing the location of the SARIF report file
Fixes multiple instances where undefined items in the reporting would break scanning
Version 2.0.0 - 2020-30-09
2.0.0 is a new major version of scan action based on the new Grype tool from Anchore.
It is much faster for scanning compared to v1.x of the action and adds some new capabilities, including directory scanning as well as container image scanning,
and also has more metadata about the vulnerability matches than previous versions for more transparency on the matching process.
Improvements and Changes:
Significantly faster performance for scans
New vulnerabilities output format is the JSON output from Grype directly
Adds support for scanning directories as well as Docker containers, so you can do the same checks pre-and post-build of the container.
Supports Automatic Code Scanning/SARIF for exposing results via your repository's Security tab.
Updated the default branch from master to main
NOTE: This is a breaking change from v1.x, as indicated by the major version change. We strongly recommend using a @v2 or specific version instead of @main
Breaking Changes for v2:
Inputs:
Changed image-reference to image (required)
dockerfile-path is no longer supported and not necessary for the vulnerability scans
custom-policy-path is no longer supported
include-app-packages is no longer necessary or supported. Application packages are on by default and will receive vulnerability matches.
Outputs:
billofmaterials is no longer output. V2 is focused on vulnerability scanning and another action may be introduced for BoM support with its own options/config.
policycheck is no longer output
Commits
ecfd0e9 update node versions to v16 from v12 (#176)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps anchore/scan-action from 2 to 3.
Release notes
Sourced from anchore/scan-action's releases.
Changelog
Sourced from anchore/scan-action's changelog.
Commits
ecfd0e9
update node versions to v16 from v12 (#176)942ffaa
Update Grype to v0.38.0 (#173)8dc1927
Update Grype to v0.36.1 (#172)001541c
Remove commit signing requirement (#150)768ac09
Update Grype to v0.35.0 (#170)ba1a08a
Add author to the release drafter template (#167)e83a5d9
Update Grype to v0.34.7 (#163)f39983b
Explicitly runnpm run build
for auto-update PR (#166)95d50bf
Update husky and other deps, fix erroneous test (#165)94892a6
More closely align parameters with sbom-action (#158)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)