Show / Hide Table of Contents

Class HostPortScanResultSummary

A summary of a result for a host agent scan

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

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

LifecycleState

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

The current state of the result.

OpenPortCount

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

Total number of open ports across all attached VNICs 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

In this article
Back to top