Updated on 2024-12-05 GMT+08:00

Importing and Exporting Protection Policies

You can add and export protection rules, blacklist/whitelist items, IP address groups, domain name groups, and service groups in batches.

Specification Limitations

To import and export VPC border protection policies, use the Professional edition.

Importing Protection Rules in Batches

  1. Log in to the management console.
  2. In the navigation pane on the left, click and choose Security > Cloud Firewall. The Dashboard page will be displayed.
  3. (Optional) Switch to another firewall instance: Select a firewall from the drop-down list in the upper left corner of the page.
  4. In the navigation pane, choose Access Control > Access Policies.
  5. Click Download Center on the upper right corner of the list.
  6. Click Download Template to download the rule import template to the local host.
  7. Configure protection policy information as required.

  8. After filling in the template, click Import Rule to import the template.

    • Rule import takes several minutes.
    • During rule import, you cannot add, edit, or delete access policies, IP address groups, and service groups.
    • The priority of the imported policies is lower than that of the created policies.

  9. Click Download Center to view the status of the rule import task. If the Status is Imported, the import succeeded.
  10. Return to the protection rule list to view the imported protection rule.

Exporting Protection Rules in Batches

  1. Log in to the management console.
  2. In the navigation pane on the left, click and choose Security > Cloud Firewall. The Dashboard page will be displayed.
  3. (Optional) Switch to another firewall instance: Select a firewall from the drop-down list in the upper left corner of the page.
  4. In the navigation pane, choose Access Control > Access Policies.
  5. Click Download Center on the upper right corner of the list.
  6. Click Export Rule to export rules to a local PC.