bridgecrewio/Bridgecrew Github Action

Find and fix security and compliance issues in infrastructure as code, open source packages, container images, and CI/CD configurations using Bridgecrew Action

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Mar 18, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bridgecrewio/bridgecrew-action@e388196ade022d4c6f28c368c4428b05e4f5d33a # v1.177.2

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

namedescriptionrequireddefault
fileFile with infrastructure code or packages to scanno
directorydirectory with infrastructure code to scanno.
checkRun scan only on a specific check identifier (comma separated)no
skip_checkRun scan on all checks but a specific check identifier (comma separated)no
compactDo not display code blocks in outputno
quietdisplay only failed checksno
api-keyEnvironment variable name of the Bridgecrew API key from Bridgecrew appno
use_enforcement_rulesUse the Enforcement rules configured in the platform for hard / soft fail logic. See checkov help text for more details on the nuances of this option.no
skip_results_uploadDo not upload scan results to the platform to view in the console. Results are only available locally. If you use the --support flag, logs will still get uploaded.no
enable_secrets_scan_all_filesScan all files for secretsno
soft_faildo not return an error code if there are failed checksno
frameworkrun only on a specific infrastructureno
external_checks_dirscomma separated list of external (custom) checks directoriesno
external_checks_reposcomma separated list of external (custom) checks repositoriesno
output_formatThe format of the output. cli, json, junitxml, github_failed_only, or sarifnosarif
output_file_pathPath and name for output file.no
download_external_modulesdownload external terraform modules from public git repositories and terraform registry:true, falseno
log_levellog levelnoWARNING
config_filecheckov configuration fileno
baselinePath to a .checkov.baseline file to compare. Report will include only failed checks that are not in the baselineno
soft_fail_onDo not return an error code only for specific check identifiers (comma separated)no
hard_fail_onReturn an error code only for specific check identifiers (comma separated)no
container_userSet the username or UID used and optionally the groupname or GID for the action to run underno0
docker_imageName of the docker image with the tags. Only works with an API and Dockerfile pathno
dockerfile_pathPath to the Dockerfile of the scanned docker imageno
var_fileVariable files to load in addition to the default files. Currently only supported for source Terraform (.tf file), and Helm chart scans. Requires using --directory, not --file.no
github_patEnvironment variable name for a Github personal access token for scanning external modules sourced from private repositoriesno
tfc_tokenEnvironment variable name for a Terraform Cloud token for scanning external modules sourced from private registriesno
vcs_base_urlEnvironment variable name for the base url of a self hosted VCS with external modules. To be used with vcs_username and vcs_tokenno
vcs_usernameEnvironment variable name for the username for basic auth against a self hosted VCS with external modules. To be used with vcs_base_url and vcs_tokenno
vcs_tokenEnvironment variable name for the password (personal access token) for basic auth against a self hosted VCS with external modules. To be used with vcs_base_url and vcs_usernameno
bitbucket_tokenEnvironment variable name for a Bitbucket access token to scan external modules sourced from a private Bitbucket repositoryno
bitbucket_app_passwordEnvironment variable name for a Bitbucket app password to perform basic auth inorder to scan external modules sourced from a private Bitbucket repository. To be used with bitbucket_usernamno
bitbucket_usernameEnvironment variable name for a Bitbucket username to perform basic auth inorder to scan external modules sourced from a private Bitbucket repository. To be used with bitbucket_app_passwordno
repo_root_for_plan_enrichmentDirectory containing the hcl code used to generate a given plan file. Use with `file`no
policy_metadata_filtercomma separated key:value string to filter policies based on Prisma Cloud policy metadata. See https://prisma.pan.dev/api/cloud/cspm/policy#operation/get-policy-filters-and-options for information on allowed filters. Format: policy.label=test,cloud.type=awsno
namedescription
resultsThe results from the scan