docker/Docker Scout

List vulnerabilities in images; find better base images and upload an image SBOM to Docker Scout

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 3, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: docker/scout-action@2688993af7bafd6ba8c6a74ec652442be91dd82b # v1.23.1

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

namedescriptionrequireddefault
commandCommand(s) to run. Use a comma separated list to run several commands on the same set of parameters, for instance quickview,compare yes
debugDebugno
verbose-debugPrint more verbose debug messagesno
summaryPublish the output as GitHub Action summarynotrue
organizationNamespace of the Docker organizationno
imageImage to analyzeno
platformPlatform of the image to analyzeno
refRef if neededno
toImage to compare tono
to-refRef of image to compareno
to-streamCompare to image in streamno
to-envCompare to image in environmentno
to-latestCompare to latest pushed imageno
streamName of the stream to record the imageno
environmentName of the environment to record the imageno
hide-policiesHide policies from the output altogetherno
policy-filePath to a local .rego policy file to evaluate. Use a comma separated list to evaluate several files. no
policy-dirPath to a directory of local .rego policy files to evaluate. Use a comma separated list to evaluate several directories. no
policy-bundleOCI reference of a policy bundle to evaluate. Use a comma separated list to evaluate several bundles. no
policy-configPath to a JSON file configuring policy enablement and inputsno
only-policyComma separated list of policies to evaluateno
ignore-baseIgnore vulnerabilities from base imageno
ignore-unchangedFilter out unchanged packagesno
only-vex-affectedFilter out CVEs that are marked not affected by a VEX statementno
vex-authorList of VEX statement authors to acceptno
vex-locationFile location of directory or file containing VEX statementno
only-fixedFilter to fixable CVEsno
only-unfixedFilter to unfixed CVEsno
only-severitiesComma separated list of severities (critical, high, medium, low, unspecified) to filter CVEs byno
only-package-typesComma separated list of package types (like apk, deb, rpm, npm, pypi, golang, etc)no
only-cisa-kevFilter to CVEs listed in the CISA Known Exploited Vulnerabilities catalogno
ignore-suppressedFilter out CVEs affected by Scout suppressionsno
exit-codeFail the action step if vulnerability changes are detectedno
exit-on(compare only) Comma separated list of conditions to fail the action step if worsened, options are: vulnerability, policyno
sarif-fileWrite output to a SARIF file for further processing or upload into GitHub code scanningno
only-refreshOnly display base image refresh recommendationsno
only-updateOnly display base image update recommendationsno
formatFormat of the SBOM to generate (json, list, spdx, cyclonedx)nojson
outputOutput file for the SBOMno
secretsEnable secret scanning as part of SBOM indexingno
tagsList of tags to add to the attestationno
fileFile path to the attestation fileno
predicate-typePredicate type of the attestationno
referrerUse OCI referrer API for pushing attestationno
referrer-repositoryRepository to push referrer tono
registry-write-userRegistry user to push attestationsno
registry-write-passwordRegistry password to push attestationsno
dockerhub-userDocker Hub Userno
dockerhub-passwordDocker Hub PATno
registry-userRegistry user to pull imagesno
registry-passwordRegistry password to pull imagesno
github-tokenGitHub Token to write commentsno${{ github.token }}
write-commentWrite the output as a Pull Request commentnotrue
keep-previous-commentsIf set, keep but hide previous comment. If not set, keep and update one single comment per jobno

no outputs