Create a vulnerability whitelist.

You can call this operation to create a whitelist of vulnerabilities for which not to send alerts when they are detected.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyCreateVulWhitelist

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

Reason String No The vulnerability is not harmful.

The reason for adding the vulnerability to the whitelist.

Whitelist String No [{"name":"oval:com.redhat.rhsa:def:20173263","type":"cve","aliasName":"RHSA-2017:3263: curl security update"}]

The vulnerability information added to the whitelist, in JSON format.

Response parameters

Parameter Type Example Description
RequestId String DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6

The ID of the request.

Examples

Sample requests


/? Action=ModifyCreateVulWhitelist
&Reason=The vulnerability is not harmful.
&Whitelist=[{"name":"oval:com.redhat.rhsa:def:20173263","type":"cve","aliasName":"RHSA-2017:3263: curl security update"}]
&<Common request parameters>

Sample success responses

JSON format

{
	"RequestId":"DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6"
}

Error codes

View error codes