Updated on 2025-08-05 GMT+08:00

Modifying a Verification Code

If Protective Action in a policy is set to Verification code, you can modify the response code on the verification page.

This function is under open beta test (OBT). You can submit a service ticket to enable it.

Procedure

  1. Log in to the WAF console.
  2. Click in the upper left corner and select a region or project.
  3. (Optional) If you have enabled the enterprise project function, in the upper part of the navigation pane on the left, select your enterprise project from the Filter by enterprise project drop-down list. Then, WAF will display the related security data in the enterprise project on the page.
  4. In the navigation pane on the left, click Website Settings.
  5. On the Website Settings page, click the target website domain name.
  6. In the Advanced Settings area, click next to the Verification Code row, set a verification code, and click OK.

    After completing the above configuration, you can configure a CC attack protection rule (with Protective Action set to Verification code) by referring to Configuring CC Attack Protection Rules to Defend Against CC Attacks, stimulate an attack, and verify that verification is triggered and the configured status code is returned.