VulnerabilityAuditConfiguration¶
- class oci.adm.models.VulnerabilityAuditConfiguration(**kwargs)¶
Bases:
objectConfiguration 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
Attributes:
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration.
Gets the exclusions of this VulnerabilityAuditConfiguration.
Gets the max_permissible_cvss_v2_score of this VulnerabilityAuditConfiguration.
Gets the max_permissible_cvss_v3_score of this VulnerabilityAuditConfiguration.
Gets the max_permissible_severity of this VulnerabilityAuditConfiguration.
Methods:
__init__(**kwargs)Initializes a new VulnerabilityAuditConfiguration object with values from keyword arguments.
- MAX_PERMISSIBLE_SEVERITY_CRITICAL = 'CRITICAL'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “CRITICAL”
- MAX_PERMISSIBLE_SEVERITY_HIGH = 'HIGH'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “HIGH”
- MAX_PERMISSIBLE_SEVERITY_LOW = 'LOW'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “LOW”
- MAX_PERMISSIBLE_SEVERITY_MEDIUM = 'MEDIUM'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “MEDIUM”
- MAX_PERMISSIBLE_SEVERITY_NONE = 'NONE'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “NONE”
- MAX_PERMISSIBLE_SEVERITY_UNSET = 'UNSET'¶
A constant which can be used with the max_permissible_severity property of a VulnerabilityAuditConfiguration. This constant has a value of “UNSET”
- __init__(**kwargs)¶
Initializes a new VulnerabilityAuditConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
max_permissible_cvss_v2_score (float) – The value to assign to the max_permissible_cvss_v2_score property of this VulnerabilityAuditConfiguration.
max_permissible_cvss_v3_score (float) – The value to assign to the max_permissible_cvss_v3_score property of this VulnerabilityAuditConfiguration.
max_permissible_severity (str) – The value to assign to the max_permissible_severity property of this VulnerabilityAuditConfiguration. Allowed values for this property are: “UNSET”, “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
exclusions (list[str]) – The value to assign to the exclusions property of this VulnerabilityAuditConfiguration.
- property exclusions¶
Gets the exclusions of this VulnerabilityAuditConfiguration. 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 exclusions of this VulnerabilityAuditConfiguration.
- Return type
list[str]
- property max_permissible_cvss_v2_score¶
Gets the max_permissible_cvss_v2_score of this VulnerabilityAuditConfiguration. A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- Returns
The max_permissible_cvss_v2_score of this VulnerabilityAuditConfiguration.
- Return type
float
- property max_permissible_cvss_v3_score¶
Gets the max_permissible_cvss_v3_score of this VulnerabilityAuditConfiguration. A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score.
- Returns
The max_permissible_cvss_v3_score of this VulnerabilityAuditConfiguration.
- Return type
float
- property max_permissible_severity¶
Gets the max_permissible_severity of this VulnerabilityAuditConfiguration. A vulnerable application dependency is ignored if the score of its associated Vulnerability is below maxPermissibleSeverity.
Allowed values for this property are: “UNSET”, “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The max_permissible_severity of this VulnerabilityAuditConfiguration.
- Return type
str