Class HostPortScanResultOpenPort
An open port found in a host port scan
Inherited Members
Namespace: Oci.VulnerabilityscanningService.Models
Assembly: OCI.DotNetSDK.Vulnerabilityscanning.dll
Syntax
public class HostPortScanResultOpenPort
Properties
IpAddress
Declaration
[Required(ErrorMessage = "IpAddress is required.")]
[JsonProperty(PropertyName = "ipAddress")]
public string IpAddress { get; set; }
Property Value
Type | Description |
---|---|
string | IP Address open port was found on |
Remarks
Required
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | Open port |
Remarks
Required
Protocol
Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }
Property Value
Type | Description |
---|---|
string | Protocol of the open port |
Remarks
Required
Service
Declaration
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
Type | Description |
---|---|
string | Service running on the port (if detected) |
Severity
Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ScanResultProblemSeverity? Severity { get; set; }
Property Value
Type | Description |
---|---|
ScanResultProblemSeverity? | Problem severity |
Remarks
Required
VnicId
Declaration
[Required(ErrorMessage = "VnicId is required.")]
[JsonProperty(PropertyName = "vnicId")]
public string VnicId { get; set; }
Property Value
Type | Description |
---|---|
string | ID of the attached VNIC that exposed the IP Address scanned |
Remarks
Required