Class VulnerabilityAuditConfiguration
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.adm.model.VulnerabilityAuditConfiguration
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public final class VulnerabilityAuditConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Configuration for a vulnerability audit.A vulnerable application dependency is ignored if its name does match any of the items in exclusions, or all of the associated Vulnerabilies have a CVSS v2 score below maxPermissibleCvssV2Score and a CVSS v3 score below maxPermissibleCvssV3Score. type: object
Note: Objects should always be created or deserialized using theVulnerabilityAuditConfiguration.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theVulnerabilityAuditConfiguration.Builder
, which maintain a set of all explicitly set fields calledVulnerabilityAuditConfiguration.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VulnerabilityAuditConfiguration.Builder
-
Constructor Summary
Constructors Constructor Description VulnerabilityAuditConfiguration(Float maxPermissibleCvssV2Score, Float maxPermissibleCvssV3Score, ConfigSeverity maxPermissibleSeverity, List<String> exclusions)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulnerabilityAuditConfiguration.Builder
builder()
Create a new builder.boolean
equals(Object o)
List<String>
getExclusions()
A vulnerable application dependency is ignored if its name matches any of the items in exclusions.Float
getMaxPermissibleCvssV2Score()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.Float
getMaxPermissibleCvssV3Score()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.ConfigSeverity
getMaxPermissibleSeverity()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.int
hashCode()
VulnerabilityAuditConfiguration.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
VulnerabilityAuditConfiguration
@Deprecated @ConstructorProperties({"maxPermissibleCvssV2Score","maxPermissibleCvssV3Score","maxPermissibleSeverity","exclusions"}) public VulnerabilityAuditConfiguration(Float maxPermissibleCvssV2Score, Float maxPermissibleCvssV3Score, ConfigSeverity maxPermissibleSeverity, List<String> exclusions)
Deprecated.
-
-
Method Detail
-
builder
public static VulnerabilityAuditConfiguration.Builder builder()
Create a new builder.
-
toBuilder
public VulnerabilityAuditConfiguration.Builder toBuilder()
-
getMaxPermissibleCvssV2Score
public Float getMaxPermissibleCvssV2Score()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.- Returns:
- the value
-
getMaxPermissibleCvssV3Score
public Float getMaxPermissibleCvssV3Score()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.- Returns:
- the value
-
getMaxPermissibleSeverity
public ConfigSeverity getMaxPermissibleSeverity()
A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.- Returns:
- the value
-
getExclusions
public List<String> getExclusions()
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.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-