Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Commit 8b8d9c6

Browse files
authored
Update README.md
1 parent 8c6831e commit 8b8d9c6

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

+15-15
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ directly in the specified package.
263263

264264
```
265265
audit {
266-
exclusion = {
267-
packages: [ 'org.dependency:thelibrary:1.0.0' ]
266+
exclusion {
267+
packages = [ 'org.dependency:thelibrary:1.0.0' ]
268268
}
269269
}
270270
```
@@ -274,8 +274,8 @@ directly in the specified package.
274274

275275
```
276276
audit {
277-
exclusion = {
278-
packages: [ 'org.dependency:thelibrary' ]
277+
exclusion {
278+
packages = [ 'org.dependency:thelibrary' ]
279279
}
280280
}
281281
```
@@ -285,8 +285,8 @@ packages. This will ignore *all instances* of this vulnerability in any package.
285285

286286
```
287287
audit {
288-
exclusion = {
289-
id: [ '1234567890' ]
288+
exclusion {
289+
id = '96a6fc01-c9c1-4098-94e5-c30f4052a3d4'
290290
}
291291
}
292292
```
@@ -305,9 +305,9 @@ package will still report the vulnerability.
305305

306306
```
307307
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'
311311
}
312312
}
313313
```
@@ -327,9 +327,9 @@ package will still report the vulnerability.
327327

328328
```
329329
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'
333333
}
334334
}
335335
```
@@ -350,9 +350,9 @@ The vulnerability will still be reported if:
350350

351351
```
352352
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'
356356
}
357357
}
358358
```

0 commit comments

Comments
 (0)