-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge.html
269 lines (245 loc) · 9.09 KB
/
edge.html
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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>5G Blueprint Scan Report</title>
</head>
<style>
:root {
--cell-padding-vertical: 0.25em;
--cell-padding-horizontal: 0.25em;
--font-family-sans: system-ui, -apple-system, sans-serif;
}
body {
max-width: 60em;
margin: auto;
font-family: var(--font-family-sans);
}
table {
width: 100%;
border-top: 0.1em solid black;
border-bottom: 0.1em solid black;
border-collapse: collapse;
table-layout: fixed;
}
th {
text-align: left;
}
td, th {
padding-top: var(--cell-padding-vertical);
padding-bottom: var(--cell-padding-vertical);
padding-right: var(--cell-padding-horizontal);
vertical-align: top;
}
td > p {
margin: 0;
word-break: break-all;
hyphens: auto;
}
thead {
border-bottom: 0.01em solid black;
}
.numericCell {
text-align: right;
}
.controlSeverityCell {
width: 10%;
}
.controlNameCell {
width: 50%;
}
.controlRiskCell {
width: 10%;
}
.resourceSeverityCell {
width: 10%;
}
.resourceNameCell {
width: 30%;
}
.resourceURLCell {
width: 10%;
}
.resourceRemediationCell {
width: 50%;
}
.logo {
width: 25%;
float: right;
}
</style>
<body>
<img class="logo" src="https://raw.githubusercontent.com/5GSEC/kubescape/refs/heads/seran/core/pkg/resultshandling/printer/v2/pdf/logo.png">
<h1>5G Blueprint Scan Report</h1>
</br>
<h2>Summary:</h2>
<table>
<thead>
<tr>
<th>All</th>
<th>Failed</th>
<th>Skipped</th>
</tr>
</thead>
<tbody>
<tr>
<td>7</td>
<td>4</td>
<td>0</td>
</tr>
</tbody>
</table>
</br>
<h2>Details</h2>
<table>
<thead>
<tr>
<th class="controlSeverityCell">Severity</th>
<th class="controlNameCell">Control Name</th>
<th class="controlRiskCell">Failed Resources</th>
<th class="controlRiskCell">All Resources</th>
<th class="controlRiskCell">Risk Score, %</th>
</tr>
</thead>
<tbody>
<tr>
<td class="controlSeverityCell">High</td>
<td class="controlNameCell">Admission Control Policies</td>
<td class="controlRiskCell numericCell">1</td>
<td class="controlRiskCell numericCell">27</td>
<td class="controlRiskCell numericCell">4</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">High</td>
<td class="controlNameCell">Ingress/Egress from the necessary workloads</td>
<td class="controlRiskCell numericCell">4</td>
<td class="controlRiskCell numericCell">27</td>
<td class="controlRiskCell numericCell">14</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">High</td>
<td class="controlNameCell">Insecure capabilities</td>
<td class="controlRiskCell numericCell">0</td>
<td class="controlRiskCell numericCell">35</td>
<td class="controlRiskCell numericCell">0</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">High</td>
<td class="controlNameCell">Least Permissive Policies for Sensitive Assets</td>
<td class="controlRiskCell numericCell">4</td>
<td class="controlRiskCell numericCell">27</td>
<td class="controlRiskCell numericCell">14</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">High</td>
<td class="controlNameCell">Workloads with Critical vulnerabilities exposed to external traffic</td>
<td class="controlRiskCell numericCell">0</td>
<td class="controlRiskCell numericCell">0</td>
<td class="controlRiskCell numericCell">0</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">Medium</td>
<td class="controlNameCell">Allow privilege escalation</td>
<td class="controlRiskCell numericCell">4</td>
<td class="controlRiskCell numericCell">35</td>
<td class="controlRiskCell numericCell">11</td>
</tr>
</tr>
<tr>
<td class="controlSeverityCell">Medium</td>
<td class="controlNameCell">Workload with cluster takeover roles</td>
<td class="controlRiskCell numericCell">0</td>
<td class="controlRiskCell numericCell">35</td>
<td class="controlRiskCell numericCell">0</td>
</tr>
</tr>
<tbody>
</table>
</br>
<h2>Failed Resources:</h2>
</br>
<h3>Name: oai-gnb-cu-up</h3>
<p>ApiVersion: apps/v1</p>
<p>Kind: Deployment</p>
<p>Name: oai-gnb-cu-up</p>
<p>Namespace: oai-ran-cuup</p>
<table>
<thead>
<tr>
<th class="resourceSeverityCell">Severity</th>
<th class="resourceNameCell">Name</th>
<th class="resourceURLCell">Docs</th>
<th class="resourceRemediationCell">Assisted Remediation</th>
</tr>
</thead>
<tbody>
<tr>
<td class="resourceSeverityCell">High</td>
<td class="resourceNameCell">Ingress/Egress from the necessary workloads</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5g-0001.md">5G-0001</a></td>
<td class="resourceRemediationCell"> <p>There are no Network policies in place. Please apply these policies=[netpol-oran-cuup]</p> </td>
</tr>
<tr>
<td class="resourceSeverityCell">High</td>
<td class="resourceNameCell">Least Permissive Policies for Sensitive Assets</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5g-0002.md">5G-0002</a></td>
<td class="resourceRemediationCell"> <p>There are no Kubearmor policies in Place. Please apply these zero trust KSPs=[ksp-oran-cuup-zero-trust]</p> </td>
</tr>
<tr>
<td class="resourceSeverityCell">Medium</td>
<td class="resourceNameCell">Allow privilege escalation</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/c-0016.md">C-0016</a></td>
<td class="resourceRemediationCell"> <p>spec.template.spec.containers[0].securityContext.allowPrivilegeEscalation=false</p> <p>spec.template.spec.containers[0].securityContext.privileged=false</p> </td>
</tr>
<tr>
<td class="resourceSeverityCell">Medium</td>
<td class="resourceNameCell">Admission Control Policies</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5G-0003.md">5G-0003</a></td>
<td class="resourceRemediationCell"> <p>There are no admission control policies. Please apply these policies=[kyverno-oran-readonly-volume-mounts,kyverno-oran-restrict-sa-automount-sa-token]</p> </td>
</tr>
</tbody>
</table>
</div>
<h3>Name: oai-gnb-du</h3>
<p>ApiVersion: apps/v1</p>
<p>Kind: Deployment</p>
<p>Name: oai-gnb-du</p>
<p>Namespace: oai-ran-du</p>
<table>
<thead>
<tr>
<th class="resourceSeverityCell">Severity</th>
<th class="resourceNameCell">Name</th>
<th class="resourceURLCell">Docs</th>
<th class="resourceRemediationCell">Assisted Remediation</th>
</tr>
</thead>
<tbody>
<tr>
<td class="resourceSeverityCell">High</td>
<td class="resourceNameCell">Ingress/Egress from the necessary workloads</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5g-0001.md">5G-0001</a></td>
<td class="resourceRemediationCell"> <p>There are no Network policies in place. Please apply these policies=[netpol-oran-du]</p> </td>
</tr>
<tr>
<td class="resourceSeverityCell">High</td>
<td class="resourceNameCell">Least Permissive Policies for Sensitive Assets</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5g-0002.md">5G-0002</a></td>
<td class="resourceRemediationCell"> <p>There are no Kubearmor policies in Place. Please apply these zero trust KSPs=[ksp-oran-du-zero-trust]</p> </td>
</tr>
<tr>
<td class="resourceSeverityCell">Medium</td>
<td class="resourceNameCell">Admission Control Policies</td>
<td class="resourceURLCell"><a href="https://github.com/5gsec/5g-blueprint-controls/blob/main/controls/5G-0003.md">5G-0003</a></td>
<td class="resourceRemediationCell"> <p>There are no admission control policies. Please apply these policies=[kyverno-oran-readonly-volume-mounts,kyverno-oran-restrict-sa-automount-sa-token]</p> </td>
</tr>
</tbody>
</table>
</div>
</body>
</html>