You can call this operation to create a vulnerability whitelist. Vulnerabilities added to the whitelist no longer trigger alerts.
Debugging
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 does not pose any threat. |
The reason why the vulnerability was added to the whitelist. |
Whitelist | String | No | [{"name":"oval:com.redhat.rhsa:def:20173263","type":"cve","aliasName":"RHSA-2017:3263: curl security update"}] |
The information about the vulnerability that has been added to the whitelist. Format: JSON. |
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 does not pose any threat.
&Whitelist=[{"name":"oval:com.redhat.rhsa:def:20173263","type":"cve","aliasName":"RHSA-2017:3263: curl security update"}]
&<Common request parameters>
Sample success responses
XML
format
<ModifyCreateVulWhitelist>
<RequestId>DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6</RequestId>
</ModifyCreateVulWhitelist>
JSON
format
{
"RequestId":"DFE4F166-1AC9-4FAC-A4E4-F0608AD705A6"
}
Error codes
For a list of error codes, visit the API Error Center.