HostCisBenchmarkScanResult

class oci.vulnerability_scanning.models.HostCisBenchmarkScanResult(**kwargs)

Bases: object

A scan result of all CIS (Center for Internet Security) benchmark execution for this host

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult.
cis_benchmark_scan_issues_count [Required] Gets the cis_benchmark_scan_issues_count of this HostCisBenchmarkScanResult.
cis_benchmark_scan_result_scores [Required] Gets the cis_benchmark_scan_result_scores of this HostCisBenchmarkScanResult.
compartment_id [Required] Gets the compartment_id of this HostCisBenchmarkScanResult.
display_name Gets the display_name of this HostCisBenchmarkScanResult.
id [Required] Gets the id of this HostCisBenchmarkScanResult.
instance_id [Required] Gets the instance_id of this HostCisBenchmarkScanResult.
lifecycle_state Gets the lifecycle_state of this HostCisBenchmarkScanResult.
time_finished [Required] Gets the time_finished of this HostCisBenchmarkScanResult.
time_started [Required] Gets the time_started of this HostCisBenchmarkScanResult.

Methods

__init__(**kwargs) Initializes a new HostCisBenchmarkScanResult object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “FAILED”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a HostCisBenchmarkScanResult. This constant has a value of “UPDATING”

__init__(**kwargs)

Initializes a new HostCisBenchmarkScanResult 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 HostCisBenchmarkScanResult.
  • display_name (str) – The value to assign to the display_name property of this HostCisBenchmarkScanResult.
  • instance_id (str) – The value to assign to the instance_id property of this HostCisBenchmarkScanResult.
  • compartment_id (str) – The value to assign to the compartment_id property of this HostCisBenchmarkScanResult.
  • time_started (datetime) – The value to assign to the time_started property of this HostCisBenchmarkScanResult.
  • time_finished (datetime) – The value to assign to the time_finished property of this HostCisBenchmarkScanResult.
  • cis_benchmark_scan_issues_count (int) – The value to assign to the cis_benchmark_scan_issues_count property of this HostCisBenchmarkScanResult.
  • cis_benchmark_scan_result_scores (list[oci.vulnerability_scanning.models.HostCisBenchmarkScanResultScore]) – The value to assign to the cis_benchmark_scan_result_scores property of this HostCisBenchmarkScanResult.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HostCisBenchmarkScanResult. 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’.
cis_benchmark_scan_issues_count

[Required] Gets the cis_benchmark_scan_issues_count of this HostCisBenchmarkScanResult. Total number of CIS (Center for Internet Security) benchmark issues found in this scan

Returns:The cis_benchmark_scan_issues_count of this HostCisBenchmarkScanResult.
Return type:int
cis_benchmark_scan_result_scores

[Required] Gets the cis_benchmark_scan_result_scores of this HostCisBenchmarkScanResult. A single CIS (Center for Internet Security) benchmark scan executed on a host.

Returns:The cis_benchmark_scan_result_scores of this HostCisBenchmarkScanResult.
Return type:list[oci.vulnerability_scanning.models.HostCisBenchmarkScanResultScore]
compartment_id

[Required] Gets the compartment_id of this HostCisBenchmarkScanResult. 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 HostCisBenchmarkScanResult.
Return type:str
display_name

Gets the display_name of this HostCisBenchmarkScanResult. Name of the result

Returns:The display_name of this HostCisBenchmarkScanResult.
Return type:str
id

[Required] Gets the id of this HostCisBenchmarkScanResult. Unique identifier of the scan

Returns:The id of this HostCisBenchmarkScanResult.
Return type:str
instance_id

[Required] Gets the instance_id of this HostCisBenchmarkScanResult. Instance ID of the Compute Instance scanned

Returns:The instance_id of this HostCisBenchmarkScanResult.
Return type:str
lifecycle_state

Gets the lifecycle_state of this HostCisBenchmarkScanResult. 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 HostCisBenchmarkScanResult.
Return type:str
time_finished

[Required] Gets the time_finished of this HostCisBenchmarkScanResult. Date and time the scan was completed, as described in RFC 3339

Returns:The time_finished of this HostCisBenchmarkScanResult.
Return type:datetime
time_started

[Required] Gets the time_started of this HostCisBenchmarkScanResult. Date and time the scan was started, as described in RFC 3339

Returns:The time_started of this HostCisBenchmarkScanResult.
Return type:datetime