Skip to content

Commit 411fa89

Browse files
committed
Clarify
1 parent 5b80c3a commit 411fa89

File tree

7 files changed

+15
-5
lines changed

7 files changed

+15
-5
lines changed

ant/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

archetype/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

cli/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

core/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

maven/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

src/site/markdown/general/suppression.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@ The above XML file will suppress the cpe:/a:apache:struts:2.0.0 from any file wi
2323

2424
The following shows some other ways to suppress individual findings. Note the ways to select files using either
2525

26-
- their sha1 hash (via element `<sha1>),
27-
- their package URL (via element `<packageUrl>`),
26+
- their sha1 hash (via element `<sha1>`),
27+
- their [package URL (PURL)][purl] (via element `<packageUrl>`),
2828
- their Maven like coordinates (groupId/namespace, artifactId/name and version via element `<gav>`), or
2929
- their file path (via element `<filePath>`).
3030

3131
The latter three can optionally be given as regular expression. The `<packageUrl>` value is matched against the dependency
3232
specific software identifiers (can be looked up from the report) and `<gav>` against these identifiers after they have been mapped
33-
to coordinates via `PurlIdentifier.toGav()`. The latter is not always available while the former is mandatory.
33+
to coordinates via `PurlIdentifier.toGav()`.
3434
The `<filePath>` value is matched against the OS-specific absolute file path of the according dependency
3535
(for example a path inside the local Maven repository).
3636

37-
Additionally, there are several ways to suppress vulnerabilities: individual CPEs, individual CVEs, or all vulnerabilities below a specified CVSS score. The most common
38-
would be suppressing CPEs based on the identified Package URL (PURL) - these suppression entries can be generated using the
37+
Additionally, there are several ways to suppress vulnerabilities: individual CPEs, individual CVEs, or all vulnerabilities below a specified CVSS score.
38+
39+
The most common would be suppressing CPEs based on the identified [Package URL (PURL)][purl] - these suppression entries can be generated using the
3940
HTML version of the report. The other common scenario would be to ignore all CVEs below a certain CVSS threshold.
4041

4142
```xml
@@ -177,3 +178,6 @@ Please see the appropriate configuration option in each interfaces configuration
177178
- [Gradle Plugin](../dependency-check-gradle/configuration.html)
178179
- [Ant Task](../dependency-check-ant/configuration.html)
179180
- [Jenkins Plugin](../dependency-check-jenkins/index.html)
181+
182+
183+
[purl]: https://packageurl.org/

utils/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target/

0 commit comments

Comments
 (0)