HostPortScanResultOpenPort¶
-
class
oci.vulnerability_scanning.models.HostPortScanResultOpenPort(**kwargs)¶ Bases:
objectAn open port found in a host port scan
Attributes
SEVERITY_CRITICALA constant which can be used with the severity property of a HostPortScanResultOpenPort. SEVERITY_HIGHA constant which can be used with the severity property of a HostPortScanResultOpenPort. SEVERITY_LOWA constant which can be used with the severity property of a HostPortScanResultOpenPort. SEVERITY_MEDIUMA constant which can be used with the severity property of a HostPortScanResultOpenPort. SEVERITY_NONEA constant which can be used with the severity property of a HostPortScanResultOpenPort. ip_address[Required] Gets the ip_address of this HostPortScanResultOpenPort. port[Required] Gets the port of this HostPortScanResultOpenPort. protocol[Required] Gets the protocol of this HostPortScanResultOpenPort. serviceGets the service of this HostPortScanResultOpenPort. severity[Required] Gets the severity of this HostPortScanResultOpenPort. vnic_id[Required] Gets the vnic_id of this HostPortScanResultOpenPort. Methods
__init__(**kwargs)Initializes a new HostPortScanResultOpenPort object with values from keyword arguments. -
SEVERITY_CRITICAL= 'CRITICAL'¶ A constant which can be used with the severity property of a HostPortScanResultOpenPort. This constant has a value of “CRITICAL”
-
SEVERITY_HIGH= 'HIGH'¶ A constant which can be used with the severity property of a HostPortScanResultOpenPort. This constant has a value of “HIGH”
-
SEVERITY_LOW= 'LOW'¶ A constant which can be used with the severity property of a HostPortScanResultOpenPort. This constant has a value of “LOW”
-
SEVERITY_MEDIUM= 'MEDIUM'¶ A constant which can be used with the severity property of a HostPortScanResultOpenPort. This constant has a value of “MEDIUM”
-
SEVERITY_NONE= 'NONE'¶ A constant which can be used with the severity property of a HostPortScanResultOpenPort. This constant has a value of “NONE”
-
__init__(**kwargs)¶ Initializes a new HostPortScanResultOpenPort object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - port (int) – The value to assign to the port property of this HostPortScanResultOpenPort.
- protocol (str) – The value to assign to the protocol property of this HostPortScanResultOpenPort.
- ip_address (str) – The value to assign to the ip_address property of this HostPortScanResultOpenPort.
- vnic_id (str) – The value to assign to the vnic_id property of this HostPortScanResultOpenPort.
- service (str) – The value to assign to the service property of this HostPortScanResultOpenPort.
- severity (str) – The value to assign to the severity property of this HostPortScanResultOpenPort. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
ip_address¶ [Required] Gets the ip_address of this HostPortScanResultOpenPort. IP Address open port was found on
Returns: The ip_address of this HostPortScanResultOpenPort. Return type: str
-
port¶ [Required] Gets the port of this HostPortScanResultOpenPort. Open port
Returns: The port of this HostPortScanResultOpenPort. Return type: int
-
protocol¶ [Required] Gets the protocol of this HostPortScanResultOpenPort. Protocol of the open port
Returns: The protocol of this HostPortScanResultOpenPort. Return type: str
-
service¶ Gets the service of this HostPortScanResultOpenPort. Service running on the port (if detected)
Returns: The service of this HostPortScanResultOpenPort. Return type: str
-
severity¶ [Required] Gets the severity of this HostPortScanResultOpenPort. Problem severity
Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, “CRITICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The severity of this HostPortScanResultOpenPort. Return type: str
-
vnic_id¶ [Required] Gets the vnic_id of this HostPortScanResultOpenPort. ID of the attached VNIC that exposed the IP Address scanned
Returns: The vnic_id of this HostPortScanResultOpenPort. Return type: str
-