forked from joaocpimenta/terraform-security-scan
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
31 lines (31 loc) · 954 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
# 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:
default: 'b963b27214038c3a1171633c50d92b641781f4c6'
description: 'Specify the version of tfsec to install'
required: true
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
runs:
using: 'docker'
image: './Dockerfile'
branding:
icon: 'shield'
color: 'gray-dark'