Removes a vulnerability from the whitelist. After you remove the vulnerability from the whitelist, Security Center can detect the vulnerability and generate alerts for the vulnerability.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDeleteVulWhitelist

The operation that you want to perform. Set the value to ModifyDeleteVulWhitelist.

Whitelist String No "[{"Type":"sys","TargetInfo":"{\"type\":\"GroupId\",\"uuids\":[],\"groupIds\":[9273980]}","AliasName":"2021-09 servicing stack update for Windows Server 2016 for x64-based systems (KB5005698)","Id":2351979,"Reason":"c","Name":"5005698","id":2}]"

The vulnerability that you want to remove from the whitelist. The value of this parameter is in the JSON format.

Response parameters

Parameter Type Example Description
RequestId String 2A3F54ED-C827-5B72-A0A7-F5B1CF8D27B7

The ID of the request, which is used to locate and troubleshoot issues.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ModifyDeleteVulWhitelist
&Whitelist="[{"Type":"sys","TargetInfo":"{\"type\":\"GroupId\",\"uuids\":[],\"groupIds\":[9273980]}","AliasName":"2021-09 servicing stack update for Windows Server 2016 for x64-based systems (KB5005698)","Id":2351979,"Reason":"c","Name":"5005698","id":2}]"
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ModifyDeleteVulWhitelistResponse>
    <RequestId>2A3F54ED-C827-5B72-A0A7-F5B1CF8D27B7</RequestId>
</ModifyDeleteVulWhitelistResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "2A3F54ED-C827-5B72-A0A7-F5B1CF8D27B7"
}

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.