Web Application Firewall
Parameter | Data type | Required | Description | Sample value |
Action | String | Yes | The name of the interface. Consistent with the actual business interface name. | CreateBlockRule |
Version | String | Yes | The version of the interface. The OpenAPI versions provided by the Web Application Firewall are 2020-12-09, 2022-12-09, and 2023-12-25. Please refer to the detailed description of the corresponding interface for specifics. | 2023-12-25 |
Parameter | Data type | Required | Note |
X-Expires | Integer | No | The effective time of the signature, in seconds. If not filled, the default value is 900. |
X-Date | String | Yes | Use UTC time, accurate to seconds. Format is YYYYMMDD'T'HHMMSS'Z', for example: 20201103T104027Z. |
Authorization | String | Yes | HMAC-SHA256 Credential={AccessKeyId}/{ShortDate}/{Region}/{Service}/request, SignedHeaders={SignedHeaders}, Signature={Signature}<br>Where:
|
X-Security-Token | String | No | Refers to the SessionToken in the temporary security credential issued by the Security Token Service (STS). This parameter is not required when using a long-term key. |
Parameter | Data type | Required | Note |
X-Expires | Integer | No | Signature valid time, in seconds, defaults to 900 when not filled out. |
X-Date | String | Yes | Use UTC time, accurate to seconds. Format is YYYYMMDD'T'HHMMSS'Z', for example: 20201103T104027Z. |
X-Algorithm | String | Yes | Fixed value: HMAC-SHA256. |
X-Credential | String | Yes | Authentication information, consisting of {AccessKeyId}/{ShortDate}/{Region}/{Service}/request. Among them:
|
X-SignedHeaders | String | Yes | The Headers involved in the signature, separated by semicolons. |
X-Signature | String | Yes | Computed signature. |