Performs security check tasks on servers with a few clicks.
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
SourceIp | string | No | The source IP address of the request. | 1.2.XX.XX |
Uuids | string | Yes | The UUIDs of servers on which you want to perform security check tasks. Separate multiple UUIDs with commas (,). | inet-923b4538-0e88-409d-80ba-cb2e7487****,dc1691eb-656f-472f-b2aa-04f621f4****,70452f92-9fc1-45c5-ab35-e7bf8552**** |
Tasks | string | Yes | The check items. Separate multiple check items with commas (,). Valid values:
| HEALTH_CHECK,OVAL_ENTITY |
Response parameters
Example
Normal return example
JSON
Format
{
"RequestId": "91EB4AC7-7FEF-4C72-BE49-4414E459AEC2",
"PushTaskRsp": {
"PushTaskResultList": [
{
"Uuid": "5493fe42-61f5-4627-9aa2-8c449bbe****",
"GroupId": 226,
"Success": true,
"Region": "cn-beijing",
"InstanceName": "TestInstance",
"Online": true,
"Message": "successful",
"Ip": "127.XX.XX",
"OsVersion": "linux",
"InstanceId": "i-wz9f7wlklxqnvdk****"
}
]
}
}
Error codes
Http code | Error code | Error message |
---|---|---|
400 | PushTaskError | Failed to push task. |
400 | IllegalParam | Illegal param |
500 | ServerError | ServerError |
For a list of error codes, visit the API error center.
Change history
Change time | Summary of changes | Operate | ||||
---|---|---|---|---|---|---|
2022-08-01 | The error codes of the API operation has changed | |||||
| ||||||
2022-08-01 | The error codes of the API operation has changed | |||||
|