In Settings > Risk Center, you can define different risk levels for each operation types (DML, DDL and Create Database) with custom rules.
Once an issue matches the risk conditions, it will be assigned to the corresponding risk level you've defined. If an issue matches more than one risk levels, the highest level will be used.
You can configure different custom approval flows for each operation types and risk levels.
Click Add rule to create a new risk rule.
Name the rule so that you may know what it cares about. Select the operation type of rule. The Risk can be defined as High, Moderate or Low.
Configure the condition of the rule. You may use a combination of conditions and condition groups.
- Condition: An expression with Factor, Operator and Value(s). For example, the condition "Environment ID == prod" will match issues executed in the "prod" environment.
- Condition group: A collection of conditions connected by operators "And" and "Or".
A template is a system preset example of useful conditions that might be frequently used.
Click View to view the detailed condition template. And click Load to load the template into your rule.