Queries the trend chart of Internet access control interceptions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeACLProtectTrend |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
SourceIp
deprecated
|
string |
No |
This parameter is deprecated. |
223.95.87.130 |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| StartTime |
string |
No |
The start time of the query. The value is a UNIX timestamp in seconds. |
1677050306 |
| EndTime |
string |
No |
The end time of the query. The value is a UNIX timestamp in seconds. |
1670397599 |
| FirewallType |
string |
No |
The type of the firewall border. Valid values:
|
vpc |
| Interval |
integer |
No |
The time aggregation granularity for trend data, in seconds. Valid values:
|
60 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
9063AB86-6FFA-5B2D-A16D-697C966DECA3 |
| Interval |
integer |
The step size of the returned data, in seconds. This indicates the interval between consecutive data points. |
86400 |
| TotalProtectCnt |
integer |
The total number of Internet access control interceptions. |
300 |
| InProtectCnt |
integer |
The number of inbound interceptions by Internet access control. |
100 |
InterVPCProtectCnt
deprecated
|
integer |
This parameter is deprecated. |
0 |
| OutProtectCnt |
integer |
The number of outbound interceptions by Internet access control. |
200 |
| TrendList |
array<object> |
The list of Internet access control interception trend data. |
|
|
object |
The Internet access control interception trend data. |
||
| Time |
integer |
The timestamp of 00:00 of each day, in seconds. This indicates the date. |
1697299200 |
| ProtectCnt |
integer |
The number of Internet access control interceptions on the day. |
100 |
| PassCnt |
integer |
The total number of sessions that matched an ACL policy and were allowed during the time interval. |
10 |
| AlertCnt |
integer |
The total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the time interval. |
20 |
| TotalAlertCnt |
integer |
The cumulative sum of AlertCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and triggered the monitor (alert) action during the entire time period. |
100 |
| TotalPassCnt |
integer |
The cumulative sum of PassCnt across all time points within the query time range. This represents the total number of sessions that matched an ACL policy and were allowed during the entire time period. |
100 |
Examples
Success response
JSON format
{
"RequestId": "9063AB86-6FFA-5B2D-A16D-697C966DECA3",
"Interval": 86400,
"TotalProtectCnt": 300,
"InProtectCnt": 100,
"InterVPCProtectCnt": 0,
"OutProtectCnt": 200,
"TrendList": [
{
"Time": 1697299200,
"ProtectCnt": 100,
"PassCnt": 10,
"AlertCnt": 20
}
],
"TotalAlertCnt": 100,
"TotalPassCnt": 100
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorDBSelectError | A database select error occurred. | The error message returned because an internal error has occurred in querying the database. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.