-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #156 from ministryofjustice/checkov-scan-external-…
…modules ✨ Add option to download external modules for checkov static…
- Loading branch information
Showing
2 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,48 @@ | ||
# action.yml | ||
name: 'Terraform security scan' | ||
description: 'Scan your terraform code with tfsec' | ||
name: "Terraform security scan" | ||
description: "Scan your terraform code with tfsec" | ||
inputs: | ||
scan_type: | ||
description: 'full = all tf folders, changed = tf changes, single = single folder' | ||
description: "full = all tf folders, changed = tf changes, single = single folder" | ||
required: false | ||
default: "single" | ||
comment_on_pr: | ||
description: 'Whether or not to comment on pull requests.' | ||
description: "Whether or not to comment on pull requests." | ||
required: false | ||
default: true | ||
terraform_working_dir: | ||
description: 'Terraform working directory.' | ||
description: "Terraform working directory." | ||
required: false | ||
default: '.' | ||
default: "." | ||
tfsec_exclude: | ||
description: 'Provide checks via , without space to exclude from run' | ||
description: "Provide checks via , without space to exclude from run" | ||
required: false | ||
checkov_exclude: | ||
description: 'Provide checks via , without space to exclude from run' | ||
description: "Provide checks via , without space to exclude from run" | ||
required: false | ||
checkov_external_modules: | ||
description: "Allow checkov to download and scan external modules" | ||
required: false | ||
default: false | ||
tflint_exclude: | ||
description: 'Provide checks via , without space to exclude from run' | ||
description: "Provide checks via , without space to exclude from run" | ||
required: false | ||
tflint_config: | ||
description: 'Provide a specific config for this run (including the .hcl extension), see the "tflint-configs" folder for available configs' | ||
required: false | ||
tfsec_version: | ||
description: 'Specify the version of tfsec to install' | ||
description: "Specify the version of tfsec to install" | ||
required: false | ||
tfsec_output_format: | ||
description: 'The output format: default, json, csv, checkstyle, junit, sarif (check `tfsec` for an extensive list)' | ||
description: "The output format: default, json, csv, checkstyle, junit, sarif (check `tfsec` for an extensive list)" | ||
required: false | ||
tfsec_output_file: | ||
description: 'The name of the output file' | ||
description: "The name of the output file" | ||
required: false | ||
|
||
runs: | ||
using: 'docker' | ||
image: './Dockerfile' | ||
using: "docker" | ||
image: "./Dockerfile" | ||
branding: | ||
icon: 'shield' | ||
color: 'gray-dark' | ||
icon: "shield" | ||
color: "gray-dark" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters