actions-marketplace-validations/Run terrascan with reviewdog

TODO: 🐶 Run terrascan with reviewdog on pull requests to improve code review experience.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenGITHUB_TOKENyes
working-directoryWorking directory relative to the root directory.yes
reviewdog_versionreviewdog versionnolatest
levelReport level for reviewdog [info,warning,error]noerror
reporterReporter of reviewdog command [github-check,github-pr-review].nogithub-check
filter-modeFiltering mode for the reviewdog command [added,diff_context,file,nofilter]. Default is file. nofile
fail-on-errorExit code for reviewdog when errors are found [true,false] Default is `false`. nofalse
terrascan-platformThe platform of the terrascan binary (e.g. 'Linux_i386', 'Linux_x86_64')noLinux_i386
terrascan-versionThe version of terrascan downloaded from the GitHub repositorynolatest
terrascan-config-pathconfig file pathno""
terrascan-log-levellog level (debug, info, warn, error, panic, fatal)no""
terrascan-iac-dirpath to a directory containing one or more IaC filesno""
terrascan-iac-typeiac type (helm, k8s, kustomize, terraform, tfplan)yes""
terrascan-iac-versioniac version (helm: v3, k8s: v1, kustomize: v3, terraform: v12, v13, v14, tfplan: v1)no""
terrascan-policy-pathA policy path directory NOTE: When the issue will be resolved, we will think of how to receive multiple paths. https://github.com/accurics/terrascan/issues/1079 no""
terrascan-policy-typepolicy type (all, aws, azure, gcp, github, k8s)no""
terrascan-remote-typetype of remote backend (git, s3, gcs, http, terraform-registry)no""
terrascan-remote-urlurl pointing to remote IaC repositoryno""
terrascan-scan-rulesone or more rules to scan (example: --scan-rules="ruleID1,ruleID2")no""
terrascan-severityminimum severity level of the policy violations to be reported by terrascan (HIGH, MEDIUM, LOW)no""
terrascan-skip-rulesone or more rules to skip while scanning (example: --skip-rules="ruleID1,ruleID2")no""
terrascan-verbosewill show violations with details (applicable for default output)no1
only-warnwill only warn and not error when violations are foundno""
namedescription
terrascan-resultsThe JSON object string of terrascan results
terrascan-violations-countThe number of violations
terrascan-exit-codeThe exit code of terrascan
terrascan-results-rdjsonThe JSON object string of terrascan results
reviewdog-return-codeThe exit code of reviewdog