datadog/Deploy Supply Chain Firewall

Install Datadog's Supply Chain Firewall (SCFW) and configure it to transparently intercept supported package manager commands (npm, pip, poetry) for all subsequent steps in the job.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionThe version of SCFW to install. Use "latest" for the most recent release (default), or pin to a specific version (e.g., "0.7.0"). nolatest
package-managersComma-separated list of the package managers whose commands should be inspected. Supported values: pip, npm, poetry. Defaults to all three. nonpm,pip,poetry
error-on-blockWhen "true" (default), blocked package installations cause the step to exit with a non-zero code, failing the workflow. Set to "false" to allow the workflow to continue even when installations are blocked. notrue
dd-api-keyDatadog API key for forwarding firewall events to the Datadog HTTP API. Treat this value as a secret. no""
dd-app-keyDatadog application key. Required when using dd-codesec-logger. Treat this value as a secret. no""
dd-api-loggerWhen "true", enables SCFW's Datadog HTTP API logger (sets SCFW_DD_API_LOGGER_ENABLED). Requires dd-api-key to be set. nofalse
dd-codesec-loggerWhen "true", enables SCFW's Datadog Code Security logger (sets SCFW_DD_CODESEC_LOGGER_ENABLED). Requires both dd-api-key and dd-app-key to be set. nofalse
dd-siteDatadog site parameter specifying the data center where the user's Datadog org is hosted (e.g., datadoghq.eu, us3.datadoghq.com). Used by both dd-api-logger and dd-codesec-logger. nodatadoghq.com
dd-log-levelControls which SCFW logs are forwarded to Datadog. "ALLOW" causes allowed and blocked package manager commands to be logged; "BLOCK" causes only blocked commands to be logged. noALLOW
scfw-homeDirectory for SCFW's local cache (verifier data). Defaults to a temporary directory when not specified. Set this to a cached directory to speed up verifier data fetches across runs. no""
on-warningAction to take when SCFW finds only warning-level issues: "ALLOW" to proceed with installation, "BLOCK" to reject it. In non-interactive environments like CI, SCFW defaults to "BLOCK" when not specified. no""
package-minimum-ageMinimum age in hours that a package must have before SCFW allows its installation. Helps guard against dependency confusion and typosquatting attacks using newly published packages. Defaults to 24 when not specified. no""
dd-envDatadog environment tag attached to all forwarded firewall events (sets DD_ENV). Defaults to "ci" when not specified. noci
dd-log-attributesA JSON object of custom attributes to attach to all forwarded Datadog log events (sets SCFW_DD_LOG_ATTRIBUTES). Example: '{"team":"security","repo":"my-repo"}'. no""
namedescription
scfw-versionThe installed version of SCFW.