Skip to content

Commit 005a71b

Browse files
chore(sources): explicitly set strict validation to false in Production (#2899)
This replicates staging's explicit per-source setting of strict validation to false and harmonises a few unnecessary divergences that have crept in between the two files. Part of #2191 and #2188
1 parent 5d8c55b commit 005a71b

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

source.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
human_link: 'https://errata.almalinux.org/{{ ECOSYSTEMS[1].split(":")[1] }}/{{ BUG_ID | replace(":", "-", 1) }}.html'
1313
link: 'https://github.com/AlmaLinux/osv-database/blob/master/'
1414
editable: False
15+
strict_validation: False
1516

1617
- name: 'almalinux-alea'
1718
versions_from_repo: False
@@ -26,6 +27,7 @@
2627
human_link: 'https://errata.almalinux.org/{{ ECOSYSTEMS[1].split(":")[1] }}/{{ BUG_ID | replace(":", "-", 1) }}.html'
2728
link: 'https://github.com/AlmaLinux/osv-database/blob/master/'
2829
editable: False
30+
strict_validation: False
2931

3032
- name: 'almalinux-alsa'
3133
versions_from_repo: False
@@ -40,6 +42,7 @@
4042
human_link: 'https://errata.almalinux.org/{{ ECOSYSTEMS[1].split(":")[1] }}/{{ BUG_ID | replace(":", "-", 1) }}.html'
4143
link: 'https://github.com/AlmaLinux/osv-database/blob/master/'
4244
editable: False
45+
strict_validation: False
4346

4447
- name: 'android'
4548
versions_from_repo: False
@@ -52,6 +55,7 @@
5255
ignore_git: True
5356
link: 'https://storage.googleapis.com/android-osv/'
5457
editable: False
58+
strict_validation: False
5559

5660
- name: 'bitnami'
5761
versions_from_repo: False
@@ -65,6 +69,7 @@
6569
ignore_git: False
6670
link: 'https://github.com/bitnami/vulndb/tree/main/'
6771
editable: False
72+
strict_validation: False
6873

6974
- name: 'chainguard'
7075
versions_from_repo: False
@@ -77,6 +82,7 @@
7782
db_prefix: ['CGA-']
7883
ignore_git: True
7984
link: 'https://packages.cgr.dev/chainguard/osv/'
85+
human_link: 'https://images.chainguard.dev/security/{{ BUG_ID }}'
8086
editable: False
8187
strict_validation: False
8288

@@ -93,6 +99,7 @@
9399
human_link: 'https://curl.se/docs/{{ BUG_ID | replace("CURL-", "") }}.html'
94100
link: 'https://curl.se/docs/'
95101
editable: False
102+
strict_validation: False
96103

97104
- name: 'cve-osv'
98105
versions_from_repo: True
@@ -107,6 +114,7 @@
107114
human_link: 'https://nvd.nist.gov/vuln/detail/{{ BUG_ID }}'
108115
link: 'https://storage.googleapis.com/cve-osv-conversion/'
109116
editable: False
117+
strict_validation: False
110118

111119
- name: 'debian-dla'
112120
versions_from_repo: False
@@ -121,6 +129,7 @@
121129
human_link: 'https://security-tracker.debian.org/tracker/{{ BUG_ID }}'
122130
link: 'https://storage.googleapis.com/debian-osv/'
123131
editable: False
132+
strict_validation: False
124133

125134
- name: 'debian-dsa'
126135
versions_from_repo: False
@@ -135,6 +144,7 @@
135144
human_link: 'https://security-tracker.debian.org/tracker/{{ BUG_ID }}'
136145
link: 'https://storage.googleapis.com/debian-osv/'
137146
editable: False
147+
strict_validation: False
138148

139149
- name: 'debian-dtsa'
140150
versions_from_repo: False
@@ -149,6 +159,7 @@
149159
human_link: 'https://security-tracker.debian.org/tracker/{{ BUG_ID }}'
150160
link: 'https://storage.googleapis.com/debian-osv/'
151161
editable: False
162+
strict_validation: False
152163

153164
- name: 'ghsa'
154165
versions_from_repo: False
@@ -163,6 +174,7 @@
163174
human_link: 'https://github.com/advisories/{{ BUG_ID }}'
164175
link: 'https://github.com/github/advisory-database/blob/main/'
165176
editable: False
177+
strict_validation: False
166178

167179
- name: 'go'
168180
versions_from_repo: True
@@ -177,6 +189,7 @@
177189
human_link: 'https://pkg.go.dev/vuln/{{ BUG_ID }}'
178190
link: 'https://vuln.go.dev/'
179191
editable: False
192+
strict_validation: False
180193

181194
- name: 'haskell'
182195
versions_from_repo: False
@@ -191,6 +204,7 @@
191204
link: 'https://github.com/haskell/security-advisories/blob/generated/osv-export/'
192205
editable: False
193206
repo_username: 'git'
207+
strict_validation: False
194208

195209
- name: 'malicious-packages'
196210
versions_from_repo: False
@@ -204,6 +218,7 @@
204218
ignore_git: False
205219
link: 'https://github.com/ossf/malicious-packages/blob/main/'
206220
editable: False
221+
strict_validation: False
207222

208223
- name: 'oss-fuzz'
209224
versions_from_repo: True
@@ -218,6 +233,7 @@
218233
link: 'https://github.com/google/oss-fuzz-vulns/blob/main/'
219234
editable: True
220235
repo_username: 'git'
236+
strict_validation: False
221237

222238
- name: 'psf'
223239
versions_from_repo: True
@@ -231,6 +247,7 @@
231247
ignore_git: False
232248
link: 'https://github.com/psf/advisory-database/blob/main/'
233249
editable: False
250+
strict_validation: False
234251

235252
- name: 'python'
236253
versions_from_repo: False
@@ -244,6 +261,7 @@
244261
ignore_git: False
245262
link: 'https://github.com/pypa/advisory-database/blob/main/'
246263
editable: False
264+
strict_validation: False
247265

248266
- name: 'r'
249267
versions_from_repo: False
@@ -257,6 +275,7 @@
257275
ignore_git: False
258276
link: 'https://github.com/RConsortium/r-advisory-database/blob/main/'
259277
editable: False
278+
strict_validation: False
260279

261280
- name: 'redhat'
262281
versions_from_repo: False
@@ -271,6 +290,7 @@
271290
human_link: 'https://access.redhat.com/errata/{{ BUG_ID }}'
272291
link: 'https://security.access.redhat.com/data/osv/'
273292
editable: False
293+
strict_validation: False
274294

275295
- name: 'rockylinux-rlsa'
276296
versions_from_repo: False
@@ -284,6 +304,7 @@
284304
human_link: 'https://errata.rockylinux.org/{{ BUG_ID }}'
285305
link: 'https://storage.googleapis.com/resf-osv-data/'
286306
editable: False
307+
strict_validation: False
287308

288309
- name: 'rockylinux-rxsa'
289310
versions_from_repo: False
@@ -297,6 +318,7 @@
297318
human_link: 'https://errata.rockylinux.org/{{ BUG_ID }}'
298319
link: 'https://storage.googleapis.com/resf-osv-data/'
299320
editable: False
321+
strict_validation: False
300322

301323
- name: 'rust'
302324
versions_from_repo: True
@@ -313,6 +335,7 @@
313335
link: 'https://github.com/rustsec/advisory-db/blob/osv/'
314336
editable: False
315337
repo_username: 'git'
338+
strict_validation: False
316339

317340
- name: 'suse'
318341
versions_from_repo: False
@@ -327,6 +350,7 @@
327350
human_link: 'https://www.suse.com/support/update/announcement/{{ BUG_ID.split(":")[0].split("-")[2] }}/{{ BUG_ID | replace(":", "") | lower }}/'
328351
link: 'https://ftp.suse.com/pub/projects/security/osv/'
329352
editable: False
353+
strict_validation: False
330354

331355
- name: 'ubuntu-cve'
332356
versions_from_repo: False
@@ -341,6 +365,7 @@
341365
human_link: 'https://ubuntu.com/security/{{ BUG_ID | replace("UBUNTU-", "") }}'
342366
link: 'https://github.com/canonical/ubuntu-security-notices/blob/main/'
343367
editable: False
368+
strict_validation: False
344369

345370
- name: 'ubuntu-usn'
346371
versions_from_repo: False
@@ -355,6 +380,7 @@
355380
human_link: 'https://ubuntu.com/security/notices/{{ BUG_ID }}'
356381
link: 'https://github.com/canonical/ubuntu-security-notices/blob/main/'
357382
editable: False
383+
strict_validation: False
358384

359385
- name: 'uvi'
360386
versions_from_repo: True
@@ -365,8 +391,10 @@
365391
extension: '.json'
366392
db_prefix: ['GSD-']
367393
ignore_git: False
394+
human_link: 'https://data.gsd.id/{{ BUG_ID }}'
368395
link: 'https://github.com/cloudsecurityalliance/gsd-database/blob/main/'
369396
editable: False
370397
key_path: 'OSV'
371398
repo_username: 'git'
399+
strict_validation: False
372400

source_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@
228228
# deliberately HTTPS due to lack of SSH credentials in Staging.
229229
repo_url: 'https://github.com/google/oss-fuzz-vulns.git'
230230
detect_cherrypicks: True
231+
extension: '.yaml'
231232
db_prefix: ['OSV-']
232233
ignore_git: False
233234
link: 'https://github.com/google/oss-fuzz-vulns/blob/main/'

0 commit comments

Comments
 (0)