neevalt/Trivy scan

Scan repository and / or image to detect CVEs. Allows updating Github's security tab and send alert on slack channels.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
CONTAINER_REGISTRY_USERDocker registry user. Required if using image scan. no
CONTAINER_REGISTRY_TOKENDocker registry token. Required if using image scan. no
SLACK_APP_TOKENToken used to send messages on slack. Required if 'channels' is set. no
refBranch or tag the scan is associated to. Only used when scanning scan-type is 'fs'. Defaults to $GITHUB_REF, so is mandatory in cases where this value is not set, for instance if this action is triggered by a scheduler. no${{ github.ref }}
scan-typeType of analysis: 'image' for docker images, 'fs' for files. Defaults to 'fs'. nofs
scan-targetFolder or docker image to scan. Defaults to respository folder. no.
slack-channelsComma separated slack channels to notify scan results.no
namedescription
trivy-jsonJSON formatted scan result