Queries the security statistics of a host.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeClusterHostSecuritySummary |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
222.71.XXX.XXX |
| ClusterId |
string |
No |
The ID of the container cluster. |
c3aaf6c8085f84791882eef200cd2**** |
| ContainerFieldName |
string |
No |
The container search field. Valid values:
|
clusterId |
| ContainerFieldValue |
string |
No |
The value of the container search field. |
c1fdb5fd8d42e425d88fd73eec7be**** |
| TargetType |
string |
No |
The query type. Valid values:
|
uuid |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0B48AB3C-84FC-424D-A01D-B9270EF4**** |
| ClusterHostEvent |
object |
The host alert details. |
|
| AlarmEvent |
array<object> |
The host alert details. |
|
|
object |
|||
| RiskLevel |
string |
The alert level. Valid values:
|
remind |
| Count |
integer |
The number of alerts. |
1 |
| VulEvent |
array<object> |
The host vulnerability details. |
|
|
object |
|||
| RiskLevel |
string |
The risk level of the vulnerability. Valid values:
|
later |
| Count |
integer |
The number of vulnerabilities. |
3 |
| BaselineEvent |
array<object> |
The host baseline details. |
|
|
object |
|||
| RiskLevel |
string |
The risk level of the baseline. Valid values:
|
medium |
| Count |
integer |
The number of baselines. |
1 |
Examples
Success response
JSON format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF4****",
"ClusterHostEvent": {
"AlarmEvent": [
{
"RiskLevel": "remind",
"Count": 1
}
],
"VulEvent": [
{
"RiskLevel": "later",
"Count": 3
}
],
"BaselineEvent": [
{
"RiskLevel": "medium",
"Count": 1
}
]
}
}
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.