Queries the micro-segmentation defense overview.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetInterceptionSummary |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClusterId |
string |
No |
The ID of the cluster to query. This parameter takes effect only on the InterceptionCountInDays response parameter. Note
You can call the DescribeGroupedContainerInstances operation to obtain this parameter. |
c2999***bb61b |
| ExcludeClusterTypes |
array |
No |
The list of cluster types to exclude. |
|
|
string |
No |
The cluster type to exclude. Note
We recommend that you exclude only ACS. |
ACS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
F35F45B0-5D6B-4238-BE02-A62D0760E840 |
| InterceptionSummary |
object |
The statistics information. |
|
| CloseClusterCount |
integer |
The number of unprotected clusters. |
0 |
| RiskCount30Day |
integer |
The number of risks in the last 30 days. |
0 |
| RiskCount180Day |
integer |
The number of risks in the last 180 days. |
0 |
| OpenClusterCount |
integer |
The number of clusters with protection enabled. |
0 |
| RiskCountToday |
integer |
The number of risks in the last 24 hours. |
0 |
| CloseRuleCount |
integer |
The number of disabled rules. |
0 |
| RuleCount |
integer |
The total number of rules. |
0 |
| ClusterCount |
integer |
The total number of clusters. |
0 |
| OpenRuleCount |
integer |
The number of enabled rules. |
0 |
| InterceptionCountInDays |
integer |
The total number of interception records for the specified cluster. |
0 |
Examples
Success response
JSON format
{
"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 code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.