Commit 51cf8c8
fix: Make Trivy DB update earlier (#161)
* Make Trivy DB update earlier
With more orgs being added to proactive SCA and a trend on regular
analysis starting earlier in the day there is starting to be quite a bit
of overlap between SCA jobs and regular jobs resulting in worst analysis
times.
Trivy-db is built and published to GH Container Registry every 6 hours
(https://github.com/aquasecurity/trivy-db/blob/main/.github/workflows/cron.yml#L5)
resulting in a publishing schedule of 6:00 UTC, 12:00 UTC, 18:00 UTC and 00:00 UTC
(https://github.com/aquasecurity/trivy-db/pkgs/container/trivy-db).
With this scheduled we should be ok to run the Trivy DB update cron at
00:30 UTC with good guarantees of having fresh data.
* tests: Add new expected vulnerabilities to test results
---------
Co-authored-by: Jorge Braz <[email protected]>
Co-authored-by: André Meira <[email protected]>1 parent aef31db commit 51cf8c8
File tree
3 files changed
+50
-2
lines changed- .circleci
- docs/multiple-tests
- pattern-vulnerability-medium
- pattern-vulnerability
3 files changed
+50
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
Lines changed: 36 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
113 | 125 | | |
114 | 126 | | |
115 | 127 | | |
| |||
173 | 185 | | |
174 | 186 | | |
175 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
176 | 206 | | |
177 | 207 | | |
178 | 208 | | |
| |||
188 | 218 | | |
189 | 219 | | |
190 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
191 | 227 | | |
192 | 228 | | |
193 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
55 | 67 | | |
56 | 68 | | |
57 | 69 | | |
| |||
0 commit comments