Consulta estatísticas sobre o número de itens de risco no gerenciamento de postura de segurança na nuvem (CSPM) para serviços em nuvem.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-sas:GetCheckCountStatistic |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| Vendors |
array |
Não |
Os provedores de serviços em nuvem. |
|
|
string |
Não |
O provedor de serviços em nuvem. Valores válidos:
|
ALIYUN |
|
| StatisticType |
string |
Não |
O tipo das estatísticas. Valores válidos:
|
instance |
| Lang |
string |
Não |
O parâmetro de idioma. |
zh |
| TaskSources |
array |
Não |
A origem da tarefa. |
zh |
|
string |
Não |
A origem da tarefa. Valores: - YAO_CHI: Console YaoChi. |
YAO_CHI |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação. |
20456DD5-5CBF-5015-9173-12CA4246B*** |
| CheckCountStatisticDTO |
object |
As estatísticas de itens de risco. |
|
| CheckCountStatisticItems |
array<object> |
As estatísticas de itens de risco. |
|
|
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 |
Check item display name |
开启公网访问 |
| VendorShowName |
string |
Vendor name |
阿里云 |
| StatisticType |
string |
O tipo das estatísticas. Valores válidos:
|
instance |
Exemplos
Resposta de sucesso
JSON formato
{
"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"
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | NoPurchase | The user did not purchase this product. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.