VulnerabilityMetric¶
-
class
oci.adm.models.VulnerabilityMetric(**kwargs)¶ Bases:
objectA quantifiable measure to assess vulnerability potent by various contexts.
Methods
__init__(**kwargs)Initializes a new VulnerabilityMetric object with values from keyword arguments. Attributes
scoreGets the score of this VulnerabilityMetric. source[Required] Gets the source of this VulnerabilityMetric. type[Required] Gets the type of this VulnerabilityMetric. value[Required] Gets the value of this VulnerabilityMetric. -
__init__(**kwargs)¶ Initializes a new VulnerabilityMetric object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this VulnerabilityMetric.
- source (str) – The value to assign to the source property of this VulnerabilityMetric.
- score (float) – The value to assign to the score property of this VulnerabilityMetric.
- value (str) – The value to assign to the value property of this VulnerabilityMetric.
-
score¶ Gets the score of this VulnerabilityMetric. Numerical representation of metric (if exists). For example for CVSS vectors, the score is the base score according to the CVSS scoring system.
Returns: The score of this VulnerabilityMetric. Return type: float
-
source¶ [Required] Gets the source of this VulnerabilityMetric. Source of the vulnerability metric e.g., NVD, CISA-ADP, OSV.
Returns: The source of this VulnerabilityMetric. Return type: str
-
type¶ [Required] Gets the type of this VulnerabilityMetric. Type of the vulnerability metric e.g., CVSS2, CVSS3, Severity.
Returns: The type of this VulnerabilityMetric. Return type: str
-
value¶ [Required] Gets the value of this VulnerabilityMetric. Value of the vulnerability metric e.g., a string representation of a severity value or a cvss vector.
Returns: The value of this VulnerabilityMetric. Return type: str
-