DetectorDetails

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

Bases: object

Details of a Detector Rule

Attributes

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

Methods

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

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

RISK_LEVEL_HIGH = 'HIGH'

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

RISK_LEVEL_LOW = 'LOW'

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

RISK_LEVEL_MEDIUM = 'MEDIUM'

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

RISK_LEVEL_MINOR = 'MINOR'

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

__init__(**kwargs)

Initializes a new DetectorDetails 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 DetectorDetails.
  • risk_level (str) – The value to assign to the risk_level property of this DetectorDetails. Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • configurations (list[oci.cloud_guard.models.DetectorConfiguration]) – The value to assign to the configurations property of this DetectorDetails.
  • condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this DetectorDetails.
  • labels (list[str]) – The value to assign to the labels property of this DetectorDetails.
  • is_configuration_allowed (bool) – The value to assign to the is_configuration_allowed property of this DetectorDetails.
condition

Gets the condition of this DetectorDetails.

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

Gets the configurations of this DetectorDetails. Configuration details

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

Gets the is_configuration_allowed of this DetectorDetails. configuration allowed or not

Returns:The is_configuration_allowed of this DetectorDetails.
Return type:bool
is_enabled

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

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

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

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

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

Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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