Obtém a cobertura de proteção de segurança.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-mss:GetSafetyCover |
get |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| DateType |
string |
Sim |
O tipo de filtro de tempo. Suporta filtragem pelos últimos 7 dias, últimos 30 dias, último semestre ou intervalo de tempo personalizado. |
month |
| StartDate |
integer |
Sim |
A hora de início. |
1732255620000 |
| EndDate |
integer |
Sim |
A hora de término. |
1732268720000 |
| SuspEventSource |
string |
Não |
A origem do evento de alerta. |
该接口不用传 |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
A resposta. |
||
| Data |
object |
O resultado da consulta. |
|
| WafProtection |
object |
A cobertura de proteção WAF. |
|
| ProtectionCount |
integer |
The number of protected assets. |
5 |
| NoProtectionCount |
integer |
The number of unprotected assets. |
5 |
| TotalCount |
integer |
The total number of assets. |
10 |
| ProtectionRate |
string |
The protection rate. |
50.00 |
| ProtectionGrowthRate |
string |
The year-over-year growth rate of the protection rate. |
35.00 |
| EcsProtection |
object |
A cobertura de proteção ECS. |
|
| ProtectionCount |
integer |
The number of protected assets. |
5 |
| NoProtectionCount |
integer |
The number of unprotected assets. |
5 |
| TotalCount |
integer |
The total number of assets. |
10 |
| ProtectionRate |
string |
The protection rate. |
50.00 |
| ProtectionGrowthRate |
string |
The year-over-year growth rate of the protection rate. |
35.00 |
| CfwProtection |
object |
A cobertura de proteção do Cloud Firewall (CFW). |
|
| ProtectionCount |
integer |
The number of protected assets. |
5 |
| NoProtectionCount |
integer |
The number of unprotected assets. |
5 |
| TotalCount |
integer |
The total number of assets. |
10 |
| ProtectionRate |
string |
The protection rate. |
50.00 |
| ProtectionGrowthRate |
string |
The year-over-year growth rate of the protection rate. |
35.00 |
| RequestId |
string |
O ID da solicitação. |
564f8bb9-df3c-42a0-877a-b35d48f66603 |
| Code |
string |
O código de resposta. |
404 |
| Message |
string |
A mensagem retornada para o resultado. |
system error |
| HttpStatusCode |
integer |
O código de status HTTP. |
200 |
| Success |
boolean |
Indica se a chamada foi bem-sucedida. Valores válidos:
|
True |
Exemplos
Resposta de sucesso
JSON formato
{
"Data": {
"WafProtection": {
"ProtectionCount": 5,
"NoProtectionCount": 5,
"TotalCount": 10,
"ProtectionRate": "50.00",
"ProtectionGrowthRate": "35.00"
},
"EcsProtection": {
"ProtectionCount": 5,
"NoProtectionCount": 5,
"TotalCount": 10,
"ProtectionRate": "50.00",
"ProtectionGrowthRate": "35.00"
},
"CfwProtection": {
"ProtectionCount": 5,
"NoProtectionCount": 5,
"TotalCount": 10,
"ProtectionRate": "50.00",
"ProtectionGrowthRate": "35.00"
}
},
"RequestId": "564f8bb9-df3c-42a0-877a-b35d48f66603",
"Code": "404",
"Message": "system error",
"HttpStatusCode": 200,
"Success": true
}
Códigos de erro
Consulte Códigos de Erro para uma lista completa.
Notas de versão
Consulte Notas de Versão para uma lista completa.