CreateDetectorRuleDetails

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

Bases: object

Details of a detector rule to be created in a detector recipe.

Attributes

RISK_LEVEL_CRITICAL A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
RISK_LEVEL_HIGH A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
RISK_LEVEL_LOW A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
RISK_LEVEL_MEDIUM A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
RISK_LEVEL_MINOR A constant which can be used with the risk_level property of a CreateDetectorRuleDetails.
condition Gets the condition of this CreateDetectorRuleDetails.
configurations Gets the configurations of this CreateDetectorRuleDetails.
data_source_id Gets the data_source_id of this CreateDetectorRuleDetails.
description Gets the description of this CreateDetectorRuleDetails.
entities_mappings Gets the entities_mappings of this CreateDetectorRuleDetails.
is_enabled Gets the is_enabled of this CreateDetectorRuleDetails.
labels Gets the labels of this CreateDetectorRuleDetails.
name [Required] Gets the name of this CreateDetectorRuleDetails.
recommendation Gets the recommendation of this CreateDetectorRuleDetails.
risk_level Gets the risk_level of this CreateDetectorRuleDetails.
source_detector_rule_id 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.
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