Show / Hide Table of Contents

Class HostAgentScanResult

A scan result for a host agent scan

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

Properties

CompartmentId

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

Compartment ID of the resource. This is set to the same as the compartment ID of the scan target

Remarks

Required

DisplayName

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

Name of the resource

HighestProblemSeverity

Declaration
[Required(ErrorMessage = "HighestProblemSeverity is required.")]
[JsonProperty(PropertyName = "highestProblemSeverity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultProblemSeverity? HighestProblemSeverity { get; set; }
Property Value
Type Description
ScanResultProblemSeverity?

Highest problem severity in this report

Remarks

Required

Id

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

Unique identifier of the scan

Remarks

Required

InstanceId

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

Instance ID of the Compute Instance scanned

Remarks

Required

KernelVersion

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

Kernel version of the operating system

LifecycleState

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

The current state of the result.

OperatingSystem

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

Operating system of the host

Remarks

Required

ProblemCount

Declaration
[JsonProperty(PropertyName = "problemCount")]
public int? ProblemCount { get; set; }
Property Value
Type Description
int?

Total number of problems found in this scan

Problems

Declaration
[Required(ErrorMessage = "Problems is required.")]
[JsonProperty(PropertyName = "problems")]
public List<HostAgentScanResultProblem> Problems { get; set; }
Property Value
Type Description
List<HostAgentScanResultProblem>

List of problems found in this scan

Remarks

Required

TimeFinished

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

Date and time the scan was completed, as described in RFC 3339

Remarks

Required

TimeStarted

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

Date and time the scan was started, as described in RFC 3339

Remarks

Required

Vendor

Declaration
[JsonProperty(PropertyName = "vendor")]
[JsonConverter(typeof(ResponseEnumConverter))]
public VendorType? Vendor { get; set; }
Property Value
Type Description
VendorType?

Vendor which was used for this host scan agent.

In this article
Back to top