All Products
Search
Document Center

Security Center:GetVulWhitelist

Last Updated:Mar 25, 2026

Retrieves information about a vulnerability whitelist.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-sas:GetVulWhitelist

get

*VulWhitelist

acs:yundun-sas:{#regionId}:{#accountId}:vulwhitelist/{#VulWhitelistId}

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:

  • type: the type of the assets to which the rule is applied. Valid values:

    • Uuid: server

    • GroupId: server group

  • groupIds: the ID of the server group

  • uuids: the UUID of the server

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: the name of the vulnerability.

  • Type: the type of the vulnerability. Valid values:

    • cve: Linux software vulnerability

    • sys: Windows system vulnerability

    • cms: Web-CMS vulnerability

    • app: application vulnerability

    • emg: urgent vulnerabilities

  • AliasName: the alias of the vulnerability.

[ { "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.