UpdateDetectorRuleDetails

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

Bases: object

Details of a Detector Rule to be overriden in Detector Recipe

Attributes

RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails.
condition Gets the condition of this UpdateDetectorRuleDetails.
configurations Gets the configurations of this UpdateDetectorRuleDetails.
is_enabled [Required] Gets the is_enabled of this UpdateDetectorRuleDetails.
labels Gets the labels of this UpdateDetectorRuleDetails.
risk_level [Required] Gets the risk_level of this UpdateDetectorRuleDetails.

Methods

__init__(**kwargs) Initializes a new UpdateDetectorRuleDetails object with values from keyword arguments.
RISK_LEVEL_CRITICAL = 'CRITICAL'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “CRITICAL”

RISK_LEVEL_HIGH = 'HIGH'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “HIGH”

RISK_LEVEL_LOW = 'LOW'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “LOW”

RISK_LEVEL_MEDIUM = 'MEDIUM'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “MEDIUM”

RISK_LEVEL_MINOR = 'MINOR'

A constant which can be used with the risk_level property of a UpdateDetectorRuleDetails. This constant has a value of “MINOR”

__init__(**kwargs)

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

Parameters:
  • is_enabled (bool) – The value to assign to the is_enabled property of this UpdateDetectorRuleDetails.
  • risk_level (str) – The value to assign to the risk_level property of this UpdateDetectorRuleDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”
  • configurations (list[oci.cloud_guard.models.DetectorConfiguration]) – The value to assign to the configurations property of this UpdateDetectorRuleDetails.
  • condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this UpdateDetectorRuleDetails.
  • labels (list[str]) – The value to assign to the labels property of this UpdateDetectorRuleDetails.
condition

Gets the condition of this UpdateDetectorRuleDetails.

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

Gets the configurations of this UpdateDetectorRuleDetails. Configuration details

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

[Required] Gets the is_enabled of this UpdateDetectorRuleDetails. Enables the control

Returns:The is_enabled of this UpdateDetectorRuleDetails.
Return type:bool
labels

Gets the labels of this UpdateDetectorRuleDetails. user defined labels for a detector rule

Returns:The labels of this UpdateDetectorRuleDetails.
Return type:list[str]
risk_level

[Required] Gets the risk_level of this UpdateDetectorRuleDetails. The Risk Level

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”

Returns:The risk_level of this UpdateDetectorRuleDetails.
Return type:str