ResponderRuleDetails¶
- class oci.cloud_guard.models.ResponderRuleDetails(**kwargs)¶
Bases:
objectDetailed information for a responder rule
Attributes:
A constant which can be used with the mode property of a ResponderRuleDetails.
A constant which can be used with the mode property of a ResponderRuleDetails.
Gets the condition of this ResponderRuleDetails.
Gets the configurations of this ResponderRuleDetails.
[Required] Gets the is_enabled of this ResponderRuleDetails.
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’.
- property condition¶
Gets the condition of this ResponderRuleDetails.
- Returns
The condition of this ResponderRuleDetails.
- Return type
- property configurations¶
Gets the configurations of this ResponderRuleDetails. List of responder rule configurations
- Returns
The configurations of this ResponderRuleDetails.
- Return type
- property 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
- property 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