wetransform/Vulnerability scan

Perform vulnerability scan and report using trivy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
image-refImage to scan (if not specified an fs scan is done)no""
scan-refExisting SBOM to use, if set image-ref is ignoredno""
upload-scan-refIf the existing SBOM used for scanning should be uploaded as an artifactnofalse
junit-test-outputLocation to write JUnit test report tono""
create-test-reportIf a JUnit test report should be created by the action (otherwise it is assumed to report is handled outside of the action)nofalse
fail-forIssue types for fail for if they are present (added to JUnit report)""
report-retention-daysNumber of days to retain the HTML report30
report-tagCustom tag for report file, discern multiple reports created in the same run. By the default the job ID is used""
check-image-userIf the user of the Docker image should be checked to be non-roottrue
create-summaryIf a summary should be createdtrue
create-pr-commentIf a sticky PR comment with the vulnerability summary should be created/updated (only on pull_request events; requires pull-requests:write)true
grype-enabledIf the SBOM should additionally be scanned with grype for risk-based reportingtrue
grype-risk-thresholdRisk threshold on grype's RISK scale (0-100) for the summary count; falls back to a .grype-risk-threshold file, then 40""

no outputs