Commit 6403029
committed
feat(vul): show number of fixable vulnerabilities
This commit is addint a column to the vulnerabilities count where we
count the number of fixable vulnerabilities, example:
```
$ lacework vulnerability report sha256:1234e0a882a0f3faa26d8d5c42f9800b4797ef13d9418037b986a7a41c9df51d
CONTAINER IMAGE DETAILS | VULNERABILITIES
------------------------------------------------------------------------------------------+---------------------------------
ID sha256:1234e0a882a0f3faa26d8d5c42f9800b4797ef13d9418037b986a7a41c9df51d | SEVERITY COUNT FIXABLE
Digest sha256:1234836d144092bc9cc2b6d6ce98d9ebf1d81342cd6e0141a860c6339266e27f | -----------+-------+----------
Registry index.docker.io | Critical 12 12
Repository example/repo | High 21 15
Size 104.3 MB | Medium 59 44
Created At 2018-02-12T00:00:00+0000 | Low 61 28
Tags latest, v1.2.32 | Info 87 18
|
```
Signed-off-by: Salim Afiune Maya <[email protected]>1 parent 494d8d8 commit 6403029
2 files changed
+36
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
177 | 201 | | |
178 | 202 | | |
179 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| |||
326 | 329 | | |
327 | 330 | | |
328 | 331 | | |
329 | | - | |
| 332 | + | |
330 | 333 | | |
331 | 334 | | |
332 | 335 | | |
| |||
0 commit comments