Commit c7c07fc
authored
Add
* Add metrics cve command
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add ImageScanningRepository const
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add base for `stats cve` command
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add PrintCVEBySeverity method
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add severity counts
* Add slack notify and webhook URL
* Skip empty notifications
* Add Severity flag
* Add http client with timeout
* switch from logrus to fmt
* Update structure to use Release sets
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Use ecmHTTP
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Expand structs to be multiline
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Align CVE struct
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add csvHeaderCount const
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add workaround to prevent auto-linking image names
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
* Add --skip-mirrored flag
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>
---------
Signed-off-by: Rafael Breno <32229014+rafaelbreno@users.noreply.github.com>release stats cve command (#941)1 parent 0cb798f commit c7c07fc
3 files changed
Lines changed: 587 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | | - | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
| |||
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
86 | 113 | | |
87 | 114 | | |
88 | 115 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
93 | 126 | | |
94 | | - | |
| 127 | + | |
95 | 128 | | |
96 | 129 | | |
97 | 130 | | |
98 | | - | |
| 131 | + | |
99 | 132 | | |
100 | 133 | | |
101 | 134 | | |
102 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
103 | 141 | | |
104 | 142 | | |
105 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments