Updated on 2025-11-10 GMT+08:00

API Overview

You can use all functions of CFW through its APIs.

Type

Description

Firewall Management

Query firewall information, including querying the firewall list, modifying firewall protection status, and querying firewall details.

EIP Management

Manage EIPs, including enabling or disabling EIPs, querying the number of EIPs, and querying the EIP list.

Access Control Rule Management

Manage ACL rules, including creating, updating, and deleting ACL rules.

Blacklist/Whitelist Management

Manage blacklists and whitelists, including creating, updating, and deleting items in blacklists and whitelists.

Address Group Management

Manage address groups, including adding, querying, and updating address groups.

Service Group Management

Manage service groups, including adding, querying, and modifying service groups.

Domain Name Resolution and Domain Name Group Management

Manage domain groups, including adding, querying, and updating domain groups.

IPS Management

Manage the IPS switch, including querying the IPS status, IPS switch, and protection mode.

Log Management

Manage log interfaces, including the interfaces for querying access control logs, attack event logs, and traffic logs.

Packet Capture Management

Manage packet capture tasks, including creating, querying, and deleting packet capture tasks.

Antivirus Management

Manage the antivirus function, including querying and modifying the antivirus switch and antivirus rules.

Alarm Configuration Management

Manage alarm configurations, including obtaining alarm configurations and modifying alarm configurations.

Tag Management

Manage tags, including querying resource tags.

Inter-VPC Firewall Management

Manage inter-VPC firewalls, including updating, querying, and deleting inter-VPC firewalls.

Log Analysis

Manage log-related functions, including querying attack statistics, the number of logs, and session trends.

Multi-Account Management

Manage multiple accounts, including querying, adding, and removing accounts.

Schedule Management

Manage schedules, including querying, creating, updating, and deleting schedules.

Security Report

Manage security reports, including querying, creating, updating, and deleting reports.

IPS Whitelist Management

Manage the IPS whitelist, including updating, querying, adding, and deleting IPS whitelist items in batches.

TLS Certificate Management

Manage TLS certificates, including importing and obtaining certificates.

Traffic Filtering

Block traffic, including enabling, disabling, and importing IP address blacklists.