Custom detection models
Data Security Center (DSC) provides a custom detection model feature to create specific data detection and alert rules based on your business requirements and security policies. This helps you implement fine-grained monitoring of database activities, receive early risk warnings, and protect your data assets. This document describes how to create a custom detection model.
Supported data resources
RDS, OSS, and MaxCompute.
Create a custom detection model
If the built-in detection models cannot meet your business or security requirements, you can create a custom detection model.
Log on to the Data Security Center console.
In the navigation pane on the left, select .
On the Anomaly Detection Model tab, click Custom Detection Model.
Click Add Rule.
In the Add Rule dialog box, configure the parameters for the custom model and click OK.
Parameter
Description
Rule name
Enter a descriptive name to easily identify the rule.
Risk level
Select a risk level for the model from the drop-down list.
Asset type
Select the asset type to monitor. Options include:
OSS
MaxCompute
RDS
Filter condition
Configure conditions to filter for anomalous events.
Continue to add
Click Continue to Add to add multiple filter conditions. The conditions are combined with an AND operator.
Alert condition
Set the time unit for alert detection and the conditions that trigger alerts. DSC performs anomaly detection on data that matches the filter conditions. If the alert conditions are met within the specified time period, DSC reports an anomaly alert.
Note In the alert conditions, Any UA refers to any browser's User-Agent. The User-Agent string contains information such as the hardware platform, system software, application software, and user preferences. You can use it to identify the browser name, browser version, rendering engine, and operating system. If you select Any UA as an alert condition, DSC captures anomalous events based on the User-Agent information.After you create the model, you can view and edit it in the model list. New models are Disabled by default. You must enable a model for it to take effect.
In the Status column for the model, turn on the switch to enable it.
Next steps
After you create a custom detection model, you must monitor for anomaly alerts. For more information, see Detect and handle anomaly alerts.