forked from triat/terraform-security-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 1014 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# action.yml
name: 'Terraform security scan'
description: 'Scan your terraform code with tfsec'
inputs:
tfsec_actions_comment:
description: 'Whether or not to comment on pull requests.'
required: false
default: true
tfsec_actions_working_dir:
description: 'Terraform working directory.'
required: false
default: '.'
tfsec_exclude:
description: 'Provide checks via , without space to exclude from run'
required: false
tfsec_version:
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)'
required: false
tfsec_output_file:
description: 'The name of the output file'
required: false
tfsec_soft_fail:
description: 'Runs checks but suppresses error code'
required: false
default: false
runs:
using: 'docker'
image: './Dockerfile'
branding:
icon: 'shield'
color: 'gray-dark'