Queries protection rule change logs on a paginated basis.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The ID of the WAF instance. Note Call DescribeInstance to obtain the instance ID. | waf-cn-mp9153**** |
PageNumber | integer | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. | 10 |
Lang | string | No | The language of the rule names in the response. Valid values:
| zh |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
RegionId | string | No | The region of the WAF instance. Valid values:
| cn-hangzhou |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | 6FBF08CB-8691-5B65-BBF8-*** |
| Rules | array<object> | The list of rule change records. | |
object | A rule change record. | ||
RuleId | integer | The rule ID. | 42755 |
UpdateTime | integer | The time when the rule was updated, in UNIX timestamp format. Unit: milliseconds. | 1665460629000 |
RuleName | string | The rule name. | Header XSS Scanner Behavior |
Operation | string | The type of change. Valid values:
| add |
CveId | string | The CVE ID of the vulnerability associated with the system rule. | CVE-2021-34538 |
TotalCount | integer | The total number of rule change records. | 63 |
Examples
Success response
JSON format
{
"RequestId": "6FBF08CB-8691-5B65-BBF8-***\n",
"Rules": [
{
"RuleId": 42755,
"UpdateTime": 1665460629000,
"RuleName": "Header XSS Scanner Behavior",
"Operation": "add",
"CveId": "CVE-2021-34538"
}
],
"TotalCount": 63
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.