UpdateTargetResponderRuleDetails

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

Bases: object

Parameters to update details for a responder rule for a target responder recipe. TargetResponderRuleDetails contains all configurations associated with the ResponderRule, whereas UpdateTargetResponderRecipeResponderRuleDetails refers to the details that are to be updated for ResponderRule.

Attributes

MODE_AUTOACTION A constant which can be used with the mode property of a UpdateTargetResponderRuleDetails.
MODE_USERACTION A constant which can be used with the mode property of a UpdateTargetResponderRuleDetails.
condition Gets the condition of this UpdateTargetResponderRuleDetails.
configurations Gets the configurations of this UpdateTargetResponderRuleDetails.
mode Gets the mode of this UpdateTargetResponderRuleDetails.

Methods

__init__(**kwargs) Initializes a new UpdateTargetResponderRuleDetails object with values from keyword arguments.
MODE_AUTOACTION = 'AUTOACTION'

A constant which can be used with the mode property of a UpdateTargetResponderRuleDetails. This constant has a value of “AUTOACTION”

MODE_USERACTION = 'USERACTION'

A constant which can be used with the mode property of a UpdateTargetResponderRuleDetails. This constant has a value of “USERACTION”

__init__(**kwargs)

Initializes a new UpdateTargetResponderRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this UpdateTargetResponderRuleDetails.
  • configurations (list[oci.cloud_guard.models.ResponderConfiguration]) – The value to assign to the configurations property of this UpdateTargetResponderRuleDetails.
  • mode (str) – The value to assign to the mode property of this UpdateTargetResponderRuleDetails. Allowed values for this property are: “AUTOACTION”, “USERACTION”
condition

Gets the condition of this UpdateTargetResponderRuleDetails.

Returns:The condition of this UpdateTargetResponderRuleDetails.
Return type:oci.cloud_guard.models.Condition
configurations

Gets the configurations of this UpdateTargetResponderRuleDetails. List of responder rule configurations

Returns:The configurations of this UpdateTargetResponderRuleDetails.
Return type:list[oci.cloud_guard.models.ResponderConfiguration]
mode

Gets the mode of this UpdateTargetResponderRuleDetails. Execution mode for the responder rule

Allowed values for this property are: “AUTOACTION”, “USERACTION”

Returns:The mode of this UpdateTargetResponderRuleDetails.
Return type:str