HostAgentScanResult¶
- class oci.vulnerability_scanning.models.HostAgentScanResult(**kwargs)¶
Bases:
objectA scan result for a host agent scan
Attributes:
A constant which can be used with the highest_problem_severity property of a HostAgentScanResult.
A constant which can be used with the highest_problem_severity property of a HostAgentScanResult.
A constant which can be used with the highest_problem_severity property of a HostAgentScanResult.
A constant which can be used with the highest_problem_severity property of a HostAgentScanResult.
A constant which can be used with the highest_problem_severity property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the lifecycle_state property of a HostAgentScanResult.
A constant which can be used with the vendor property of a HostAgentScanResult.
A constant which can be used with the vendor property of a HostAgentScanResult.
[Required] Gets the compartment_id of this HostAgentScanResult.
Gets the display_name of this HostAgentScanResult.
[Required] Gets the highest_problem_severity of this HostAgentScanResult.
[Required] Gets the id of this HostAgentScanResult.
[Required] Gets the instance_id of this HostAgentScanResult.
Gets the kernel_version of this HostAgentScanResult.
Gets the lifecycle_state of this HostAgentScanResult.
[Required] Gets the operating_system of this HostAgentScanResult.
Gets the problem_count of this HostAgentScanResult.
[Required] Gets the problems of this HostAgentScanResult.
[Required] Gets the time_finished of this HostAgentScanResult.
[Required] Gets the time_started of this HostAgentScanResult.
Gets the vendor of this HostAgentScanResult.
Methods:
__init__(**kwargs)Initializes a new HostAgentScanResult 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 HostAgentScanResult. 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 HostAgentScanResult. 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 HostAgentScanResult. 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 HostAgentScanResult. 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 HostAgentScanResult. This constant has a value of “NONE”
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a HostAgentScanResult. This constant has a value of “UPDATING”
- VENDOR_OCI = 'OCI'¶
A constant which can be used with the vendor property of a HostAgentScanResult. This constant has a value of “OCI”
- VENDOR_QUALYS = 'QUALYS'¶
A constant which can be used with the vendor property of a HostAgentScanResult. This constant has a value of “QUALYS”
- __init__(**kwargs)¶
Initializes a new HostAgentScanResult 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 HostAgentScanResult.
display_name (str) – The value to assign to the display_name property of this HostAgentScanResult.
instance_id (str) – The value to assign to the instance_id property of this HostAgentScanResult.
compartment_id (str) – The value to assign to the compartment_id property of this HostAgentScanResult.
highest_problem_severity (str) – The value to assign to the highest_problem_severity property of this HostAgentScanResult. 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’.
operating_system (str) – The value to assign to the operating_system property of this HostAgentScanResult.
kernel_version (str) – The value to assign to the kernel_version property of this HostAgentScanResult.
problem_count (int) – The value to assign to the problem_count property of this HostAgentScanResult.
time_started (datetime) – The value to assign to the time_started property of this HostAgentScanResult.
time_finished (datetime) – The value to assign to the time_finished property of this HostAgentScanResult.
problems (list[oci.vulnerability_scanning.models.HostAgentScanResultProblem]) – The value to assign to the problems property of this HostAgentScanResult.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this HostAgentScanResult. 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’.
vendor (str) – The value to assign to the vendor property of this HostAgentScanResult. Allowed values for this property are: “OCI”, “QUALYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property compartment_id¶
[Required] Gets the compartment_id of this HostAgentScanResult. 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 HostAgentScanResult.
- Return type
str
- property display_name¶
Gets the display_name of this HostAgentScanResult. Name of the resource
- Returns
The display_name of this HostAgentScanResult.
- Return type
str
- property highest_problem_severity¶
[Required] Gets the highest_problem_severity of this HostAgentScanResult. 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 HostAgentScanResult.
- Return type
str
- property id¶
[Required] Gets the id of this HostAgentScanResult. Unique identifier of the scan
- Returns
The id of this HostAgentScanResult.
- Return type
str
- property instance_id¶
[Required] Gets the instance_id of this HostAgentScanResult. Instance ID of the Compute Instance scanned
- Returns
The instance_id of this HostAgentScanResult.
- Return type
str
- property kernel_version¶
Gets the kernel_version of this HostAgentScanResult. Kernel version of the operating system
- Returns
The kernel_version of this HostAgentScanResult.
- Return type
str
- property lifecycle_state¶
Gets the lifecycle_state of this HostAgentScanResult. 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 HostAgentScanResult.
- Return type
str
- property operating_system¶
[Required] Gets the operating_system of this HostAgentScanResult. Operating system of the host
- Returns
The operating_system of this HostAgentScanResult.
- Return type
str
- property problem_count¶
Gets the problem_count of this HostAgentScanResult. Total number of problems found in this scan
- Returns
The problem_count of this HostAgentScanResult.
- Return type
int
- property problems¶
[Required] Gets the problems of this HostAgentScanResult. List of problems found in this scan
- Returns
The problems of this HostAgentScanResult.
- Return type
list[oci.vulnerability_scanning.models.HostAgentScanResultProblem]
- property time_finished¶
[Required] Gets the time_finished of this HostAgentScanResult. Date and time the scan was completed, as described in RFC 3339
- Returns
The time_finished of this HostAgentScanResult.
- Return type
datetime
- property time_started¶
[Required] Gets the time_started of this HostAgentScanResult. Date and time the scan was started, as described in RFC 3339
- Returns
The time_started of this HostAgentScanResult.
- Return type
datetime
- property vendor¶
Gets the vendor of this HostAgentScanResult. Vendor which was used for this host scan agent.
Allowed values for this property are: “OCI”, “QUALYS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The vendor of this HostAgentScanResult.
- Return type
str