Class HostPortScanResult
A scan result for a host port scan
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class HostPortScanResult
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
[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 |
OpenPorts
Declaration
[Required(ErrorMessage = "OpenPorts is required.")]
[JsonProperty(PropertyName = "openPorts")]
public List<HostPortScanResultOpenPort> OpenPorts { get; set; }
Property Value
Type | Description |
---|---|
List<HostPortScanResultOpenPort> | List of open ports (including interface) 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