Class HostVulnerability
A vulnerability found in one or more host scans in a compartment
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class HostVulnerability
Properties
Authentication
Declaration
[JsonProperty(PropertyName = "authentication")]
public string Authentication { get; set; }
Property Value
Type | Description |
---|---|
string | Mechanism used for scan authentication |
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment ID of the vulnerability. Vulnerabilities with identical CVEs can exist in different compartments, based on scan target location |
Remarks
Required
CveDetails
Declaration
[JsonProperty(PropertyName = "cveDetails")]
public CveDetails CveDetails { get; set; }
Property Value
Type | Description |
---|---|
CveDetails |
CveReference
Declaration
[JsonProperty(PropertyName = "cveReference")]
public string CveReference { get; set; }
Property Value
Type | Description |
---|---|
string | Reference to MITRE CVE ID |
HostCount
Declaration
[Required(ErrorMessage = "HostCount is required.")]
[JsonProperty(PropertyName = "hostCount")]
public int? HostCount { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of scanned hosts in this compartment whose scan results currently report this vulnerability |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the vulnerability |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current state of the resource. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Vulnerability name |
Remarks
Required
Severity
Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultProblemSeverity? Severity { get; set; }
Property Value
Type | Description |
---|---|
ScanResultProblemSeverity? | Severity of the vulnerability |
Remarks
Required
State
Declaration
[JsonProperty(PropertyName = "state")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultVulnerabilityState? State { get; set; }
Property Value
Type | Description |
---|---|
ScanResultVulnerabilityState? | State of the vulnerability |
TimeFirstDetected
Declaration
[Required(ErrorMessage = "TimeFirstDetected is required.")]
[JsonProperty(PropertyName = "timeFirstDetected")]
public DateTime? TimeFirstDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date of scan result that first reported the vulnerability |
Remarks
Required
TimeLastDetected
Declaration
[Required(ErrorMessage = "TimeLastDetected is required.")]
[JsonProperty(PropertyName = "timeLastDetected")]
public DateTime? TimeLastDetected { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Date of scan result that most recently reported the vulnerability |
Remarks
Required
VulnerabilityType
Declaration
[Required(ErrorMessage = "VulnerabilityType is required.")]
[JsonProperty(PropertyName = "vulnerabilityType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VulnerabilityType? VulnerabilityType { get; set; }
Property Value
Type | Description |
---|---|
VulnerabilityType? | Specifies the type of Vulnerability |
Remarks
Required