Retrieves information about a vulnerability whitelist.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetVulWhitelist |
get |
*VulWhitelist
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| VulWhitelistId |
integer |
No |
The ID of the whitelist. |
1275 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request, which is used to locate and troubleshoot issues. |
09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F |
| VulWhitelist |
object |
The information about the whitelist. |
|
| Id |
integer |
The ID of the whitelist. |
1275 |
| Name |
string |
The name of the vulnerability. |
oval:com.redhat.rhsa:def:20173263 |
| Type |
string |
The type of the vulnerability. |
cve |
| AliasName |
string |
The alias of the vulnerability. |
RHSA-2017:3263: curl security update |
| Reason |
string |
The reason why the vulnerability is added to the whitelist. |
Ignore |
| Target |
string |
The application scope of the rule. The value is a JSON string that contains the following fields:
Note
If this parameter is empty, the rule is applied to all types of assets. |
{ "type": "GroupId", "uuids": [], "groupIds": [ 10782678 ] } |
| Whitelist |
string |
The information about the vulnerability that is added to the whitelist. The value is a JSON string that contains the following fields:
|
[ { "Name": "oval:com.redhat.rhsa:def:20173263", "Type": "cve", "AliasName": "RHSA-2017:3263: curl security update" } ] |
Examples
Success response
JSON format
{
"RequestId": "09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F",
"VulWhitelist": {
"Id": 1275,
"Name": "oval:com.redhat.rhsa:def:20173263",
"Type": "cve",
"AliasName": "RHSA-2017:3263: curl security update",
"Reason": "Ignore",
"Target": "{\n \"type\": \"GroupId\",\n \"uuids\": [],\n \"groupIds\": [\n 10782678\n ]\n}",
"Whitelist": "[\n {\n \"Name\": \"oval:com.redhat.rhsa:def:20173263\",\n \"Type\": \"cve\",\n \"AliasName\": \"RHSA-2017:3263: curl security update\"\n }\n]"
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidId | Invalid ID. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.