Skip to main content

CreateVulWhitelist

Description

Add the specified vulnerability to the vulnerability whitelist. Server Guard will not report the vulnerability in the whitelist.

Request Method

POST

Request Path

/apsara/route/Sas/CreateVulWhitelist

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
WhitelistBODYstringNoNo sample value for this parameter.the vulnerability information to be added to the whitelist is expressed in JSON format. refer to the request example.
versionBODYstringNo2016-01-01version of api
ReasonBODYstringNoNo sample value for this parameter.the reason why the vulnerability was added to the whitelist.

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}