Retrieves the time trend pass rate statistics for Cloud Security Posture Management (CSPM) risk items.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetCheckCountStatistic |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Vendors |
array |
No |
The list of cloud service providers. |
|
|
string |
No |
The cloud service provider. Valid values:
|
ALIYUN |
|
| StatisticType |
string |
No |
The type of data statistics. Valid values:
|
AssetPassRate |
| StartTimeStamp |
integer |
No |
The start time in timestamp format. |
1672385044000 |
| EndTimeStamp |
integer |
No |
The end time in timestamp format. |
1672285044000 |
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. |
028CF634-5268-5660-9575-48C9ED6B**** |
| TimeDimensionStatisticDTO |
object |
The list of time trend statistics results. |
|
| TimeDimensionStatisticItems |
array<object> |
The time trend statistics results. |
|
|
array<object> |
|||
| DataTime |
integer |
Data time, in timestamp format. |
1712592000000 |
| StatisticDatas |
array<object> |
List of statistical data. |
|
|
object |
|||
| Name |
string |
Data type. |
COMPLIANCE_Pass |
| Value |
integer |
Quantity. |
194 |
| StatisticType |
string |
The type of data statistics. Valid values:
|
CheckPassRate |
| Dates |
array |
The list of data timestamps. |
|
|
integer |
The time point in timestamp format. |
[1712592000000] |
Examples
Success response
JSON format
{
"RequestId": "028CF634-5268-5660-9575-48C9ED6B****",
"TimeDimensionStatisticDTO": {
"TimeDimensionStatisticItems": [
{
"DataTime": 1712592000000,
"StatisticDatas": [
{
"Name": "COMPLIANCE_Pass",
"Value": 194
}
]
}
],
"StatisticType": "CheckPassRate",
"Dates": [
0
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | NoPurchase | The user did not purchase this product. | |
| 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.