DescribeACLProtectTrend

更新时间:
复制 MD 格式

Shows the trend of traffic intercepted by internet access control.

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

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

The language of the request and response. Valid values:

  • zh (default): Chinese.

  • en: English.

zh

StartTime

string

No

The beginning of the time range to query. The value is a timestamp in seconds.

1677050306

EndTime

string

No

The end of the time range to query. The value is a timestamp in seconds.

1670397599

FirewallType

string

No

The type of the firewall. Valid values:

  • internet (default): internet firewall

  • vpc: VPC firewall

  • nat: NAT firewall

vpc

Interval

integer

No

The time granularity for aggregating trend data, in seconds. Valid values:

  • 60: 1 minute

  • 1800: 30 minutes

  • 3600: 1 hour

  • 86400 (default): 1 day

60

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

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

Interval

integer

The interval between data points. Unit: seconds.

86400

TotalProtectCnt

integer

The total number of sessions blocked by access control policies for internet traffic.

300

InProtectCnt

integer

The number of inbound sessions blocked by access control policies for internet traffic.

100

InterVPCProtectCnt

integer

This parameter is deprecated.

0

OutProtectCnt

integer

The number of outbound sessions blocked by access control policies for internet traffic.

200

TrendList

array<object>

The trend of sessions blocked by access control policies for internet traffic.

object

The statistics of sessions blocked by access control policies for internet traffic.

Time

integer

The timestamp that indicates the start of the query time range. Unit: seconds.

1697299200

ProtectCnt

integer

The number of sessions blocked by access control policies for internet traffic on the current day.

100

PassCnt

integer

The total number of sessions that are allowed by access control policies at the specified point in time.

10

AlertCnt

integer

The total number of sessions that trigger the alert action in access control policies at the specified point in time.

20

TotalAlertCnt

integer

The total number of sessions that trigger the alert action in access control policies in the query time range.

100

TotalPassCnt

integer

The total number of sessions that are allowed by access control policies in the query time range.

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.