-
Notifications
You must be signed in to change notification settings - Fork 1
/
trivy-secret.yaml
215 lines (207 loc) · 5.39 KB
/
trivy-secret.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
rules:
##################
# UID2 Admin Key #
##################
- id: uid2-admin-key-test
category: uid2
title: UID2 - Admin Key - Test
severity: CRITICAL
keywords:
- UID2-A-T
regex: UID2-A-T-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-admin-key-integ
category: uid2
title: UID2 - Admin Key - Integ
severity: CRITICAL
keywords:
- UID2-A-I
regex: UID2-A-I-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-admin-key-prod
category: uid2
title: UID2 - Admin Key - Prod
severity: CRITICAL
keywords:
- UID2-A-P
regex: UID2-A-P-(?P<secret>.{6}\..{38})
secret-group-name: secret
###################
# UID2 Client Key #
###################
- id: uid2-client-key-test
category: uid2
title: UID2 - Client Key - Test
severity: CRITICAL
keywords:
- UID2-C-T
regex: UID2-C-T-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-client-key-integ
category: uid2
title: UID2 - Client Key - Integ
severity: CRITICAL
keywords:
- UID2-C-I
regex: UID2-C-I-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-client-key-prod
category: uid2
title: UID2 - Client Key - Prod
severity: CRITICAL
keywords:
- UID2-C-P
regex: UID2-C-P-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
#####################
# UID2 Operator Key #
#####################
- id: uid2-operator-key-test
category: uid2
title: UID2 - Operator Key - Test
severity: CRITICAL
keywords:
- UID2-O-T
regex: UID2-O-T-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-operator-key-integ
category: uid2
title: UID2 - Operator Key - Integ
severity: CRITICAL
keywords:
- UID2-O-I
regex: UID2-O-I-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: uid2-operator-key-prod
category: uid2
title: UID2 - Operator Key - Prod
severity: CRITICAL
keywords:
- UID2-O-P
regex: UID2-O-P-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
########################################
# UID2 Client Side Keypair Private Key #
########################################
- id: uid2-client-side-keypair-private-key-test
category: uid2
title: UID2 - Client Side Keypair Private Key - Test
severity: CRITICAL
keywords:
- UID2-Y-T
regex: UID2-Y-T-(?P<secret>.{92})
secret-group-name: secret
- id: uid2-client-side-keypair-private-key-integ
category: uid2
title: UID2 - Client Side Keypair Private Key - Integ
severity: CRITICAL
keywords:
- UID2-Y-I
regex: UID2-Y-I-(?P<secret>.{92})
secret-group-name: secret
- id: uid2-client-side-keypair-private-key-prod
category: uid2
title: UID2 - Client Side Keypair Private Key - Prod
severity: CRITICAL
keywords:
- UID2-Y-P
regex: UID2-Y-P-(?P<secret>.{92})
secret-group-name: secret
##################
# EUID Admin Key #
##################
- id: euid-admin-key-test
category: euid
title: EUID - Admin Key - Test
severity: CRITICAL
keywords:
- EUID-A-T
regex: EUID-A-T-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-admin-key-integ
category: euid
title: EUID - Admin Key - Integ
severity: CRITICAL
keywords:
- EUID-A-I
regex: EUID-A-I-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-admin-key-prod
category: euid
title: EUID - Admin Key - Prod
severity: CRITICAL
keywords:
- EUID-A-P
regex: EUID-A-P-(?P<secret>.{6}\..{38})
secret-group-name: secret
###################
# EUID Client Key #
###################
- id: euid-client-key-test
category: euid
title: EUID - Client Key - Test
severity: CRITICAL
keywords:
- EUID-C-T
regex: EUID-C-T-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-client-key-integ
category: euid
title: EUID - Client Key - Integ
severity: CRITICAL
keywords:
- EUID-C-I
regex: EUID-C-I-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-client-key-prod
category: euid
title: EUID - Client Key - Prod
severity: CRITICAL
keywords:
- EUID-C-P
regex: EUID-C-P-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
#####################
# EUID Operator Key #
#####################
- id: euid-operator-key-test
category: euid
title: EUID - Operator Key - Test
severity: CRITICAL
keywords:
- EUID-O-T
regex: EUID-O-T-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-operator-key-integ
category: euid
title: EUID - Operator Key - Integ
severity: CRITICAL
keywords:
- EUID-O-I
regex: EUID-O-I-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
- id: euid-operator-key-prod
category: euid
title: EUID - Operator Key - Prod
severity: CRITICAL
keywords:
- EUID-O-P
regex: EUID-O-P-[0-9]+-(?P<secret>.{6}\..{38})
secret-group-name: secret
disable-allow-rules:
- tests
- examples
- vendor
- usr-dirs
- locale-dir
- markdown
- node.js
- golang
- python
- rubygems
- wordpress
- anaconda-log
allow-rules:
- id: skip-localstack-kms-seed
description: Skip localstack KMS seed files
path: /*/localstack/kms/seed.yaml