Collector "Alibaba Cloud - Web Application Firewall 3.0" Configuration Manual¶
Before reading this document, please read:
Tip
Before using this collector, you must install the "Integration Core Package" and its accompanying third-party dependencies.
1. Configuration Structure¶
The configuration structure of this collector is as follows:
Field | Type | Required | Description |
---|---|---|---|
regions |
list | Required | List of regions to be collected |
regions[#] |
str | Required | Region ID. For example: 'cn-hangzhou' See appendix for the complete list |
2. Data Reporting Format¶
After successful data synchronization, you can view the data in the "Infrastructure - Resource Catalog" of TrueWatch.
An example of the reported data is as follows:
{
"measurement": "aliyun_waf",
"tags": {
"Edition": "Enterprise",
"InstanceId": "waf_v3prepaid_public_cn-xxxxx",
"PayType": "PREPAY",
"ProductCategory": "wafv3",
"RegionId": "cn-hangzhou",
"Status": "1",
"name": "waf_v3prepaid_public_cn-xxxxx"
},
"fields": {
"Domains": "{CNAME access list}",
"EndTime": 1669651200,
"message": "{instance JSON data}",
}
}
Note
The fields in tags and fields may change with subsequent updates.
Tip
The value of tags.name is the instance ID, which serves as a unique identifier.
!!! tip
- `fields.message`, `fields.Domains` are JSON serialized strings.
- `tags.SubscriptionType` indicates the billing method of the WAF instance, with values: 1, Subscription indicates annual/monthly billing; 2, PayAsYouGo indicates pay-as-you-go billing.
- `tags.Status` indicates the business status of the WAF instance, with values: 0, indicates expired; 1, indicates not expired.
- `tags.Version` indicates the version of the WAF instance, see the appendix document for details.
X. Appendix¶
Please refer to the official Alibaba Cloud documentation: