ModifyVulTargetConfig
Description
call ModifyVulTargetConfig to set vulnerability configuration for a single server.
Request Method
POST
Request Path
/apsara/route/Sas/ModifyVulTargetConfig
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
Type | BODY | string | No | vul | configuration type. |
SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
Uuid | BODY | string | No | xxxx-xxxx-xxxx-xxxxx-xxxxxx | server uuid. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
Config | BODY | string | No | cms | details of the configuration item. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 3A85CFCF-05C8-451A-9E41-C0D5E96BA407 | request ID of the result. |
Example
Successful Response example
{
"RequestId":"3A85CFCF-05C8-451A-9E41-C0D5E96BA407"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}