All Products
Search
Document Center

Security Center:GetInterceptionSummary

Last Updated:Feb 20, 2024

Queries the statistics of the container firewall feature.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:GetInterceptionSummaryRead
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringNo

The ID of the cluster.

Note You can call the DescribeGroupedContainerInstances operation to query the IDs of clusters.
c2999***bb61b

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

F35F45B0-5D6B-4238-BE02-A62D0760E840
InterceptionSummaryobject

The statistics.

CloseClusterCountinteger

The number of clusters that are not protected.

0
RiskCount30Daylong

The number of security risks that are detected in the last 30 days.

0
RiskCount180Daylong

The number of security risks that are detected in the last 180 days.

0
OpenClusterCountinteger

The number of clusters that are protected.

0
RiskCountTodaylong

The number of security risks that are detected in the last 24 hours.

0
CloseRuleCountinteger

The number of disabled cluster defense rules.

0
RuleCountinteger

The total number of cluster defense rules.

0
ClusterCountinteger

The total number of clusters.

0
OpenRuleCountinteger

The number of enabled cluster defense rules.

0
InterceptionCountInDaysinteger

The total number of interception records for the specified cluster.

0

Examples

Sample success responses

JSONformat

{
  "RequestId": "F35F45B0-5D6B-4238-BE02-A62D0760E840",
  "InterceptionSummary": {
    "CloseClusterCount": 0,
    "RiskCount30Day": 0,
    "RiskCount180Day": 0,
    "OpenClusterCount": 0,
    "RiskCountToday": 0,
    "CloseRuleCount": 0,
    "RuleCount": 0,
    "ClusterCount": 0,
    "OpenRuleCount": 0,
    "InterceptionCountInDays": 0
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.