Queries vulnerability whitelist entries by paging.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVulWhitelist |
get |
*VulWhitelist
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
No |
The page number when you perform a paged query. Minimum value: 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page when you perform a paged query. Default value: 10. |
10 |
| Lang |
string |
No |
The language type of the request and response. Default value: zh. Valid values:
|
zh |
| ResourceDirectoryAccountId |
integer |
No |
The Alibaba Cloud account ID of the member accounts in the resource folder. Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CurrentPage |
integer |
The page number of the current page in the paged query. |
1 |
| RequestId |
string |
The request ID. |
74F97EF7-B543-43FD-A4E9-18456731F9C5 |
| PageSize |
integer |
The number of entries per page in the paged query. |
10 |
| TotalCount |
integer |
The total number of entries. |
1 |
| Count |
integer |
The number of entries on the current page in the paged query. |
2 |
| VulWhitelists |
array<object> |
The list of vulnerability whitelist entries. |
|
|
object |
The vulnerability information. |
||
| Type |
string |
The vulnerability type. |
cve |
| TargetInfo |
string |
The scope of the rule. The value is a JSON string that contains the following fields:
Note
If this value is empty, the rule applies to all assets. |
{"type":"GroupId","groupIds":[916****],"uuids":[]} |
| AliasName |
string |
The alias of the vulnerability. |
RHSA-2017:3263: curl security update |
| Name |
string |
The name of the vulnerability. |
oval:com.redhat.rhsa:def:20173263 |
| Reason |
string |
The reason for adding the vulnerability to the whitelist. |
ignore |
| Id |
string |
The rule ID. |
1275 |
| Whitelist |
string |
The vulnerability information. The value is in JSON format.
|
[{ "name":"oval:com.redhat.rhsa:def:20173263", "type":"cve", "aliasName":"RHSA-2017:3263: curl security update" }] |
Examples
Success response
JSON format
{
"CurrentPage": 1,
"RequestId": "74F97EF7-B543-43FD-A4E9-18456731F9C5",
"PageSize": 10,
"TotalCount": 1,
"Count": 2,
"VulWhitelists": [
{
"Type": "cve",
"TargetInfo": "{\"type\":\"GroupId\",\"groupIds\":[916****],\"uuids\":[]}",
"AliasName": "RHSA-2017:3263: curl security update",
"Name": "oval:com.redhat.rhsa:def:20173263",
"Reason": "ignore",
"Id": "1275",
"Whitelist": "[{\n\"name\":\"oval:com.redhat.rhsa:def:20173263\",\n\"type\":\"cve\",\n\"aliasName\":\"RHSA-2017:3263: curl security update\"\n}]"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 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.