@@ -263,8 +263,8 @@ directly in the specified package.
263
263
264
264
```
265
265
audit {
266
- exclusion = {
267
- packages: [ 'org.dependency:thelibrary:1.0.0' ]
266
+ exclusion {
267
+ packages = [ 'org.dependency:thelibrary:1.0.0' ]
268
268
}
269
269
}
270
270
```
@@ -274,8 +274,8 @@ directly in the specified package.
274
274
275
275
```
276
276
audit {
277
- exclusion = {
278
- packages: [ 'org.dependency:thelibrary' ]
277
+ exclusion {
278
+ packages = [ 'org.dependency:thelibrary' ]
279
279
}
280
280
}
281
281
```
@@ -285,8 +285,8 @@ packages. This will ignore *all instances* of this vulnerability in any package.
285
285
286
286
```
287
287
audit {
288
- exclusion = {
289
- id: [ '1234567890' ]
288
+ exclusion {
289
+ id = '96a6fc01-c9c1-4098-94e5-c30f4052a3d4'
290
290
}
291
291
}
292
292
```
@@ -305,9 +305,9 @@ package will still report the vulnerability.
305
305
306
306
```
307
307
audit {
308
- exclusion = {
309
- packages: [ 'org.dependency:thelibrary:1.0.0' ]
310
- id: [ '1234567890' ]
308
+ exclusion {
309
+ packages = [ 'org.dependency:thelibrary:1.0.0' ]
310
+ id = '96a6fc01-c9c1-4098-94e5-c30f4052a3d4'
311
311
}
312
312
}
313
313
```
@@ -327,9 +327,9 @@ package will still report the vulnerability.
327
327
328
328
```
329
329
audit {
330
- exclusion = {
331
- packages: [ 'org.dependency:thelibrary' ]
332
- id: [ '1234567890' ]
330
+ exclusion {
331
+ packages = [ 'org.dependency:thelibrary' ]
332
+ vid = '96a6fc01-c9c1-4098-94e5-c30f4052a3d4'
333
333
}
334
334
}
335
335
```
@@ -350,9 +350,9 @@ The vulnerability will still be reported if:
350
350
351
351
```
352
352
audit {
353
- exclusion = {
354
- packages: [ 'org.parent.package:theParent', 'org.dependency:vulnerablePackage ]
355
- id: [ '1234567890' ]
353
+ exclusion {
354
+ packages = [ 'org.parent.package:theParent', 'org.dependency:vulnerablePackage ]
355
+ vid '96a6fc01-c9c1-4098-94e5-c30f4052a3d4'
356
356
}
357
357
}
358
358
```
0 commit comments