Class 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 the VulnerabilityAuditConfiguration.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 the VulnerabilityAuditConfiguration.Builder, which maintain a set of all explicitly set fields called VulnerabilityAuditConfiguration.Builder.__explicitlySet__. The hashCode() and equals(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).

    • Constructor Detail

      • VulnerabilityAuditConfiguration

        @Deprecated
        @ConstructorProperties({"maxPermissibleCvssV2Score","maxPermissibleCvssV3Score","maxPermissibleSeverity","exclusions"})
        public VulnerabilityAuditConfiguration​(Float maxPermissibleCvssV2Score,
                                               Float maxPermissibleCvssV3Score,
                                               ConfigSeverity maxPermissibleSeverity,
                                               List<String> exclusions)
        Deprecated.
    • Method Detail

      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel