forked from kubescape/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
48 lines (47 loc) · 1.6 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
44
45
46
47
48
name: Kubescape
description: Run Kubescape scan
# author:
inputs:
args:
description: |
Arguments to be passed to kubescape scan. The following
arguments are supported -
-f, --format - Output format. Supported formats:
"pretty-printer"/"json"/"junit"/"prometheus"
(default "pretty-printer")
-o, --output - Output file. Print output to file and not stdout
-s, --silent - Silent progress messages
--verbose - Display all of the input resources and not only
failed resources
--logger - Logger level. Supported: debug/info/success/warning/
error/fatal (default "info")
required: false
threshold:
description: |
Failure threshold is the percent above which the command fails and
returns exit code 1 (default 0 i.e, action fails if any control fails)
default: 0
required: false
files:
description: |
Path to the configuration yaml to scan
required: true
framework:
description: |
List of all frameworks to scan. Run kubescape list frameworks with
the Kubescape CLI to get a list of all frameworks. Either frameworks
have to be specified or controls.
required: false
control:
description: |
List of all controls to scan. Run kubescape list controls with the
Kubescape CLI to get a list of all controls. Either frameworks
have to be specified or controls.
required: false
exceptions:
description: |
Path to the json file containing exceptions.
required: false
runs:
using: docker
image: Dockerfile