All Products
Search
Document Center

Security Center:ListInterceptionHistory

Last Updated:Jun 15, 2026

Queries container firewall interception records.

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-sas:ListInterceptionHistory

get

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

HistoryName

string

No

The alert name.

异常访问。

StartTime

integer

No

The start timestamp of the query.

1651290987000

EndTime

integer

No

The end timestamp of the query.

1635575219000

PageSize

integer

No

The maximum number of entries per page for a paged query.

20

CurrentPage

integer

No

The page number of the current page in a paged query.

1

InterceptionTypes

array

No

The types of exception events.

integer

No

The type of the exception event. Valid values:

  • 1: blocked

  • 2: alert.

1

ClusterId

string

No

The ID of the container cluster to query.

c7c190a82d9a048be9038d352840f****

Lang

string

No

The language type for the request and response messages. Default value: zh. Valid values:

  • zh: Chinese

  • en: English.

zh

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for this request. You can use it to troubleshoot issues.

D81DD78E-E006-5C65-A171-C8CB0904****

PageInfo

object

The pagination information.

CurrentPage

integer

The page number of the current page in a paged query.

1

PageSize

integer

The maximum number of entries per page for a paged query.

20

TotalCount

integer

The total number of records returned.

45

Count

integer

The number of records on the current page in a paged query.

10

InterceptionHistoryList

array<object>

The container firewall interception records.

object

The container firewall interception records.

SrcNamespace

string

The namespace of the source instance.

service****

SrcRuleTargetName

string

The source target object name of the rule.

sas-web****

RiskLevel

integer

The risk level. Valid values:

  • -1: unknown

  • 0: none

  • 1: low

  • 2: medium

  • 3: high.

1

Status

integer

The processing status. Valid values:

  • 0: unprocessed

  • 1: processed

  • 2: manually processed

  • 3: ignored.

1

DstPort

integer

The destination port number configured in the rule.

33

FirstTime

integer

The timestamp of the first occurrence on the current day.

1639718858000

SrcAppName

string

The source application name configured in the rule.

sas-web****

RuleId

integer

The ID of the corresponding rule.

136

RuleName

string

The rule name.

all****

InterceptionName

integer

The alert name.

异常访问。

DstNamespace

string

The destination namespace configured in the rule.

service****

LastTime

integer

The timestamp of the latest occurrence on the current day.

1639731078000

DstAppName

string

The destination application name configured in the rule.

sas-web****

DstRuleTargetName

string

The destination target object name of the rule.

sas-web****

ClusterName

string

The cluster name.

opa-terway-nonet****

TryCount

integer

The number of attempts.

34

InterceptionType

integer

The processing type. Valid values:

  • 0: observe

  • 1: block

  • 2: alert

  • 3: allow.

0

RealInterceptionType

integer

The actual processing type that was matched. Valid values:

  • 0: observe

  • 1: block

  • 2: alert

  • 3: allow.

0

Id

integer

The ID of the alert.

1126

ClusterId

string

The ID of the container cluster.

c556c8133b5ad4378b7fc533ddbda****

RealSrcAppName

string

The source application name.

sas-service****

RealSrcPodName

string

The source pod.

sas-service-757b9d****

RealDstAppName

string

The destination application name.

sas-service****

RealDstPodName

string

The destination pod.

sas-web-84cc7dd9****

RealDstNamespace

string

The destination namespace.

service****

RealDstImageName

string

The destination image name.

sas-servi****

RealSrcNamespace

string

The source namespace.

service****

RealSrcImageName

string

The source image name.

sas-servi****

Examples

Success response

JSON format

{
  "RequestId": "D81DD78E-E006-5C65-A171-C8CB0904****",
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 45,
    "Count": 10
  },
  "InterceptionHistoryList": [
    {
      "SrcNamespace": "service****",
      "SrcRuleTargetName": "sas-web****",
      "RiskLevel": 1,
      "Status": 1,
      "DstPort": 33,
      "FirstTime": 1639718858000,
      "SrcAppName": "sas-web****",
      "RuleId": 136,
      "RuleName": "all****",
      "InterceptionName": 0,
      "DstNamespace": "service****",
      "LastTime": 1639731078000,
      "DstAppName": "sas-web****",
      "DstRuleTargetName": "sas-web****",
      "ClusterName": "opa-terway-nonet****",
      "TryCount": 34,
      "InterceptionType": 0,
      "RealInterceptionType": 0,
      "Id": 1126,
      "ClusterId": "c556c8133b5ad4378b7fc533ddbda****",
      "RealSrcAppName": "sas-service****",
      "RealSrcPodName": "sas-service-757b9d****",
      "RealDstAppName": "sas-service****",
      "RealDstPodName": "sas-web-84cc7dd9****",
      "RealDstNamespace": "service****",
      "RealDstImageName": "sas-servi****",
      "RealSrcNamespace": "service****",
      "RealSrcImageName": "sas-servi****\n"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

500 ServerError ServerError
403 NoPermission caller has no permission

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.