CreateDetectorRuleDetails¶
- class oci.cloud_guard.models.CreateDetectorRuleDetails(**kwargs)¶
Bases:
objectDetails of a detector rule to be created in a detector recipe.
Attributes:
A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
Gets the condition of this CreateDetectorRuleDetails.
Gets the configurations of this CreateDetectorRuleDetails.
Gets the data_source_id of this CreateDetectorRuleDetails.
Gets the description of this CreateDetectorRuleDetails.
Gets the entities_mappings of this CreateDetectorRuleDetails.
Gets the is_enabled of this CreateDetectorRuleDetails.
Gets the labels of this CreateDetectorRuleDetails.
[Required] Gets the name of this CreateDetectorRuleDetails.
Gets the recommendation of this CreateDetectorRuleDetails.
Gets the risk_level of this CreateDetectorRuleDetails.
Gets 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.
- property condition¶
Gets the condition of this CreateDetectorRuleDetails.
- Returns
The condition of this CreateDetectorRuleDetails.
- Return type
- property configurations¶
Gets the configurations of this CreateDetectorRuleDetails. List of detector rule configurations
- Returns
The configurations of this CreateDetectorRuleDetails.
- Return type
- property 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
- property description¶
Gets the description of this CreateDetectorRuleDetails. Description of the detector rule
- Returns
The description of this CreateDetectorRuleDetails.
- Return type
str
- property 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
- property 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
- property labels¶
Gets the labels of this CreateDetectorRuleDetails. User-defined labels for the detector rule
- Returns
The labels of this CreateDetectorRuleDetails.
- Return type
list[str]
- property name¶
[Required] Gets the name of this CreateDetectorRuleDetails. Name of the detector rule
- Returns
The name of this CreateDetectorRuleDetails.
- Return type
str
- property recommendation¶
Gets the recommendation of this CreateDetectorRuleDetails. Recommendations for the detector rule
- Returns
The recommendation of this CreateDetectorRuleDetails.
- Return type
str
- property 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
- property 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