All Products
Search
Document Center

Web Application Firewall:List of operations by function

Last Updated:Apr 26, 2024
This product(waf-openapi/2021-10-01) OpenAPI adopts RPC Signature style. See signature details in Description of the signature mechanism. We have packaged SDKs for common programming languages for developers. Developers can directly call the OpenAPI of this product by downloading the SDK without paying attention to the technical details. If the existing SDK cannot meet the usage requirements, you can connect through the signature mechanism. It will take about 5 working days. Therefore, it is recommended to join our DingTalk service group (11370001915) and sign under the guidance of experts.
Before using the API, you need to prepare your identity account and access key (AccessKey) to effectively access the API through client tools (SDK, CLI, etc.). For details see getAccessKey.

Instance information

APITitleDescription
CreatePostpaidInstanceCreatePostpaidInstanceCreates a pay-as-you-go Web Application Firewall (WAF) 3.0 instance.
DescribeInstanceDescribeInstanceQueries the details of a Web Application Firewall (WAF) instance within the current Alibaba Cloud account.

Website Configuration

APITitleDescription
Cloud NativeCloud Native
SyncProductInstanceSyncProductInstanceSynchronizes Elastic Compute Service (ECS) instances and Classic Load Balancer (CLB) instances to Web Application Firewall (WAF).
DescribeCloudResourcesDescribeCloudResourcesQueries cloud service resources that are added to Web Application Firewall (WAF).
DescribeProductInstancesDescribeProductInstancesQueries the cloud service instances to be added to Web Application Firewall (WAF) in transparent proxy mode.
DescribeResourceSupportRegionsDescribeResourceSupportRegionsQueries the region IDs of Classic Load Balancer (CLB) and Elastic Compute Service (ECS) instances that can be added to Web Application Firewall (WAF) in transparent proxy mode.
DescribeResourceRegionIdDescribeResourceRegionIdQueries the region IDs of the resources that are added to Web Application Firewall (WAF) in cloud native mode. The resources include Application Load Balancer (ALB) instances, Microservices Engine (MSE) instances, and custom domain names bound to web applications in Function Compute.
DescribeResourceInstanceCertsDescribeResourceInstanceCertsQueries the certificates that are used in cloud service instances. The certificates returned include the certificates within the delegated administrator account and the certificates within members to which specific instances belong. For example, the delegated administrator account has certificate 1, instance lb-xx-1 belongs to member B, and member B has certificate 2. If you specify instance lb-xx-1 in the request, certificate 1 and certificate 2 are returned.
CNAME RecordCNAME Record
DescribePunishedDomainsDescribePunishedDomainsQueries a list of domain names that are added to Web Application Firewall (WAF) and penalized for failing to obtain an Internet Content Provider (ICP) filing.
ModifyDomainPunishStatusModifyDomainPunishStatusRe-adds a domain name that is penalized for failing to obtain an Internet Content Provider (ICP) filing to Web Application Firewall (WAF).
DescribeCertDetailDescribeCertDetailQueries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.
CreateDomainCreateDomainAdds a domain name to Web Application Firewall (WAF).
ModifyDomainModifyDomainModifies the configurations of a domain name that is added to Web Application Firewall (WAF) in CNAME record mode.
DeleteDomainDeleteDomainDeletes a domain name that is added to Web Application Firewall (WAF).
DescribeDomainDetailDescribeDomainDetailQueries the details of a domain name that is added to Web Application Firewall (WAF).
DescribeDomainsDescribeDomainsQueries the domain names that are added to Web Application Firewall (WAF).
DescribeCertsDescribeCertsQueries the certificates issued for your domain names that are added to Web Application Firewall (WAF).
DescribeWafSourceIpSegmentDescribeWafSourceIpSegmentQueries the back-to-origin CIDR blocks of a Web Application Firewall (WAF) instance.
DescribeDomainDNSRecordDescribeDomainDNSRecordChecks whether the Domain Name System (DNS) settings of a domain name are properly configured.
Hybrid CloudHybrid Cloud
DescribeHybridCloudResourcesDescribeHybridCloudResourcesQueries the domain names that are added to a Web Application Firewall (WAF) instance in hybrid cloud mode.
DescribeResourcePortDescribeResourcePortQueries the ports of a cloud service instance that are added to Web Application Firewall (WAF).

Protection Configurations

APITitleDescription
Protected objectsProtected objects
CreateDefenseResourceGroupCreateDefenseResourceGroupCreates a protected object group.
ModifyDefenseResourceGroupModifyDefenseResourceGroupModifies the configurations of a protected object group.
DeleteDefenseResourceGroupDeleteDefenseResourceGroupDeletes a protected object group.
DescribeDefenseResourceGroupDescribeDefenseResourceGroupQueries the information about a protected object group.
DescribeDefenseResourceGroupsDescribeDefenseResourceGroupsPerforms a pagination query to retrieve the information about protected object groups.
DescribeDefenseResourceGroupNamesDescribeDefenseResourceGroupNamesQueries the names of protected object groups.
DescribeDefenseResourceDescribeDefenseResourceQueries the information about a protected object.
DescribeDefenseResourcesDescribeDefenseResourcesQueries protected objects by page.
DescribeDefenseResourceNamesDescribeDefenseResourceNamesPerforms a pagination query to retrieve the names of protected objects.
ModifyDefenseResourceXffModifyDefenseResourceXffModifies the cookie settings of a protected object and the method to identify the originating IP addresses of clients.
Protection rulesProtection rules
ModifyDefenseRuleCacheModifyDefenseRuleCacheUpdates the cached page of a website that is protected based on a website tamper-proofing rule.
DescribeDefenseResourceTemplatesDescribeDefenseResourceTemplatesQueries the protection templates that are associated with a protected object or protected object group.
DescribeDefenseTemplateValidGroupsDescribeDefenseTemplateValidGroupsQueries the names of protected object groups for which a protection template can take effect.
DescribeDefenseTemplatesDescribeDefenseTemplatesPerforms a paging query to retrieve protection templates.
CreateDefenseTemplateCreateDefenseTemplateCreates a protection rule template.
CopyDefenseTemplateCopyDefenseTemplateCreates a new protection template from the copy.
ModifyDefenseTemplateModifyDefenseTemplateModifies the configurations of a protection rule template.
DescribeDefenseTemplateDescribeDefenseTemplateQueries a protection rule template.
ModifyDefenseTemplateStatusModifyDefenseTemplateStatusChanges the status of a protection rule template.
DeleteDefenseTemplateDeleteDefenseTemplateDeletes a protection rule template.
CreateDefenseRuleCreateDefenseRuleCreates a protection rule.
ModifyDefenseRuleModifyDefenseRuleModifies the configurations of a protection rule.
ModifyDefenseRuleStatusModifyDefenseRuleStatusChanges the status of a protection rule.
DeleteDefenseRuleDeleteDefenseRuleDeletes a protection rule.
DescribeDefenseRuleDescribeDefenseRuleQueries a protection rule.
DescribeDefenseRulesDescribeDefenseRulesQueries protection rules by page.
ModifyTemplateResourcesModifyTemplateResourcesAssociates or disassociates a protection resource with or from a protection rule template.
DescribeTemplateResourcesDescribeTemplateResourcesQueries the resources that are associated to a protection rule template.
DescribeTemplateResourceCountDescribeTemplateResourceCountQueries the number of protected resources for which a protection template takes effect.
DescribeRuleGroupsDescribeRuleGroupsQueries regular expression rule groups by page.
Protection for Major EventsProtection for Major Events
CreateMajorProtectionBlackIpCreateMajorProtectionBlackIpCreates an IP address blacklist for major event protection.
ModifyMajorProtectionBlackIpModifyMajorProtectionBlackIpModifies an IP address blacklist for major event protection.
DeleteMajorProtectionBlackIpDeleteMajorProtectionBlackIpDeletes an IP address blacklist for major event protection.
ClearMajorProtectionBlackIpClearMajorProtectionBlackIpClears an IP address blacklist for major event protection.
DescribeMajorProtectionBlackIpsDescribeMajorProtectionBlackIpsQueries IP addresses in an IP address blacklist for major event protection by page.

Report information

APITitleDescription
DescribeFlowChartDescribeFlowChartQueries the traffic statistics of requests that are forwarded to Web Application Firewall (WAF).
DescribePeakTrendDescribePeakTrendQueries the queries per second (QPS) statistics of a WAF instance.
DescribeResponseCodeTrendGraphDescribeResponseCodeTrendGraphQueries the trend of the number of error codes that are returned to clients or Web Application Firewall (WAF). The error codes include 302, 405, 444, 499, and 5XX.
DescribeVisitUasDescribeVisitUasQueries the top 10 user agents that are used to initiate requests.
DescribeVisitTopIpDescribeVisitTopIpQueries the top 10 IP addresses from which requests are sent.
DescribeRuleHitsTopResourceDescribeRuleHitsTopResourceQueries the top 10 protected objects that trigger protection rules.
DescribeRuleHitsTopRuleIdDescribeRuleHitsTopRuleIdQueries the IDs of the top 10 protection rules that are matched by requests.
DescribeRuleHitsTopTuleTypeDescribeRuleHitsTopTuleTypeQueries the top 10 protection modules that are matched.
DescribeRuleHitsTopUrlDescribeRuleHitsTopUrlQueries the top 10 URLs that trigger protection rules.
DescribeRuleHitsTopClientIpDescribeRuleHitsTopClientIpQueries the top 10 IP addresses from which attacks are initiated.
DescribeFlowTopResourceDescribeFlowTopResourceQueries the top 10 protected objects that receive requests.
DescribeRuleHitsTopUaDescribeRuleHitsTopUaQueries the top 10 user agents that are used to initiate attacks.
DescribeFlowTopUrlDescribeFlowTopUrlQueries the top 10 URLs that are used to initiate requests.

Log configurations

APITitleDescription
DescribeUserSlsLogRegionsDescribeUserSlsLogRegionsQueries available regions for log storage.
DescribeUserWafLogStatusDescribeUserWafLogStatusQueries the status, region ID, and status modification time of Web Application Firewall (WAF) logs.
DescribeSlsAuthStatusDescribeSlsAuthStatusQueries whether Web Application Firewall (WAF) is authorized to access Logstores.
DescribeSlsLogStoreStatusDescribeSlsLogStoreStatusQueries the status of a Simple Log Service Logstore.
DescribeSlsLogStoreDescribeSlsLogStoreQueries information about a Logstore, such as the total capacity, storage duration, and used capacity.
ModifyResourceLogStatusModifyResourceLogStatusEnables or disables the log collection feature for a protected object.
DescribeResourceLogStatusDescribeResourceLogStatusQueries whether the log collection feature is enabled for a protected object.

Hybrid Cloud Cluster Management

APITitleDescription
ModifyHybridCloudClusterBypassStatusModifyHybridCloudClusterBypassStatusEnables or disables manual bypass for a hybrid cloud cluster of the SDK-based traffic mirroring mode.
DescribeHybridCloudUserDescribeHybridCloudUserQueries the HTTP and HTTPS ports that you can use when you add a domain name to Web Application Firewall (WAF) in hybrid cloud mode.
DescribeHybridCloudGroupsDescribeHybridCloudGroupsQueries the hybrid cloud node groups that are added to Web Application Firewall (WAF).

Multi Account Management

APITitleDescription
CreateMemberAccountsCreateMemberAccountsAdds members to use the multi-account management feature of Web Application Firewall (WAF).
ModifyMemberAccountModifyMemberAccountModifies the information about members that are added for multi-account management.
DeleteMemberAccountDeleteMemberAccountRemoves the members that are added for multi-account management in Web Application Firewall (WAF).
DescribeAccountDelegatedStatusDescribeAccountDelegatedStatusQueries whether an Alibaba Cloud account is the delegated administrator account of a Web Application Firewall (WAF) instance.
DescribeMemberAccountsDescribeMemberAccountsQueries information about members.

Tag Management

APITitleDescription
TagResourcesTagResourcesAdds tags to resources.
ListTagKeysListTagKeysQueries tag keys.
UntagResourcesUntagResourcesRemoves tags from resources and then deletes the tags.
ListTagResourcesListTagResourcesQueries the tags that are added to a resource.
ListTagValuesListTagValuesQueries the tag values of a tag key.