kyberorg/Harbor Scan Report

Publish a Harbor image vulnerability scan report to PR comment

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Oct 4, 2022
License
Public domain

Pinned Snippet

workflow.ymlSHA-pinned
uses: kyberorg/harbor-scan-report@495f479fa56e5cdb178ce06cab61d78b7c710575 # v0.5.2

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

namedescriptionrequireddefault
harbor-hostHostname of your Harbor instance (without protocol).yes
harbor-robotRobot or Username to access Harbor with.no
harbor-tokenRobot's Token (or Username's password)no
imageImage to scan (project/repo:tag[@digest])yes
digestExcepted SHA256 digest of image. Ignored, if digest is present in image. Format: 'sha256:01814f4b10f321f09244a919d34b0d5706d95624b4c69d75866bb9935a89582d'no
max-allowed-severityMinimum Vulnerability severity after which action considered as failed. Values: none, low, medium, high, criticalnocritical
report-sort-bySorting criteria for Vulnerability Report. Values: severity, scorenoseverity
report-only-fixableIf set to true, Vulnerability Report will contain only items that have fix versionnofalse
github-urlgithub.event.issue.comments_url - for issue, github.event.pull_request.comments_url - for PRno
github-tokenA GitHub personal access token used to commit to a branch on your behalf.no
comment-titleCustom comment titlenoDocker Image Vulnerability Report
comment-modeCreate new comment or update exising. Possible values are: create_new, update_lastnocreate_new
timeoutHow long action should wait for image and scan report (in seconds)no120
check-intervalTime (in seconds) between retries. Valid for waiting for image appears in Harbor and waiting for reportno5
harbor-protoProtocol of Harbor instance. Use it, if your Harbor uses httpnohttps
harbor-portCustom port of Harbor instance. Use it, if Harbor instance has custom portno""

no outputs