Consulta os itens de verificação que podem ser personalizados.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-sas:ListCheckItem |
list |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| CurrentPage |
integer |
Não |
O número da página a ser retornada. Valor padrão: 1. |
1 |
| PageSize |
integer |
Não |
O número de entradas por página. Valor padrão: 20. |
10 |
| Lang |
string |
Não |
O idioma do conteúdo na solicitação e na resposta. Valor padrão: zh. Valores válidos:
|
zh |
| TaskSources |
array |
Não |
Lista de origens de tarefas. |
|
|
string |
Não |
Origem da tarefa. O valor pode ser:
|
YAO_CHI |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
ListCheckResultResponse. |
||
| CheckItems |
array<object> |
Os itens de verificação. |
|
|
array<object> |
Informações do item de verificação. |
||
| InstanceSubType |
string |
O subtipo de ativo do serviço em nuvem. Valores válidos:
|
INSTANCE |
| CheckId |
integer |
O ID do item de verificação. |
21 |
| CheckShowName |
string |
O nome do item de verificação. |
IPv4 Access Control |
| InstanceType |
string |
O tipo de ativo do serviço em nuvem. Valores válidos:
|
API_GATEWAY |
| RiskLevel |
string |
O nível de risco do item de verificação. Valores válidos:
|
HIGH |
| Vendor |
string |
O tipo de ativo em nuvem. Valores válidos:
|
0 |
| SectionIds |
array |
Os IDs das seções associadas aos itens de verificação. |
|
|
integer |
O ID da seção associada ao item de verificação. |
102 |
|
| Description |
object |
A descrição do item de verificação. |
|
| Type |
string |
The type of the description of the check item. Valid value:
|
text |
| Value |
string |
The content of the description for the check item when the Type parameter is text. |
Checks whether strict access control policies are configured. Requirements: 1. If no blacklists and whitelist are configured, configure a whitelist first. 2. If a blacklist is configured, find the blacklist in the list of access control policies. We recommend that you do not configure an empty blacklist. 3. If a whitelist is configured, find the whitelist in the list of access control policies. We recommend that you do not configure an empty whitelist. Make sure that the whitelist does not contain 0.0.0.0. You can add the following IP addresses to the whitelist: ${IPList}. |
| CustomConfigs |
array<object> |
Os itens de verificação. |
|
|
object |
Informações de configuração de verificação definidas pelo usuário. |
||
| Name |
string |
The name of the check item. |
IPList |
| TypeDefine |
string |
The type of the check item. The value is a JSON string. |
{\"type\":\"LIST\",\"range\":[1,512],\"listType\":{\"type\":\"STRING\",\"range\":[0,22]}} |
| DefaultValue |
string |
The default value of the check item. The value is a string. |
0 |
| Value |
string |
The specified value of the check item. The value is a string. |
1 |
| ShowName |
string |
The display name of the check item. |
IP列表 |
| EstimatedCount |
integer |
A cota estimada que será consumida por este item de verificação. |
30 |
| CheckType |
string |
O tipo de origem do item de verificação do Situation Awareness:
|
SYSTEM |
| PageInfo |
object |
As informações de paginação. |
|
| CurrentPage |
integer |
O número da página retornada. |
1 |
| PageSize |
integer |
O número de entradas por página. |
10 |
| TotalCount |
integer |
O número total de entradas retornadas. |
149 |
| Count |
integer |
O número de entradas retornadas na página atual. |
10 |
| RequestId |
string |
O ID da solicitação. |
9F4E6157-9600-5588-86B9-38F09067**** |
Exemplos
Resposta de sucesso
JSON formato
{
"CheckItems": [
{
"InstanceSubType": "INSTANCE",
"CheckId": 21,
"CheckShowName": "IPv4 Access Control",
"InstanceType": "API_GATEWAY",
"RiskLevel": "HIGH",
"Vendor": "0",
"SectionIds": [
102
],
"Description": {
"Type": "text",
"Value": "Checks whether strict access control policies are configured. Requirements: 1. If no blacklists and whitelist are configured, configure a whitelist first. 2. If a blacklist is configured, find the blacklist in the list of access control policies. We recommend that you do not configure an empty blacklist. 3. If a whitelist is configured, find the whitelist in the list of access control policies. We recommend that you do not configure an empty whitelist. Make sure that the whitelist does not contain 0.0.0.0. You can add the following IP addresses to the whitelist: ${IPList}."
},
"CustomConfigs": [
{
"Name": "IPList",
"TypeDefine": "{\\\"type\\\":\\\"LIST\\\",\\\"range\\\":[1,512],\\\"listType\\\":{\\\"type\\\":\\\"STRING\\\",\\\"range\\\":[0,22]}}",
"DefaultValue": "0",
"Value": "1",
"ShowName": "IP列表"
}
],
"EstimatedCount": 30,
"CheckType": "SYSTEM"
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 149,
"Count": 10
},
"RequestId": "9F4E6157-9600-5588-86B9-38F09067****"
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 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.