forked from kubescape/github-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
60 lines (59 loc) · 1.79 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
49
50
51
52
53
54
55
56
57
58
59
60
name: Kubescape
description: Run Kubescape scan
# author:
inputs:
failedThreshold:
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: false
frameworks:
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
controls:
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
account:
description: |
Account-id for the SAS.
Used for custom configuration, such as frameworks, control configuration, etc.
required: false
thresholdCritical:
description: |
Threshold Critical is the number or more of critical controls that failed
and returns exit code 1
required: false
thresholdHigh:
description: |
Threshold High is the number or more of high controls that failed
and returns exit code 1
required: false
thresholdMedium:
description: |
Threshold Medium is the number or more of medium controls that failed
and returns exit code 1
required: false
thresholdLow:
description: |
Threshold Low is the number or more of low controls that failed
and returns exit code 1
required: false
format:
description: |
format is the kubescape output format
required: false
default: junit
runs:
using: docker
image: Dockerfile