forked from aquasecurity/tfsec-sarif-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (41 loc) · 1.2 KB
/
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
35
36
37
38
39
40
41
42
43
name: "Run tfsec with sarif upload"
description: "Run tfsec against terraform code base and upload the sarif output to the github repo"
author: "Owen Rumney"
inputs:
working_directory:
description: |
Directory to run the action on, from the repo root.
Default is . ( root of the repository)
default: "."
required: false
sarif_file:
description: The path to write the sarif report, defaults to tfsec.sarif
default: tfsec.sarif
required: false
tfvars_file:
description: The tfvars file to use for the scan
required: false
tfsec_version:
description: The version of tfsec to use for the scan, defaults to latest
default: latest
required: false
config_file:
description: The path to the config file. (eg. ./tfsec.yml)
required: false
tfsec_args:
description: |
Space seperated args specified here will be added during tfsec execution.
(eg. --verbose)
required: false
full_repo_scan:
description: Scan the entire repository for Terraform issues
required: false
outputs:
tfsec-return-code:
description: "tfsec command return code"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "search"
color: "gray-dark"