TargetDetectorDetails

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

Bases: object

Overriden settings of a Detector Rule applied on target

Attributes

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

Methods

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

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

RISK_LEVEL_HIGH = 'HIGH'

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

RISK_LEVEL_LOW = 'LOW'

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

RISK_LEVEL_MEDIUM = 'MEDIUM'

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

RISK_LEVEL_MINOR = 'MINOR'

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

__init__(**kwargs)

Initializes a new TargetDetectorDetails 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 TargetDetectorDetails.
  • risk_level (str) – The value to assign to the risk_level property of this TargetDetectorDetails. 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 TargetDetectorDetails.
  • condition_groups (list[oci.cloud_guard.models.ConditionGroup]) – The value to assign to the condition_groups property of this TargetDetectorDetails.
  • labels (list[str]) – The value to assign to the labels property of this TargetDetectorDetails.
  • is_configuration_allowed (bool) – The value to assign to the is_configuration_allowed property of this TargetDetectorDetails.
condition_groups

Gets the condition_groups of this TargetDetectorDetails. Condition group corresponding to each compartment

Returns:The condition_groups of this TargetDetectorDetails.
Return type:list[oci.cloud_guard.models.ConditionGroup]
configurations

Gets the configurations of this TargetDetectorDetails. Configuration details

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

Gets the is_configuration_allowed of this TargetDetectorDetails. configuration allowed or not

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

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

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

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

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

[Required] Gets the risk_level of this TargetDetectorDetails. 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 TargetDetectorDetails.
Return type:str