Show / Hide Table of Contents

Class VulnerabilityDetails

A vulnerability details contains details for a vulnerability as reported by the source.

Inheritance
object
VulnerabilityDetails
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 VulnerabilityDetails

Properties

IsDirectVulnerability

Declaration
[JsonProperty(PropertyName = "isDirectVulnerability")]
public bool? IsDirectVulnerability { get; set; }
Property Value
Type Description
bool?

Indicates if the vulnerability is immediately affecting any artifact in an audit.

Metrics

Declaration
[JsonProperty(PropertyName = "metrics")]
public List<VulnerabilityMetric> Metrics { get; set; }
Property Value
Type Description
List<VulnerabilityMetric>

List of reported metrics by the source.

References

Declaration
[JsonProperty(PropertyName = "references")]
public List<string> References { get; set; }
Property Value
Type Description
List<string>

References of the vulnerability at source.

RelatedVulnerabilities

Declaration
[JsonProperty(PropertyName = "relatedVulnerabilities")]
public List<RelatedVulnerabilityReference> RelatedVulnerabilities { get; set; }
Property Value
Type Description
List<RelatedVulnerabilityReference>

List of related vulnerabilities, as reported by the source, along with aliases, where aliases are the same vulnerability reported by different sources.

Severity

Declaration
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VulnerabilitySeverity? Severity { get; set; }
Property Value
Type Description
VulnerabilitySeverity?

ADM qualitative severity score. Can be either NONE, LOW, MEDIUM, HIGH or CRITICAL.

Source

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

Source that published the vulnerability.

Remarks

Required

Status

Declaration
[JsonProperty(PropertyName = "status")]
public string Status { get; set; }
Property Value
Type Description
string

The status of the vulnerability, may be one of Analyzed, Rejected, Modified, Awaiting Analysis, Undergoing Analysis, Published, Withdrawn, Received as reported by the source.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

Date when the vulnerability was published, at the source.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

Date when the vulnerability was last modified, at the source.

VulnerabilityDescription

Declaration
[JsonProperty(PropertyName = "vulnerabilityDescription")]
public string VulnerabilityDescription { get; set; }
Property Value
Type Description
string

Detailed description of the vulnerability.

VulnerabilityId

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

Vulnerability identifier from source, e.g., CVE-1999-0067, GHSA-9vjp-v76f-g363.

Remarks

Required

VulnerabilitySummary

Declaration
[JsonProperty(PropertyName = "vulnerabilitySummary")]
public string VulnerabilitySummary { get; set; }
Property Value
Type Description
string

Summary of the vulnerability.

In this article
Back to top