Alibaba Cloud Risk Detection provides Model-as-a-Service (MaaS) for scenarios such as account registration, account login, campaign marketing, and traffic promotion. The service offers standardized models, including registration risk detection, marketing risk detection, login risk detection, traffic promotion anti-fraud, and device risk detection. In addition to these standardized models, you can configure white-box policies in the console to customize your model services. Customizations include adding blocklists or allowlists, adjusting thresholds, and creating custom policies.
White-box policy configuration
|
Action |
Description |
|
Adjust threshold |
Adjust risk thresholds based on the risk characteristics of your business scenarios. |
|
Add policy |
Customize risk control policies based on the risk characteristics of your business scenarios. |
Prerequisites
You have activated the Risk Detection model service.
Before activating the service, review the billing method for Risk Detection.
Adjust a threshold
-
Log on to the Risk Detection console.
-
In the left-side navigation pane, choose Scenario-based Risk Control > Policy Management.
-
From the drop-down list, select the risk control model you are using. This filters the list to show policies with adjustable thresholds.
-
Click Edit to open the policy editor. You can then adjust a condition's threshold to match the risk profile of your business.
For example, the condition Number of accounts on an IP in 5 min ≥ 10 corresponds to the custom variable ipAccountid5m. Select greater than or equal to as the operator and enter 10 as the threshold. Similarly, the condition Number of mobile numbers on an IP in 5 min ≥ 10 corresponds to the custom variable ipMobile5m. Select greater than or equal to as the operator and enter 10 as the threshold. You can change these thresholds to values that fit your business needs.
-
Click Submit to save your changes.
The new threshold takes effect within 2 to 5 minutes.
Add a policy
-
Log on to the Risk Detection console.
-
In the left-side navigation pane, choose Scenario-based Risk Control > Event Management. Select the model service for which you want to add a policy and click View/Edit. Check if the current event fields meet your policy requirements. If not, you can add other event attributes. The available types are:
-
Event field: For more information, see Create a field.
-
Custom cumulative variable: For more information, see Custom cumulative variable.
-
Custom variable: For more information, see Custom variable.
-
-
At the bottom of the page, click Continue to create policy to open the policy editor. For more information, see Create a policy (default).
The policy editor page contains four configuration sections: Policy basic information (set the associated event, policy name, and policy description); Policy calculation logic (configure condition names and logic, with options to add, copy, and delete conditions); Calculation logic and preview (use | for OR and & for AND in the calculation path to combine conditions, and click Visualize Calculation Logic to preview); and Policy hit output (set the policy output tag and policy output score, and select the Output as final event score checkbox).
-
Click Submit to create the policy. On the policy list page, click Deploy.
The policy takes effect within 2 to 5 minutes.