bearer/Bearer Action

Bearer is a free and open SAST tool that analyzes your source code to help find and fix security and privacy risks.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Apr 26, 2024
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: bearer/bearer-action@828eeb928ce2f4a7ca5ed57fb8b59508cb8c79bc # v2

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

namedescriptionrequireddefault
versionSpecify the Bearer version to use. This must match a Bearer release name.no""
scannerSpecify the comma separated scanners e.g. --scanner secrets,sastno""
config-fileconfiguration file pathno""
bearer-ignore-filebearer.ignore file pathno""
only-ruleSpecify the comma-separated ids of the rules you would like to run. Skips all other rules.no""
skip-ruleSpecify the comma-separated ids of the rules you would like to skip. Runs all other rules.no""
skip-pathSpecify the comma separated files and directories to skip. Supports * syntax, e.g. --skip-path users/*.go,users/admin.sqlno""
exclude-fingerprintSpecify the comma-separated fingerprints of the findings you would like to exclude from the report.no""
severitySpecify which severities are included in the report as a comma separated stringno""
formatSpecify which format to use for the report (json, yaml, sarif, gitlab-sast)no""
outputSpecify where to store the reportno""
api-keyFor use with Bearer Cloudno""
diffEnable differential scanning. Only supported for pull request eventsnofalse
quietSuppress non-essential messagesno""
hide-progress-barHide progress bar from outputnotrue
exit-codeForces the exit-code when errors are reportedno""
pathThe path to scanno.
namedescription
rule_breachesDetails of any rule breaches that occur
exit_codeexit code from binary