CreateDetectorRuleDetails¶
-
class
oci.cloud_guard.models.CreateDetectorRuleDetails(**kwargs)¶ Bases:
objectDetails of a detector rule to be created in a detector recipe.
Attributes
RISK_LEVEL_CRITICALA constant which can be used with the risk_level property of a CreateDetectorRuleDetails. RISK_LEVEL_HIGHA constant which can be used with the risk_level property of a CreateDetectorRuleDetails. RISK_LEVEL_LOWA constant which can be used with the risk_level property of a CreateDetectorRuleDetails. RISK_LEVEL_MEDIUMA constant which can be used with the risk_level property of a CreateDetectorRuleDetails. RISK_LEVEL_MINORA constant which can be used with the risk_level property of a CreateDetectorRuleDetails. conditionGets the condition of this CreateDetectorRuleDetails. configurationsGets the configurations of this CreateDetectorRuleDetails. data_source_idGets the data_source_id of this CreateDetectorRuleDetails. descriptionGets the description of this CreateDetectorRuleDetails. entities_mappingsGets the entities_mappings of this CreateDetectorRuleDetails. is_enabledGets the is_enabled of this CreateDetectorRuleDetails. labelsGets the labels of this CreateDetectorRuleDetails. name[Required] Gets the name of this CreateDetectorRuleDetails. recommendationGets the recommendation of this CreateDetectorRuleDetails. risk_levelGets the risk_level of this CreateDetectorRuleDetails. source_detector_rule_idGets the source_detector_rule_id of this CreateDetectorRuleDetails. Methods
__init__(**kwargs)Initializes a new CreateDetectorRuleDetails object with values from keyword arguments. -
RISK_LEVEL_CRITICAL= 'CRITICAL'¶ A constant which can be used with the risk_level property of a CreateDetectorRuleDetails. This constant has a value of “CRITICAL”
-
RISK_LEVEL_HIGH= 'HIGH'¶ A constant which can be used with the risk_level property of a CreateDetectorRuleDetails. This constant has a value of “HIGH”
-
RISK_LEVEL_LOW= 'LOW'¶ A constant which can be used with the risk_level property of a CreateDetectorRuleDetails. This constant has a value of “LOW”
-
RISK_LEVEL_MEDIUM= 'MEDIUM'¶ A constant which can be used with the risk_level property of a CreateDetectorRuleDetails. This constant has a value of “MEDIUM”
-
RISK_LEVEL_MINOR= 'MINOR'¶ A constant which can be used with the risk_level property of a CreateDetectorRuleDetails. This constant has a value of “MINOR”
-
__init__(**kwargs)¶ Initializes a new CreateDetectorRuleDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - source_detector_rule_id (str) – The value to assign to the source_detector_rule_id property of this CreateDetectorRuleDetails.
- name (str) – The value to assign to the name property of this CreateDetectorRuleDetails.
- description (str) – The value to assign to the description property of this CreateDetectorRuleDetails.
- is_enabled (bool) – The value to assign to the is_enabled property of this CreateDetectorRuleDetails.
- risk_level (str) – The value to assign to the risk_level property of this CreateDetectorRuleDetails. 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 CreateDetectorRuleDetails.
- condition (oci.cloud_guard.models.Condition) – The value to assign to the condition property of this CreateDetectorRuleDetails.
- labels (list[str]) – The value to assign to the labels property of this CreateDetectorRuleDetails.
- recommendation (str) – The value to assign to the recommendation property of this CreateDetectorRuleDetails.
- data_source_id (str) – The value to assign to the data_source_id property of this CreateDetectorRuleDetails.
- entities_mappings (list[oci.cloud_guard.models.EntitiesMapping]) – The value to assign to the entities_mappings property of this CreateDetectorRuleDetails.
-
condition¶ Gets the condition of this CreateDetectorRuleDetails.
Returns: The condition of this CreateDetectorRuleDetails. Return type: oci.cloud_guard.models.Condition
-
configurations¶ Gets the configurations of this CreateDetectorRuleDetails. List of detector rule configurations
Returns: The configurations of this CreateDetectorRuleDetails. Return type: list[oci.cloud_guard.models.DetectorConfiguration]
-
data_source_id¶ Gets the data_source_id of this CreateDetectorRuleDetails. OCID of the data source which is attached
Returns: The data_source_id of this CreateDetectorRuleDetails. Return type: str
-
description¶ Gets the description of this CreateDetectorRuleDetails. Description of the detector rule
Returns: The description of this CreateDetectorRuleDetails. Return type: str
-
entities_mappings¶ Gets the entities_mappings of this CreateDetectorRuleDetails. Data source entities mapping for the detector rule
Returns: The entities_mappings of this CreateDetectorRuleDetails. Return type: list[oci.cloud_guard.models.EntitiesMapping]
-
is_enabled¶ Gets the is_enabled of this CreateDetectorRuleDetails. Enablement state of the detector rule
Returns: The is_enabled of this CreateDetectorRuleDetails. Return type: bool
-
labels¶ Gets the labels of this CreateDetectorRuleDetails. User-defined labels for the detector rule
Returns: The labels of this CreateDetectorRuleDetails. Return type: list[str]
-
name¶ [Required] Gets the name of this CreateDetectorRuleDetails. Name of the detector rule
Returns: The name of this CreateDetectorRuleDetails. Return type: str
-
recommendation¶ Gets the recommendation of this CreateDetectorRuleDetails. Recommendations for the detector rule
Returns: The recommendation of this CreateDetectorRuleDetails. Return type: str
-
risk_level¶ Gets the risk_level of this CreateDetectorRuleDetails. The risk level for the detector rule
Allowed values for this property are: “CRITICAL”, “HIGH”, “MEDIUM”, “LOW”, “MINOR”
Returns: The risk_level of this CreateDetectorRuleDetails. Return type: str
-
source_detector_rule_id¶ Gets the source_detector_rule_id of this CreateDetectorRuleDetails. ID of source detector rule
Returns: The source_detector_rule_id of this CreateDetectorRuleDetails. Return type: str
-