Menanyakan statistik jumlah item risiko di Cloud Security Posture Management (CSPM).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetCheckCountStatistic |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Vendors |
array |
No |
Daftar vendor cloud tempat sumber daya berada. |
|
|
string |
No |
Vendor cloud tempat sumber daya berada. Nilai yang valid:
|
ALIYUN |
|
| StatisticType |
string |
No |
Tipe statistik data. Nilai yang valid:
|
instance |
| Lang |
string |
No |
Parameter bahasa. |
zh |
| TaskSources |
array |
No |
Sumber tugas. |
zh |
|
string |
No |
Sumber tugas. Nilai yang valid:
|
YAO_CHI |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan ini. Ini adalah pengidentifikasi unik yang dihasilkan oleh Alibaba Cloud untuk permintaan ini dan dapat digunakan untuk memecahkan dan menemukan masalah. |
20456DD5-5CBF-5015-9173-12CA4246B*** |
| CheckCountStatisticDTO |
object |
Daftar hasil statistik jumlah item risiko. |
|
| CheckCountStatisticItems |
array<object> |
Hasil statistik jumlah item risiko. |
|
|
object |
|||
| InstanceId |
string |
The instance ID of the cloud service. |
i-wz9bpxyu6t74qn9g**** |
| InstanceName |
string |
The instance name of the asset. |
launch-advisor-2021**** |
| RiskCount |
integer |
The number of risk items. |
22 |
| Vendor |
integer |
The cloud service provider. Valid values:
|
ALIYUN |
| InstanceType |
integer |
The asset type. Valid values:
|
0 |
| InstanceSubType |
integer |
The subtype of the cloud service. |
0 |
| RegionId |
string |
The region. |
cn-shanghai |
| InstanceTypeName |
string |
The asset type of the cloud service. Valid values:
|
ECS |
| InstanceSubTypeName |
string |
The asset subtype of the cloud service. Valid values:
|
INSTANCE |
| Uuid |
string |
The UUID of the host instance. |
c9107c04-942f-40c1-981a-f1c1**** |
| InternetIp |
string |
The public IP address of the host instance. |
1.2.XX.XX |
| IntranetIp |
string |
The private IP address of the host instance. |
1.2.XX.XX |
| Os |
string |
The version of the operating system that the host instance runs. |
linux |
| Cores |
integer |
The number of the CPU cores used by the host instance. |
2 |
| VpcInstanceId |
string |
The ID of the VPC to which the host instance belongs. |
vpc-uf60agqq65bs98zoo**** |
| CheckShowName |
string |
检查项展示名称 |
开启公网访问 |
| VendorShowName |
string |
厂商名称 |
阿里云 |
| StatisticType |
string |
Tipe statistik data. Nilai yang valid:
|
instance |
Contoh
Respons sukses
JSONformat
{
"RequestId": "20456DD5-5CBF-5015-9173-12CA4246B***",
"CheckCountStatisticDTO": {
"CheckCountStatisticItems": [
{
"InstanceId": "i-wz9bpxyu6t74qn9g****",
"InstanceName": "launch-advisor-2021****",
"RiskCount": 22,
"Vendor": 0,
"InstanceType": 0,
"InstanceSubType": 0,
"RegionId": "cn-shanghai",
"InstanceTypeName": "ECS",
"InstanceSubTypeName": "INSTANCE",
"Uuid": "c9107c04-942f-40c1-981a-f1c1****\n",
"InternetIp": "1.2.XX.XX\n",
"IntranetIp": "1.2.XX.XX\n",
"Os": "linux",
"Cores": 2,
"VpcInstanceId": "vpc-uf60agqq65bs98zoo****\n",
"CheckShowName": "开启公网访问",
"VendorShowName": "阿里云"
}
],
"StatisticType": "instance"
}
}
Kode kesalahan
|
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 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.