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.ExplicitlySetBmcModelConfiguration 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 SummaryNested Classes Modifier and Type Class Description static classVulnerabilityAuditConfiguration.Builder
 - 
Constructor SummaryConstructors Constructor Description VulnerabilityAuditConfiguration(Float maxPermissibleCvssV2Score, Float maxPermissibleCvssV3Score, ConfigSeverity maxPermissibleSeverity, List<String> exclusions)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulnerabilityAuditConfiguration.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getExclusions()A vulnerable application dependency is ignored if its name matches any of the items in exclusions.FloatgetMaxPermissibleCvssV2Score()A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.FloatgetMaxPermissibleCvssV3Score()A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.ConfigSeveritygetMaxPermissibleSeverity()A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.inthashCode()VulnerabilityAuditConfiguration.BuildertoBuilder()StringtoString()StringtoString(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- 
builderpublic static VulnerabilityAuditConfiguration.Builder builder() Create a new builder.
 - 
toBuilderpublic VulnerabilityAuditConfiguration.Builder toBuilder() 
 - 
getMaxPermissibleCvssV2Scorepublic Float getMaxPermissibleCvssV2Score() A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.- Returns:
- the value
 
 - 
getMaxPermissibleCvssV3Scorepublic Float getMaxPermissibleCvssV3Score() A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.- Returns:
- the value
 
 - 
getMaxPermissibleSeveritypublic ConfigSeverity getMaxPermissibleSeverity() A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.- Returns:
- the value
 
 - 
getExclusionspublic 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
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-