TargetDetectorDetails¶
-
class
oci.cloud_guard.models.TargetDetectorDetails(**kwargs)¶ Bases:
objectOverriden settings of a detector rule in recipe attached to target.
Attributes
RISK_LEVEL_CRITICALA constant which can be used with the risk_level property of a TargetDetectorDetails. RISK_LEVEL_HIGHA constant which can be used with the risk_level property of a TargetDetectorDetails. RISK_LEVEL_LOWA constant which can be used with the risk_level property of a TargetDetectorDetails. RISK_LEVEL_MEDIUMA constant which can be used with the risk_level property of a TargetDetectorDetails. RISK_LEVEL_MINORA constant which can be used with the risk_level property of a TargetDetectorDetails. condition_groupsGets the condition_groups of this TargetDetectorDetails. configurationsGets the configurations of this TargetDetectorDetails. is_configuration_allowedGets the is_configuration_allowed of this TargetDetectorDetails. is_enabled[Required] Gets the is_enabled of this TargetDetectorDetails. labelsGets the labels of this TargetDetectorDetails. problem_thresholdGets the problem_threshold of this TargetDetectorDetails. risk_levelGets the risk_level of this TargetDetectorDetails. sighting_typesGets the sighting_types of this TargetDetectorDetails. target_typesGets the target_types 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.
- problem_threshold (int) – The value to assign to the problem_threshold property of this TargetDetectorDetails.
- target_types (list[str]) – The value to assign to the target_types property of this TargetDetectorDetails.
- sighting_types (list[oci.cloud_guard.models.SightingType]) – The value to assign to the sighting_types 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. List of detector rule configurations
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. Enablement state of the detector rule
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]
-
problem_threshold¶ Gets the problem_threshold of this TargetDetectorDetails. Point at which an elevated resource risk score creates a problem
Returns: The problem_threshold of this TargetDetectorDetails. Return type: int
-
risk_level¶ Gets the risk_level of this TargetDetectorDetails. The risk level of the detector rule
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
-
sighting_types¶ Gets the sighting_types of this TargetDetectorDetails. List of sighting types
Returns: The sighting_types of this TargetDetectorDetails. Return type: list[oci.cloud_guard.models.SightingType]
-
target_types¶ Gets the target_types of this TargetDetectorDetails. List of target types for which the detector rule is applicable
Returns: The target_types of this TargetDetectorDetails. Return type: list[str]
-