-
Notifications
You must be signed in to change notification settings - Fork 15
/
trivy-config.yaml
68 lines (51 loc) · 1.03 KB
/
trivy-config.yaml
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
61
62
63
64
65
66
67
68
# Global Options
# Same as '--quiet'
# Default is false
quiet: false
# Same as '--debug'
# Default is false
debug: false
# Same as '--insecure'
# Default is false
insecure: false
# Same as '--timeout'
# Default is '5m'
timeout: 10m
# Same as '--cache-dir'
# Default is your system cache dir
cache-dir: $HOME/.cache/trivy
# Report Options
# Same as '--format'
# Default is 'table'
format: json
# Same as '--report' (available with 'trivy k8s')
# Default is all
report: summary
# Same as '--dependency-tree'
# Default is false
dependency-tree: false
# Same as '--list-all-pkgs'
# Default is false
list-all-pkgs: false
# Same as '--ignorefile'
# Default is '.trivyignore'
ignorefile: .trivyignore
# Same as '--exit-code'
# Default is 0
exit-code: 0
# Same as '--output'
# Default is empty (stdout)
output: output.json
# Same as '--severity'
# Default is all severities
severity:
- HIGH
- CRITICAL
# Scan Options
scan:
# Same as '--security-checks'
# Default depends on subcommand
security-checks:
- vuln
- config
- secret