DescribeACLProtectTrend

更新时间:
复制 MD 格式

Queries the trend chart of Internet access control interceptions.

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

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

Lang

string

No

请求和接收消息的语言类型。取值:

  • zh(默认):中文。

  • en:英文。

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:

  • internet (default): Internet Border firewall, which detects and controls traffic between your assets and the Internet.

  • vpc: virtual private cloud (VPC) firewalls, which detect and control traffic between VPCs.

  • nat: NAT firewalls, which detect and control traffic from internal-facing assets to the Internet.

vpc

Interval

integer

No

The time aggregation granularity for trend data. Unit: 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

RequestId

string

The request ID.

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

Interval

integer

The interval at which data is returned. Unit: seconds. A result is returned at each interval.

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 intercept trend data.

object

The Internet access control intercept trend data.

Time

integer

The timestamp of 00:00 on each day. Unit: seconds. 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 at this point in time.

10

AlertCnt

integer

The total number of sessions that matched an ACL policy and triggered the monitor (alert) action at this point in time.

20

TotalAlertCnt

integer

The cumulative total of AlertCnt across all time points within the query time range. This value indicates 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 total of PassCnt across all time points within the query time range. This value indicates 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.