forked from aquasecurity/tfsec-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
41 lines (40 loc) · 1.11 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
name: "tfsec action"
description: "Runs tfsec and outputs any failures"
author: "[email protected]"
inputs:
working_directory:
required: false
description: |
Directory to run the action on, from the repo root.
Default is . (root of the repository)
default: "."
version:
required: false
description: The version of tfsec to use, defaults to latest
default: latest
format:
required: false
description: the format of the output
default: default
additional_args:
required: false
description: |
Space separated args specified here will be added during tfsec execution.
(eg. --force-all-dirs --verbose)
soft_fail:
required: false
description: If set to `true` the action step won't break the build
github_token:
description: |
GitHub token used for making authenticated requests to the GitHub API,
which helps avoid rate limiting
required: false
outputs:
tfsec-return-code:
description: "tfsec command return code"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: "git-pull-request"
color: "purple"