Envia uma tarefa de verificação de segurança para servidores de ativos com um clique.
Experimente agora
Testar
Autorização RAM
|
Ação |
Nível de acesso |
Tipo de recurso |
Chave de condição |
Ação dependente |
|
yundun-sas:ModifyPushAllTask |
update |
*All Resource
|
Nenhuma | Nenhuma |
Parâmetros da solicitação
|
Parâmetro |
Tipo |
Obrigatório |
Descrição |
Exemplo |
| SourceIp |
string |
Não |
O endereço IP da origem de acesso. |
1.2.XX.XX |
| Uuids |
string |
Sim |
Os UUIDs dos servidores nos quais você deseja realizar verificações de segurança. Separe vários UUIDs com vírgulas (,). |
inet-923b4538-0e88-409d-80ba-cb2e7487****,dc1691eb-656f-472f-b2aa-04f621f4****,70452f92-9fc1-45c5-ab35-e7bf8552**** |
| Tasks |
string |
Sim |
Os itens de verificação a serem incluídos na verificação de segurança. Separe vários itens de verificação com vírgulas (,). Valores válidos:
|
HEALTH_CHECK,OVAL_ENTITY |
Elementos de resposta
|
Elemento |
Tipo |
Descrição |
Exemplo |
|
object |
|||
| RequestId |
string |
O ID da solicitação, que é um identificador exclusivo gerado pelo Alibaba Cloud para a solicitação. Você pode usar este ID para solucionar problemas. |
91EB4AC7-7FEF-4C72-BE49-4414E459AEC2 |
| PushTaskRsp |
object |
O resultado da execução da tarefa de verificação de segurança. |
|
| PushTaskResultList |
array<object> |
As informações sobre os servidores nos quais a tarefa de verificação de segurança falhou. |
|
|
object |
|||
| Uuid |
string |
The UUID of the server. |
5493fe42-61f5-4627-9aa2-8c449bbe**** |
| GroupId |
integer |
The ID of the server group. |
226 |
| Success |
boolean |
Indicates whether the security check was successful. Valid values:
|
false |
| Region |
string |
The region where the server is located. |
cn-beijing |
| InstanceName |
string |
The name of the server. |
TestInstance |
| Online |
boolean |
Indicates whether the Security Center agent is online. Valid values:
Nota
If the agent is offline, Security Center cannot provide security protection for the server. |
false |
| Message |
string |
The details about the security check task failure. |
successful |
| Ip |
string |
The IP address of the server. |
127.136.XX.XX |
| OsVersion |
string |
The operating system version of the server. |
linux |
| InstanceId |
string |
The ID of the server instance. |
i-wz9f7wlklxqnvdk**** |
Exemplos
Resposta de sucesso
JSON formato
{
"RequestId": "91EB4AC7-7FEF-4C72-BE49-4414E459AEC2",
"PushTaskRsp": {
"PushTaskResultList": [
{
"Uuid": "5493fe42-61f5-4627-9aa2-8c449bbe****",
"GroupId": 226,
"Success": false,
"Region": "cn-beijing",
"InstanceName": "TestInstance",
"Online": false,
"Message": "successful",
"Ip": "127.136.XX.XX",
"OsVersion": "linux",
"InstanceId": "i-wz9f7wlklxqnvdk****"
}
]
}
}
Códigos de erro
|
Código de status HTTP |
Código de erro |
Mensagem de erro |
Descrição |
|---|---|---|---|
| 400 | PushTaskError | Failed to push task. | |
| 400 | IllegalParam | Illegal param | |
| 400 | FreeVersionNotPermit | Free version is not permitted. | |
| 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.