ResponderRuleDetails

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

Bases: object

Detailed information for a responder rule

Attributes

MODE_AUTOACTION A constant which can be used with the mode property of a ResponderRuleDetails.
MODE_USERACTION A constant which can be used with the mode property of a ResponderRuleDetails.
condition Gets the condition of this ResponderRuleDetails.
configurations Gets the configurations of this ResponderRuleDetails.
is_enabled [Required] Gets the is_enabled of this ResponderRuleDetails.
mode Gets the mode of this ResponderRuleDetails.

Methods

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

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

MODE_USERACTION = 'USERACTION'

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

__init__(**kwargs)

Initializes a new ResponderRuleDetails 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 ResponderRuleDetails.
  • configurations (list[oci.cloud_guard.models.ResponderConfiguration]) – The value to assign to the configurations property of this ResponderRuleDetails.
  • is_enabled (bool) – The value to assign to the is_enabled property of this ResponderRuleDetails.
  • mode (str) – The value to assign to the mode property of this ResponderRuleDetails. Allowed values for this property are: “AUTOACTION”, “USERACTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
condition

Gets the condition of this ResponderRuleDetails.

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

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

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

[Required] Gets the is_enabled of this ResponderRuleDetails. Enabled state for the responder rule

Returns:The is_enabled of this ResponderRuleDetails.
Return type:bool
mode

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

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

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