-
Notifications
You must be signed in to change notification settings - Fork 15
/
checks-definition.json
238 lines (238 loc) · 5.95 KB
/
checks-definition.json
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
[
{
"checkId": "DEV-1",
"description": "Implement a proper liveness probe"
},
{
"checkId": "DEV-2",
"description": "Implement a proper readiness/startup probe"
},
{
"checkId": "DEV-2B",
"description": "Implement a proper startup probes"
},
{
"checkId": "DEV-3",
"description": "Implement a proper prestop hook"
},
{
"checkId": "DEV-4",
"description": "Run more than one replica for your deployments"
},
{
"checkId": "DEV-5",
"description": "Apply tags to all resources"
},
{
"checkId": "DEV-6",
"description": "Implement autoscaling of your applications"
},
{
"checkId": "DEV-7",
"description": "Store secrets in azure key vault"
},
{
"checkId": "DEV-8",
"description": "Implement pod identity"
},
{
"checkId": "DEV-9",
"description": "Use kubernetes namespaces"
},
{
"checkId": "DEV-10",
"description": "Setup resource requests and limits on containers"
},
{
"checkId": "DEV-11",
"description": "Specify security context for pods or containers"
},
{
"checkId": "DEV-12",
"description": "Configure pod disruption budgets"
},
{
"checkId": "IMG-1",
"description": "Define image security best practices"
},
{
"checkId": "IMG-2",
"description": "Scan container images during CI/CD pipelines"
},
{
"checkId": "IMG-3",
"description": "Allow pulling containers only from allowed registries"
},
{
"checkId": "IMG-4",
"description": "Enable runtime security for containerized applications"
},
{
"checkId": "IMG-5",
"description": "Configure image pull RBAC for azure container registry"
},
{
"checkId": "IMG-6",
"description": "Isolate azure container registries"
},
{
"checkId": "IMG-7",
"description": "Utilize minimal base images"
},
{
"checkId": "IMG-8",
"description": "Forbid the use of privileged containers"
},
{
"checkId": "CSP-1",
"description": "Logically isolate the cluster"
},
{
"checkId": "CSP-2",
"description": "Isolate the Kubernetes control plane"
},
{
"checkId": "CSP-3",
"description": "Enable Azure AD integration"
},
{
"checkId": "CSP-4",
"description": "Enable cluster autoscaling"
},
{
"checkId": "CSP-5",
"description": "Ensure nodes are correctly sized"
},
{
"checkId": "CSP-6",
"description": "Create a process for base image updates"
},
{
"checkId": "CSP-7",
"description": "Ensure the Kubernetes dashboard is not installed"
},
{
"checkId": "CSP-8",
"description": "Use system and user node pools"
},
{
"checkId": "CSP-9",
"description": "Enable Azure Policy"
},
{
"checkId": "CSP-10",
"description": "Enable Azure RBAC"
},
{
"checkId": "DR-1",
"description": "Ensure you can perform a whitespace deployment"
},
{
"checkId": "DR-2",
"description": "Use availability zones for node pools"
},
{
"checkId": "DR-3",
"description": "Plan for a multi-region deployment"
},
{
"checkId": "DR-4",
"description": "Use Azure traffic manager for cross-region traffic"
},
{
"checkId": "DR-5",
"description": "Create a storage migration plan"
},
{
"checkId": "DR-6",
"description": "Guarantee SLA for the master control plane"
},
{
"checkId": "DR-7",
"description": "Container registry has geo-replication"
},
{
"checkId": "STOR-1",
"description": "Choose the right storage type"
},
{
"checkId": "STOR-2",
"description": "Size nodes for storage needs"
},
{
"checkId": "STOR-3",
"description": "Dynamically provision volumes when applicable"
},
{
"checkId": "STOR-4",
"description": "Secure and back up your data"
},
{
"checkId": "STOR-5",
"description": "Remove service state from inside containers"
},
{
"checkId": "NET-1",
"description": "Choose an appropriate network model"
},
{
"checkId": "NET-2",
"description": "Plan IP addressing carefully"
},
{
"checkId": "NET-3",
"description": "Distribute ingress traffic"
},
{
"checkId": "NET-4",
"description": "Secure exposed endpoints with a Web Application Firewall (WAF)"
},
{
"checkId": "NET-5",
"description": "Dont expose ingress on public internet if not necessary"
},
{
"checkId": "NET-6",
"description": "Control traffic flow with network policies"
},
{
"checkId": "NET-7",
"description": "Route egress traffic through a firewall"
},
{
"checkId": "NET-8",
"description": "Do not expose worker nodes to public internet"
},
{
"checkId": "NET-9",
"description": "Utilize a service mesh (optional)"
},
{
"checkId": "NET-10",
"description": "Configure distributed tracing"
},
{
"checkId": "CSM-1",
"description": "Keep Kubernetes version up to date"
},
{
"checkId": "CSM-2",
"description": "Keep nodes up to date and patched"
},
{
"checkId": "CSM-3",
"description": "Monitor cluster security using Azure Security Center"
},
{
"checkId": "CSM-4",
"description": "Provision a log aggregation tool"
},
{
"checkId": "CSM-5",
"description": "Enable master node logs"
},
{
"checkId": "CSM-6",
"description": "Collect metrics"
}
]