michealstevewaugh/Aqua Security Trivy

Scans container images for vulnerabilities with Trivy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jul 21, 2022
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: michealstevewaugh/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.35.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
scan-typeScan type to use for scanning vulnerabilitynoimage
image-refimage reference(for backward compatibility)yes
inputreference of tar file to scanno""
scan-refScan referenceno.
exit-codeexit code when vulnerabilities were foundno
ignore-unfixedignore unfixed vulnerabilitiesnofalse
vuln-typecomma-separated list of vulnerability types (os,library)noos,library
severityseverities of vulnerabilities to be displayednoUNKNOWN,LOW,MEDIUM,HIGH,CRITICAL
formatoutput format (table, json, template)notable
templateuse an existing template for rendering output (@/contrib/gitlab.tpl, @/contrib/junit.tpl, @/contrib/html.tpl)no""
outputwrites results to a file with the specified file nameno""
skip-dirscomma separated list of directories where traversal is skippedno""
skip-filescomma separated list of files to be skippedno""
cache-dirspecify where the cache is storedno""
timeouttimeout (default 5m0s)no""
ignore-policyfilter vulnerabilities with OPA rego languageno""
hide-progresshide progress outputno
list-all-pkgsoutput all packages regardless of vulnerabilitynofalse
security-checkscomma-separated list of what security issues to detectno""
trivyignorescomma-separated list of relative paths in repository to one or more .trivyignore filesno""
artifact-typeinput artifact type (image, fs, repo, archive) for SBOM generationno
github-patGitHub Personal Access Token (PAT) for submitting SBOM to GitHub Dependency Snapshot APIno
trivy-configpath to trivy.yaml configno

no outputs