HostPortScanResult¶
-
class
oci.vulnerability_scanning.models.HostPortScanResult(**kwargs)¶ Bases:
objectA scan result for a host port scan
Attributes
HIGHEST_PROBLEM_SEVERITY_CRITICALA constant which can be used with the highest_problem_severity property of a HostPortScanResult. HIGHEST_PROBLEM_SEVERITY_HIGHA constant which can be used with the highest_problem_severity property of a HostPortScanResult. HIGHEST_PROBLEM_SEVERITY_LOWA constant which can be used with the highest_problem_severity property of a HostPortScanResult. HIGHEST_PROBLEM_SEVERITY_MEDIUMA constant which can be used with the highest_problem_severity property of a HostPortScanResult. HIGHEST_PROBLEM_SEVERITY_NONEA constant which can be used with the highest_problem_severity property of a HostPortScanResult. LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a HostPortScanResult. LIFECYCLE_STATE_CREATINGA constant which can be used with the lifecycle_state property of a HostPortScanResult. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a HostPortScanResult. LIFECYCLE_STATE_DELETINGA constant which can be used with the lifecycle_state property of a HostPortScanResult. LIFECYCLE_STATE_FAILEDA constant which can be used with the lifecycle_state property of a HostPortScanResult. LIFECYCLE_STATE_UPDATINGA constant which can be used with the lifecycle_state property of a HostPortScanResult. compartment_id[Required] Gets the compartment_id of this HostPortScanResult. display_nameGets the display_name of this HostPortScanResult. highest_problem_severity[Required] Gets the highest_problem_severity of this HostPortScanResult. id[Required] Gets the id of this HostPortScanResult. instance_id[Required] Gets the instance_id of this HostPortScanResult. lifecycle_stateGets the lifecycle_state of this HostPortScanResult. open_port_countGets the open_port_count of this HostPortScanResult. open_ports[Required] Gets the open_ports of this HostPortScanResult. time_finished[Required] Gets the time_finished of this HostPortScanResult. time_started[Required] Gets the time_started of this HostPortScanResult. Methods
__init__(**kwargs)Initializes a new HostPortScanResult object with values from keyword arguments. -
HIGHEST_PROBLEM_SEVERITY_CRITICAL= 'CRITICAL'¶ A constant which can be used with the highest_problem_severity property of a HostPortScanResult. This constant has a value of “CRITICAL”
-
HIGHEST_PROBLEM_SEVERITY_HIGH= 'HIGH'¶ A constant which can be used with the highest_problem_severity property of a HostPortScanResult. This constant has a value of “HIGH”
-
HIGHEST_PROBLEM_SEVERITY_LOW= 'LOW'¶ A constant which can be used with the highest_problem_severity property of a HostPortScanResult. This constant has a value of “LOW”
-
HIGHEST_PROBLEM_SEVERITY_MEDIUM= 'MEDIUM'¶ A constant which can be used with the highest_problem_severity property of a HostPortScanResult. This constant has a value of “MEDIUM”
-
HIGHEST_PROBLEM_SEVERITY_NONE= 'NONE'¶ A constant which can be used with the highest_problem_severity property of a HostPortScanResult. This constant has a value of “NONE”
-
LIFECYCLE_STATE_ACTIVE= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a HostPortScanResult. This constant has a value of “UPDATING”
-
__init__(**kwargs)¶ Initializes a new HostPortScanResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this HostPortScanResult.
- display_name (str) – The value to assign to the display_name property of this HostPortScanResult.
- instance_id (str) – The value to assign to the instance_id property of this HostPortScanResult.
- compartment_id (str) – The value to assign to the compartment_id property of this HostPortScanResult.
- highest_problem_severity (str) – The value to assign to the highest_problem_severity property of this HostPortScanResult. 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’.
- time_started (datetime) – The value to assign to the time_started property of this HostPortScanResult.
- time_finished (datetime) – The value to assign to the time_finished property of this HostPortScanResult.
- open_port_count (int) – The value to assign to the open_port_count property of this HostPortScanResult.
- open_ports (list[oci.vulnerability_scanning.models.HostPortScanResultOpenPort]) – The value to assign to the open_ports property of this HostPortScanResult.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this HostPortScanResult. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
compartment_id¶ [Required] Gets the compartment_id of this HostPortScanResult. Compartment ID of the resource. This is set to the same as the compartment ID of the scan target
Returns: The compartment_id of this HostPortScanResult. Return type: str
-
display_name¶ Gets the display_name of this HostPortScanResult. Name of the resource
Returns: The display_name of this HostPortScanResult. Return type: str
-
highest_problem_severity¶ [Required] Gets the highest_problem_severity of this HostPortScanResult. Highest problem severity in this report
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 highest_problem_severity of this HostPortScanResult. Return type: str
-
id¶ [Required] Gets the id of this HostPortScanResult. Unique identifier of the scan
Returns: The id of this HostPortScanResult. Return type: str
-
instance_id¶ [Required] Gets the instance_id of this HostPortScanResult. Instance ID of the Compute Instance scanned
Returns: The instance_id of this HostPortScanResult. Return type: str
-
lifecycle_state¶ Gets the lifecycle_state of this HostPortScanResult. The current state of the result.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this HostPortScanResult. Return type: str
-
open_port_count¶ Gets the open_port_count of this HostPortScanResult. Total number of open ports across all attached VNICs found in this scan
Returns: The open_port_count of this HostPortScanResult. Return type: int
-
open_ports¶ [Required] Gets the open_ports of this HostPortScanResult. List of open ports (including interface) found in this scan
Returns: The open_ports of this HostPortScanResult. Return type: list[oci.vulnerability_scanning.models.HostPortScanResultOpenPort]
-