smartdatafoundry/Trivy Security Scan

Comprehensive Docker image security scanning with Trivy, including vulnerability reporting and PR comments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
image-refDocker image reference to scan (e.g., ghcr.io/user/repo:tag)yes
registryContainer registry URLnoghcr.io
severityComma-separated list of severities to scan fornoCRITICAL,HIGH
detailed-severityComma-separated list of severities for detailed JSON reportnoCRITICAL,HIGH,MEDIUM,LOW
ignore-unfixedIgnore vulnerabilities with no available fixnotrue
exit-codeExit code when vulnerabilities are foundno0
artifact-nameName for the artifact containing scan resultsnotrivy-scan-results
artifact-retention-daysNumber of days to retain the scan results artifactno30
github-tokenGitHub token for commenting on PRsno${{ github.token }}
post-pr-commentWhether to post scan results as PR commentnotrue
namedescription
scan-statusStatus of the security scan (success or vulnerabilities_found)
vulnerability-countTotal number of vulnerabilities found
artifact-idID of the uploaded artifact containing scan results