contrast-security-oss/Contrast Local Scan

Runs Contrast local scanner against the current repository

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
apiUrlUrl of your contrast instance, defaults to https://app.contrastsecurity.com/yeshttps://app.contrastsecurity.com/
apiUserNameUser name for authenticationyes
apiKeyAPI Key from user settingsyes
apiServiceKeyService Key from user settingsyes
apiOrgIdOrganization ID from user settingsyes
checksIf set, checks will be added to the current commit based on any vulnerabilities found. Requires the 'checks: write' permission. nofalse
codeQualitySet this to true to include code quality rules when executing source code scanner.nofalse
defaultBranchSet this to true or false explicitly override the default branching behviour in scan whereby scan results not on the default github branch are not saved against the main project. no
labelLabel to associate with the current scan. Defaults to the current ref e.g. refs/heads/main
memoryMemory setting passed to the underlying scan engine. Defaulted to 8gno
newSet this to true or false to only fail the action on new vulnerabilities. This defaults to true when on a non default branch.no
pathPath to scan with local scanner. Defaults to the current repository path.no
projectNameProject to associate scan with. Defaults to current github repository name e.g. Example-ORG/example-repono
resourceGroupResource group to assign newly created projects to.no
strategyUsed in conjuction with severity or checks, set this valid to fail the build based on agreggated project vulnerabilities or scan level. Valid values are "project" or "scan". Defaults to "project". noproject
severitySet this to cause the build to fail if vulnerabilities are found exceeding this severity or higher. Valid values are CRITICAL, HIGH, MEDIUM, LOW, NOTE. no
timeoutExecution timeout (in seconds) setting passed to the underlying scan engine. Defaulted to 60 minutes.no
tokenGitHub token for GitHub API requests. Defaults to GITHUB_TOKEN. yes${{ github.token }}

no outputs