public static class VulnerabilityAuditConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VulnerabilityAuditConfiguration |
build() |
VulnerabilityAuditConfiguration.Builder |
copy(VulnerabilityAuditConfiguration model) |
VulnerabilityAuditConfiguration.Builder |
exclusions(List<String> exclusions)
A vulnerable application dependency is ignored if its name matches any of the items in
exclusions . |
VulnerabilityAuditConfiguration.Builder |
maxPermissibleCvssV2Score(Float maxPermissibleCvssV2Score)
A vulnerable application dependency is ignored if the score of its associated
Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
|
VulnerabilityAuditConfiguration.Builder |
maxPermissibleCvssV3Score(Float maxPermissibleCvssV3Score)
A vulnerable application dependency is ignored if the score of its associated
Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
|
VulnerabilityAuditConfiguration.Builder |
maxPermissibleSeverity(ConfigSeverity maxPermissibleSeverity)
A vulnerable application dependency is ignored if the score of its associated
Vulnerability is below maxPermissibleSeverity.
|
public VulnerabilityAuditConfiguration.Builder maxPermissibleCvssV2Score(Float maxPermissibleCvssV2Score)
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
maxPermissibleCvssV2Score
- the value to setpublic VulnerabilityAuditConfiguration.Builder maxPermissibleCvssV3Score(Float maxPermissibleCvssV3Score)
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
maxPermissibleCvssV3Score
- the value to setpublic VulnerabilityAuditConfiguration.Builder maxPermissibleSeverity(ConfigSeverity maxPermissibleSeverity)
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.
maxPermissibleSeverity
- the value to setpublic VulnerabilityAuditConfiguration.Builder exclusions(List<String> exclusions)
A vulnerable application dependency is ignored if its name matches any of the items in
exclusions
. An asterisk (*) in the dependency pattern acts as a wildcard and
matches zero or more characters.
exclusions
- the value to setpublic VulnerabilityAuditConfiguration build()
public VulnerabilityAuditConfiguration.Builder copy(VulnerabilityAuditConfiguration model)
Copyright © 2016–2024. All rights reserved.