Show / Hide Table of Contents

Class VulnerabilityMetric

A quantifiable measure to assess vulnerability potent by various contexts.

Inheritance
object
VulnerabilityMetric
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
public class VulnerabilityMetric

Properties

Score

Declaration
[JsonProperty(PropertyName = "score")]
public float? Score { get; set; }
Property Value
Type Description
float?

Numerical representation of metric (if exists). For example for CVSS vectors, the score is the base score according to the CVSS scoring system.

Source

Declaration
[Required(ErrorMessage = "Source is required.")]
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
Property Value
Type Description
string

Source of the vulnerability metric e.g., NVD, CISA-ADP, OSV.

Remarks

Required

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
Property Value
Type Description
string

Type of the vulnerability metric e.g., CVSS2, CVSS3, Severity.

Remarks

Required

Value

Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type Description
string

Value of the vulnerability metric e.g., a string representation of a severity value or a cvss vector.

Remarks

Required

In this article
Back to top