ResponderExecution

class oci.cloud_guard.models.ResponderExecution(**kwargs)

Bases: object

Attributes for a responder execution (ResponderExecution resource).

Attributes:

RESPONDER_EXECUTION_MODE_ALL

A constant which can be used with the responder_execution_mode property of a ResponderExecution.

RESPONDER_EXECUTION_MODE_AUTOMATED

A constant which can be used with the responder_execution_mode property of a ResponderExecution.

RESPONDER_EXECUTION_MODE_MANUAL

A constant which can be used with the responder_execution_mode property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_ALL

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_AWAITING_CONFIRMATION

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_AWAITING_INPUT

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_FAILED

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_SKIPPED

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_STARTED

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_EXECUTION_STATUS_SUCCEEDED

A constant which can be used with the responder_execution_status property of a ResponderExecution.

RESPONDER_RULE_TYPE_NOTIFICATION

A constant which can be used with the responder_rule_type property of a ResponderExecution.

RESPONDER_RULE_TYPE_REMEDIATION

A constant which can be used with the responder_rule_type property of a ResponderExecution.

compartment_id

[Required] Gets the compartment_id of this ResponderExecution.

id

[Required] Gets the id of this ResponderExecution.

locks

Gets the locks of this ResponderExecution.

message

Gets the message of this ResponderExecution.

problem_id

[Required] Gets the problem_id of this ResponderExecution.

region

[Required] Gets the region of this ResponderExecution.

resource_name

[Required] Gets the resource_name of this ResponderExecution.

resource_type

[Required] Gets the resource_type of this ResponderExecution.

responder_execution_mode

[Required] Gets the responder_execution_mode of this ResponderExecution.

responder_execution_status

[Required] Gets the responder_execution_status of this ResponderExecution.

responder_rule_execution_details

Gets the responder_rule_execution_details of this ResponderExecution.

responder_rule_id

[Required] Gets the responder_rule_id of this ResponderExecution.

responder_rule_name

[Required] Gets the responder_rule_name of this ResponderExecution.

responder_rule_type

[Required] Gets the responder_rule_type of this ResponderExecution.

target_id

[Required] Gets the target_id of this ResponderExecution.

time_completed

Gets the time_completed of this ResponderExecution.

time_created

[Required] Gets the time_created of this ResponderExecution.

Methods:

__init__(**kwargs)

Initializes a new ResponderExecution object with values from keyword arguments.

RESPONDER_EXECUTION_MODE_ALL = 'ALL'

A constant which can be used with the responder_execution_mode property of a ResponderExecution. This constant has a value of “ALL”

RESPONDER_EXECUTION_MODE_AUTOMATED = 'AUTOMATED'

A constant which can be used with the responder_execution_mode property of a ResponderExecution. This constant has a value of “AUTOMATED”

RESPONDER_EXECUTION_MODE_MANUAL = 'MANUAL'

A constant which can be used with the responder_execution_mode property of a ResponderExecution. This constant has a value of “MANUAL”

RESPONDER_EXECUTION_STATUS_ALL = 'ALL'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “ALL”

RESPONDER_EXECUTION_STATUS_AWAITING_CONFIRMATION = 'AWAITING_CONFIRMATION'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “AWAITING_CONFIRMATION”

RESPONDER_EXECUTION_STATUS_AWAITING_INPUT = 'AWAITING_INPUT'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “AWAITING_INPUT”

RESPONDER_EXECUTION_STATUS_FAILED = 'FAILED'

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

RESPONDER_EXECUTION_STATUS_SKIPPED = 'SKIPPED'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “SKIPPED”

RESPONDER_EXECUTION_STATUS_STARTED = 'STARTED'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “STARTED”

RESPONDER_EXECUTION_STATUS_SUCCEEDED = 'SUCCEEDED'

A constant which can be used with the responder_execution_status property of a ResponderExecution. This constant has a value of “SUCCEEDED”

RESPONDER_RULE_TYPE_NOTIFICATION = 'NOTIFICATION'

A constant which can be used with the responder_rule_type property of a ResponderExecution. This constant has a value of “NOTIFICATION”

RESPONDER_RULE_TYPE_REMEDIATION = 'REMEDIATION'

A constant which can be used with the responder_rule_type property of a ResponderExecution. This constant has a value of “REMEDIATION”

__init__(**kwargs)

Initializes a new ResponderExecution 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 ResponderExecution.

  • responder_rule_id (str) – The value to assign to the responder_rule_id property of this ResponderExecution.

  • responder_rule_type (str) – The value to assign to the responder_rule_type property of this ResponderExecution. Allowed values for this property are: “REMEDIATION”, “NOTIFICATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • responder_rule_name (str) – The value to assign to the responder_rule_name property of this ResponderExecution.

  • problem_id (str) – The value to assign to the problem_id property of this ResponderExecution.

  • region (str) – The value to assign to the region property of this ResponderExecution.

  • target_id (str) – The value to assign to the target_id property of this ResponderExecution.

  • compartment_id (str) – The value to assign to the compartment_id property of this ResponderExecution.

  • resource_type (str) – The value to assign to the resource_type property of this ResponderExecution.

  • resource_name (str) – The value to assign to the resource_name property of this ResponderExecution.

  • time_created (datetime) – The value to assign to the time_created property of this ResponderExecution.

  • time_completed (datetime) – The value to assign to the time_completed property of this ResponderExecution.

  • responder_execution_status (str) – The value to assign to the responder_execution_status property of this ResponderExecution. Allowed values for this property are: “STARTED”, “AWAITING_CONFIRMATION”, “AWAITING_INPUT”, “SUCCEEDED”, “FAILED”, “SKIPPED”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • responder_execution_mode (str) – The value to assign to the responder_execution_mode property of this ResponderExecution. Allowed values for this property are: “MANUAL”, “AUTOMATED”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • message (str) – The value to assign to the message property of this ResponderExecution.

  • responder_rule_execution_details (oci.cloud_guard.models.ResponderRuleExecutionDetails) – The value to assign to the responder_rule_execution_details property of this ResponderExecution.

  • locks (list[oci.cloud_guard.models.ResourceLock]) – The value to assign to the locks property of this ResponderExecution.

property compartment_id

[Required] Gets the compartment_id of this ResponderExecution. Compartment OCID of the responder execution for the problem

Returns

The compartment_id of this ResponderExecution.

Return type

str

property id

[Required] Gets the id of this ResponderExecution. The unique identifier of the responder execution

Returns

The id of this ResponderExecution.

Return type

str

property locks

Gets the locks of this ResponderExecution. Locks associated with this resource.

Returns

The locks of this ResponderExecution.

Return type

list[oci.cloud_guard.models.ResourceLock]

property message

Gets the message of this ResponderExecution. Message about the responder execution

Returns

The message of this ResponderExecution.

Return type

str

property problem_id

[Required] Gets the problem_id of this ResponderExecution. Problem ID associated with the responder execution

Returns

The problem_id of this ResponderExecution.

Return type

str

property region

[Required] Gets the region of this ResponderExecution. Region where the problem is found

Returns

The region of this ResponderExecution.

Return type

str

property resource_name

[Required] Gets the resource_name of this ResponderExecution. Resource name of the problem for the responder execution.

Returns

The resource_name of this ResponderExecution.

Return type

str

property resource_type

[Required] Gets the resource_type of this ResponderExecution. Resource type of the problem for the responder execution

Returns

The resource_type of this ResponderExecution.

Return type

str

property responder_execution_mode

[Required] Gets the responder_execution_mode of this ResponderExecution. Execution mode of the responder

Allowed values for this property are: “MANUAL”, “AUTOMATED”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The responder_execution_mode of this ResponderExecution.

Return type

str

property responder_execution_status

[Required] Gets the responder_execution_status of this ResponderExecution. Current execution status of the responder

Allowed values for this property are: “STARTED”, “AWAITING_CONFIRMATION”, “AWAITING_INPUT”, “SUCCEEDED”, “FAILED”, “SKIPPED”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The responder_execution_status of this ResponderExecution.

Return type

str

property responder_rule_execution_details

Gets the responder_rule_execution_details of this ResponderExecution.

Returns

The responder_rule_execution_details of this ResponderExecution.

Return type

oci.cloud_guard.models.ResponderRuleExecutionDetails

property responder_rule_id

[Required] Gets the responder_rule_id of this ResponderExecution. Responder rule ID for the responder execution

Returns

The responder_rule_id of this ResponderExecution.

Return type

str

property responder_rule_name

[Required] Gets the responder_rule_name of this ResponderExecution. Responder rule name for the responder execution

Returns

The responder_rule_name of this ResponderExecution.

Return type

str

property responder_rule_type

[Required] Gets the responder_rule_type of this ResponderExecution. Responder rule type for the responder execution

Allowed values for this property are: “REMEDIATION”, “NOTIFICATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The responder_rule_type of this ResponderExecution.

Return type

str

property target_id

[Required] Gets the target_id of this ResponderExecution. Target ID of the problem for the responder execution

Returns

The target_id of this ResponderExecution.

Return type

str

property time_completed

Gets the time_completed of this ResponderExecution. The date and time the responder execution was updated. Format defined by RFC3339.

Returns

The time_completed of this ResponderExecution.

Return type

datetime

property time_created

[Required] Gets the time_created of this ResponderExecution. The date and time the responder execution was created. Format defined by RFC3339.

Returns

The time_created of this ResponderExecution.

Return type

datetime