Configures vulnerability detection for a server.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyVulTargetConfig |
The operation that you want to perform. Set the value to ModifyVulTargetConfig. |
SourceIp | String | No | 1.2.XX.XX |
The source IP address of the request. |
Type | String | No | cve |
The type of the vulnerabilities to detect. Valid values:
|
Uuid | String | No | inet-7c676676-06fa-442e-90fb-b802e5d6**** |
The UUID of the server for which you want to configure vulnerability detection. |
Config | String | No | off |
Specifies whether to enable vulnerability detection. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1FF908BA-ADD8-5138-8595-614C6E3C6658 |
The ID of the request, which is used to locate and troubleshoot issues. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyVulTargetConfig
&SourceIp=1.2.XX.XX
&Type=cve
&Uuid=inet-7c676676-06fa-442e-90fb-b802e5d6****
&Config=off
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyVulTargetConfigResponse>
<RequestId>1FF908BA-ADD8-5138-8595-614C6E3C6658</RequestId>
</ModifyVulTargetConfigResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "1FF908BA-ADD8-5138-8595-614C6E3C6658"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
500 | ServerError | ServerError | The error message returned because a server error occurred. |
For a list of error codes, visit the API Error Center.