DescribeACLProtectTrend

Updated at:

Queries the trend chart for Internet access control blocks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

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

[Deprecated] This parameter is deprecated.

223.95.87.130

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

StartTime

string

No

The start time of the query. Specify the time as a UNIX timestamp in seconds.

1677050306

EndTime

string

No

The end time of the query. Specify the time as a UNIX timestamp in seconds.

1670397599

FirewallType

string

No

The type of the firewall border. Valid values:

  • internet (default): the Internet Border firewall.

  • vpc: virtual private cloud (VPC) firewalls.

  • nat: NAT firewalls.

vpc

Interval

integer

No

The time aggregation granularity of the trend data, in seconds. Valid values:

  • 60: 1-minute granularity (uses the minute-level detail table).

  • 1800: 30-minute granularity.

  • 3600: 1-hour granularity.

  • 86400 (default): 1-day granularity.

60

Response elements

Element

Type

Description

Example

object

InProtectCnt

integer

The number of inbound blocks by Internet access control.

100

InterVPCProtectCnt deprecated

integer

[Deprecated] This parameter is deprecated.

0

Interval

integer

The step size of the returned data, in seconds. This indicates the interval at which a result is returned.

86400

OutProtectCnt

integer

The number of outbound blocks by Internet access control.

200

RequestId

string

The ID of the request.

9063AB86-6FFA-5B2D-A16D-697C966DECA3

TotalAlertCnt

integer

The total number of AlertCnt across all time points within the queried time range. This is the total number of sessions for which the monitor (alert) action is performed after an access control policy is matched during the entire time period.

100

TotalPassCnt

integer

The total number of PassCnt across all time points within the queried time range. This is the total number of sessions for which the allow action is performed after an access control policy is matched during the entire time period.

100

TotalProtectCnt

integer

The total number of blocks by Internet access control.

300

TrendList

array<object>

The list of trend data for Internet access control blocks.

object

The trend data for Internet access control blocks.

AlertCnt

integer

The total number of sessions for which the monitor (alert) action is performed after an access control policy is matched within the time point.

20

PassCnt

integer

The total number of sessions for which the allow action is performed after an access control policy is matched within the time point.

10

ProtectCnt

integer

The number of blocks by Internet access control on the day.

100

Time

integer

The UNIX timestamp of 00:00:00 each day, in seconds, which represents the date.

1697299200

Examples

Success response

JSON format

{
  "InProtectCnt": 100,
  "InterVPCProtectCnt": 0,
  "Interval": 86400,
  "OutProtectCnt": 200,
  "RequestId": "9063AB86-6FFA-5B2D-A16D-697C966DECA3",
  "TotalAlertCnt": 100,
  "TotalPassCnt": 100,
  "TotalProtectCnt": 300,
  "TrendList": [
    {
      "AlertCnt": 20,
      "PassCnt": 10,
      "ProtectCnt": 100,
      "Time": 1697299200
    }
  ]
}

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.