You can call the DescribeHighlightInfo operation to query highlighted data for attack details. Use the TraceId from the log of a request that was blocked by Basic Web Protection to find the specific reason for the block. The highlighted data is the content that was blocked by the Basic Web Protection module.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeHighlightInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| StartTime |
string |
Yes |
The beginning of the time range to query. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2023-02-19T16:00:00Z |
| EndTime |
string |
No |
The end of the time range to query. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2023-04-10T02:43:34Z |
| TraceId |
string |
Yes |
The trace ID of the log. |
800e749616838513398137319e |
| Lang |
string |
Yes |
The language of the response. Valid values:
|
en_US |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
| DataModule |
array<object> |
The data model of the highlighted data. |
|
|
object |
The data model of the highlighted data. |
||
| Key |
string |
The type of the highlighted content. |
URL |
| Hit |
string |
The highlighted data. |
[\"data:image/php;base64\"] |
| Raw |
string |
The complete data. |
data:image/php;base64,PD9waHAXXXXXXanVzdHR0dHXXXXXB0ZXN0Ijs/Pg== |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
"DataModule": [
{
"Key": "URL",
"Hit": "[\\\"data:image/php;base64\\\"]",
"Raw": "data:image/php;base64,PD9waHAXXXXXXanVzdHR0dHXXXXXB0ZXN0Ijs/Pg=="
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | A parameter is set to an invalid value. |
| 500 | InternalError | An internal error occurred; please try again later. | An internal error occurred. Try again later. If the error persists, submit a ticket. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.