actions-marketplace-validations/Contrast Security SCA

Contrast Source Composition Analysis

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Feb 26, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/contrast-security-oss_contrast-sca-action@c953b1def9b16036e6aa1775daf9030f40f80de6 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
apiKeyAn agent API key provided by Contrast (required).yes
authHeaderUser authorization credentials provided by Contrast (required).yes
orgIdThe ID of your organization in Contrast (required).yes
filePathSpecify the directory in which to search for project configuration files (required).yes
repositoryIdThe ID of your repo.no
projectGroupIdThe ID of your project Groups.no
applicationIdThe ID of your application.no
apiUrlThe name of the host. Includes the protocol section of the URL (https://). Defaults to https://ce.contrastsecurity.com. (optional)nohttps://ce.contrastsecurity.com
severityAllows user to report libraries with vulnerabilities above a chosen severity level. Values for level are high, medium or low. (Note: Use this input in combination with the fail input, otherwise the action will exit)noCRITICAL
failWhen set to true, fails the action if CVEs have been detected that match at least the severity option specified.no
ignoreDevWhen set to true, excludes developer dependencies from the results.no
outputSummaryDefaults to true. When set to true, writes the output of the audit to the GitHub Actions Summary.notrue
proxyWhen set will pass the proxy url to the contrast clino
repoUrlWhen set, will pass the optional repo url parameter to the contrast clino
repoNameWhen set, will pass the optional repo name parameter to the contrast clino
externalIdWhen set, will pass the optional external id parameter to the contrast clino
auditTimeoutSets the timeout for an audit in seconds, Default: 600 (10 minutes)no600
metadataMetadata filter to be passed to the Contrast CLI when running sarif commandno
sarifToolTypeTool type to include in the sarif file. One of SCA or ASSESS. If not specified, both will be included.no
ghasEnabledWhen set to true, will upload sarif to the GHAS integrationnotrue
legacyWhen set to true, uses the legacy audit command.no
modifierWhen set this will be added as a suffix to the output file name.no
nameContrast project name. If not specified, Contrast uses the file folder name to identify the project or creates a new projectno
resourceGroupResource group to assign newly created projects tono
commandCommand to run cli with audit/fingerprint/sarifnoaudit
namedescription
fingerprintOutput from the fingerprint command