VulnerabilityAuditConfiguration

class oci.adm.models.VulnerabilityAuditConfiguration(**kwargs)

Bases: object

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

Methods

__init__(**kwargs) Initializes a new VulnerabilityAuditConfiguration object with values from keyword arguments.

Attributes

exclusions Gets the exclusions of this VulnerabilityAuditConfiguration.
max_permissible_cvss_v2_score Gets the max_permissible_cvss_v2_score of this VulnerabilityAuditConfiguration.
max_permissible_cvss_v3_score Gets the max_permissible_cvss_v3_score of this VulnerabilityAuditConfiguration.
__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.
  • exclusions (list[str]) – The value to assign to the exclusions property of this VulnerabilityAuditConfiguration.
exclusions

Gets the exclusions of this VulnerabilityAuditConfiguration. A vulnerable Application Dependency is ignored if its name matches any of the items in exclusions.

Returns:The exclusions of this VulnerabilityAuditConfiguration.
Return type:list[str]
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
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