blackduck-inc/Black Duck Security Scan

Find and fix software weaknesses and vulnerabilities during development, before you ship or deploy!

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: blackduck-inc/black-duck-security-scan@3fe94e4b3c3947bd21ba46b7da255d6d3638b325 # v2.10.0

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

namedescriptionrequireddefault
coverity_urlCoverity urlno
coverity_userCoverity user nameno
coverity_passwordCoverity passwordno
coverity_passphraseCoverity password (deprecated, use coverity_password instead)no
coverity_project_nameCoverity Project Nameno
coverity_stream_nameCoverity Stream Nameno
coverity_install_directoryCoverity Install Directoryno
coverity_policy_viewCoverity Policy Viewno
coverity_localFlag to enable/disable to run coverity scan locally.no
coverity_versionIf provided, Black Duck Security Action will download specific version of coverity thin client to use.no
coverity_prComment_enabledFlag to enable pull request comments for new issues found in the Coverity scanno
coverity_prComment_impactsList of impacts for which the Coverity PR Comments should be created. Supported values: HIGH, MEDIUM, LOW, AUDITno
coverity_waitForScanSpecifies if the workflow should wait for the analysis to complete. Default value: true. If set to false, post merge workflows like PR comment, Fix PR, SARIF etc will not be applicable.no
coverity_build_commandBuild command for Coverityno
coverity_clean_commandClean command for Coverityno
coverity_config_pathCoverity config file path (.yaml/.yml/.json)no
coverity_argsAdditional Coverity Arguments separated by spaceno
bridge_coverity_versionIf provided, Black Duck Security Action will download specific version of coverity thin client to use.no
polaris_access_tokenPolaris Access Tokenno
polaris_application_namePolaris Application Nameno
polaris_project_namePolaris Project Nameno
polaris_assessment_typesPolaris Assess Types SAST/SCAno
polaris_server_urlPolaris Server URLno
polaris_prComment_enabledFlag to enable pull request comments based on Polaris scan resultno
polaris_prComment_severitiesList of severities for which the PR Comments should be createdno
polaris_triagePolaris Triageno
polaris_branch_namePolaris branch nameno
polaris_branch_parent_namePolaris parent branch nameno
polaris_test_sca_typePolaris SCA test type (SCA-SIGNATURE, SCA-PACKAGE, SCA-BINARY)no
polaris_artifactToUploadPath to a binary/archive/container file to analyze. This is required when using SCA-BINARY or SCA-CONTAINER as the SCA Test Type.no
polaris_container_nameContainer name for Polaris SCA Container scan. Required when polaris_test_sca_type is set to SCA-CONTAINER.no
polaris_test_sast_typePolaris test type to trigger sigma rapid scan or full scanno
polaris_test_sca_locationPolaris SCA test locationno
polaris_test_sast_locationPolaris SAST test locationno
polaris_reports_sarif_createFlag to enable/disable Polaris SARIF report generationno
polaris_reports_sarif_file_pathFile path including file name where Polaris SARIF report should be createdno
polaris_reports_sarif_severitiesIndicates what SAST/SCA issues severity categories to include in Polaris SARIF file reportno
polaris_reports_sarif_groupSCAIssuesFlag to enable/disable Component-Version grouping for SCA Issues in Polaris SARIF report rules sectionno
polaris_reports_sarif_issue_typesEnum to indicate which assessment issues type to include in Polaris SARIF file reportno
polaris_upload_sarif_reportFlag to enable/disable uploading of Polaris SARIF report to GitHub Advanced Securityno
polaris_waitForScanSpecifies if the workflow should wait for the analysis to complete. Default value: true. If set to false, post merge workflows like PR comment, Fix PR, SARIF etc will not be applicable.no
polaris_assessment_modeThe test mode type of this scanno
polaris_externalIssues_createPolaris External Issues Createno
polaris_externalIssues_typesPolaris External Issues Typesno
polaris_externalIssues_severitiesPolaris External Issues severitiesno
polaris_externalIssues_groupSCAIssuesPolaris External Issues groupSCAIssuesno
polaris_externalIssues_maxCountPolaris External Issues maxCountno
project_directoryThe project source directory. Defaults to repository root directory. Set this to specify a custom folder that is other than repository rootno
project_source_archiveThe zipped source file path. It overrides the project directory settingno
project_source_preserveSymLinksFlag indicating whether to preserve symlinks in the source zipno
project_source_excludesA list of git ignore pattern strings that indicate the files need to be excluded from the zip fileno
bridgecli_install_directoryBridge CLI Install Directoryno
bridgecli_download_urlURL to download bridge fromno
blackducksca_urlURL for blackduck hubno
blackducksca_tokenAPI token to access blackduckno
detect_install_directoryDirectory to find or install detectno
blackducksca_scan_fullScan Mode. (true for intelligent scan & false for rapid scan)no
blackducksca_scan_failure_severitiesIf provided, Black Duck will break the build if any issues produced match one of the given severitiesno
blackducksca_fixpr_enabledIf set as true, separate Fix PRs will be created if vulnerability is found after scanno
blackducksca_fixpr_maxCountMaximum number of Pull Requests to be created that violate policiesno
blackducksca_fixpr_filter_severitiesIf provided, Fix PRs will be created only for given severitiesno
blackducksca_fixpr_useUpgradeGuidanceFlag to enable long term upgrade guidanceno
bridgecli_download_versionIf provided, Black Duck Security Action will configure the version of Bridgeno
blackducksca_prComment_enabledFlag to enable pull request comments for new issues found in the Black Duck scanno
blackducksca_reports_sarif_createFlag to enable/disable Black Duck SARIF report generationno
blackducksca_reports_sarif_file_pathFile path including file name where Black Duck SARIF report should be createdno
blackducksca_reports_sarif_severitiesIndicates what SAST/SCA issues severity categories to include in Black Duck SARIF file reportno
blackducksca_reports_sarif_groupSCAIssuesFlag to enable/disable Component-Version grouping for SCA Issues in Black Duck SARIF report rules sectionno
blackducksca_upload_sarif_reportFlag to enable/disable uploading of Black Duck SARIF report to GitHub Advanced Securityno
blackducksca_waitForScanSpecifies if the workflow should wait for the analysis to complete. Default value: true. If set to false, post merge workflows like PR comment, Fix PR, SARIF etc will not be applicable.no
detect_search_depthNumber indicating the search depth in the source directoryno
detect_argsAdditional Black Duck Arguments separated by spaceno
detect_config_pathBlack Duck config file path (.properties/.yml)no
blackducksca_policy_badges_createTo enable creation of badges on the GitHub repositoryno
blackducksca_policy_badges_maxCountTo limit number of badges to be displayed on the GitHub repositoryno
blackducksca_externalIssues_createBlack Duck SCA External Issues Createno
blackducksca_externalIssues_severitiesBlack Duck SCA External Issues severitiesno
blackducksca_externalIssues_groupSCAIssuesBlack Duck SCA External Issues groupSCAIssuesno
blackducksca_externalIssues_maxCountBlack Duck SCA External Issues maxCountno
srm_urlSRM Urlno
srm_apikeySRM Api Keyno
srm_assessment_typesSRM Assessment Typesno
srm_project_nameSRM project nameno
srm_branch_nameSRM branch nameno
srm_project_idSRM branch Idno
srm_branch_parentSRM branch parentno
srm_waitForScanSpecifies if the workflow should wait for the analysis to complete. Default value: true. If set to false, post merge workflows like PR comment, Fix PR, SARIF etc will not be applicable.no
coverity_execution_pathCoverity execution pathno
detect_execution_pathBlack Duck execution pathno
github_tokenGithub token to be used for git related rest operationno
include_diagnosticsTo include diagnostics info and export as zipno
diagnostics_retention_daysNumber of days to keep the diagnostics files downloadableno
bridge_network_airgapIf provided, Black Duck Security Action will be using local network to download and execute bridge .no
network_airgapIf provided, Black Duck Security Action will be using local network to download and execute bridge .no
polaris_policy_badges_createTo enable creation of badges on the GitHub repository for polarisno
polaris_policy_badges_maxCountTo limit number of badges to be displayed on the GitHub repository for polarisno
polaris_fixpr_enabledEnable automatic fix pull request creation for Polaris SCA vulnerabilitiesno
polaris_fixpr_maxCountMaximum number of fix PRs to create on a branch. Default: 5no
polaris_fixpr_useUpgradeGuidanceUpgrade guidance preference. Values: SHORT_TERM, LONG_TERM, or SHORT_TERM,LONG_TERM. Default: SHORT_TERM,LONG_TERMno
polaris_fixpr_filter_severitiesComma-separated list of severities (CRITICAL, HIGH, MEDIUM, LOW). Default: CRITICAL,HIGHno
mark_build_statusSpecify the build status if policy violating issues are found.nofailure
network_ssl_cert_fileFile path to configure the HttpClient to accept a self-signed certificate.no
network_ssl_trustAllBoolean value to trust all certificates.no
namedescription
statusThe numeric exit code returned by the Black Duck Security Scan.