Policy restoration

更新时间:
复制 MD 格式

Policy restoration lets you trace the evaluation process of a specific risk request that the decision engine handled. To use this feature, you need the requestId returned from the API request to the decision engine. This feature is built on Simple Log Service. The decision engine sends the log data for policy restoration to the Simple Log Service resources in your account.

Procedure

  1. Go to Analysis Center > Policy restoration to open the Policy restoration page.

  2. Copy a requestId to run a query. Both default policy and DSL policy are supported.

    On the Policy restoration page, paste the copied requestId into the requestId input box at the top and click Query. The query displays the following three sections: Request details (which includes the requestId, eventCode, event name, request time, and execution time), Event input parameters, and Decision response parameters.

  3. The system reconstructs the decision engine's computation process and conclusion, and provides the Request details, Event input parameters, Decision response parameters, and Policy hit details. You can click a specific policy to examine its computation process.

    The Policy hit details table includes columns for Policy ID, Policy Name, Policy Status, Hit, Execution Time, and Actions. In the Actions column, click Details to examine the computation process for that policy.

  4. After you examine the policy computation process, you can view the execution status of each rule and condition. This information helps you analyze cases and identify opportunities for policy optimization.

    The details page contains three areas: at the top is the Policy hit details table (with columns for Execution Order, Policy ID, Policy Name, Policy Status, Hit, Execution Time, and Actions); in the middle, a condition flowchart shows the nodes and logical relationships of the conditions in the matched rule; at the bottom is the Condition details table (with columns for Condition No., Condition Name, Left Variable, Left Variable Value, Operator, Right Variable, and Calculation Result, using checkmarks and crosses to indicate whether each condition passed).