All Products
Search
Document Center

Security Center:ModifyCreateVulWhitelist

Last Updated:Sep 15, 2026

Adds a vulnerability whitelist. Vulnerabilities added to the whitelist are no longer displayed in the alert list.

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:ModifyCreateVulWhitelist

update

*VulWhitelist

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

None None

Request parameters

Parameter

Type

Required

Description

Example

Whitelist

string

Yes

The information about the vulnerability to add to the whitelist. The value is a JSON string that contains the following fields:

  • Status: The status of the vulnerability.

  • GmtLast: The timestamp when the vulnerability was last detected. Unit: milliseconds.

  • LaterCount: The number of medium-priority vulnerabilities.

  • AsapCount: The number of high-priority vulnerabilities.

  • 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: emergency vulnerability

  • Related: The CVE ID of the vulnerability.

  • HandledCount: The number of handled vulnerabilities.

  • AliasName: The alias of the vulnerability.

  • RuleModifyTime: The time when the vulnerability was last published.

  • NntfCount: The number of low-priority vulnerabilities.

  • TotalFixCount: The total number of fixed vulnerabilities.

  • Tags: The tags of the vulnerability.

Note

You can call the DescribeGroupedVul operation to obtain the vulnerability information to add to the whitelist.

[{"Status":0,"GmtLast":1662281929000,"LaterCount":0,"AsapCount":1,"Name":"oval:com.redhat.rhsa:def:20172836","Type":"cve","Related":"CVE-2017-14491,CVE-2017-14492,CVE-2017-14493,CVE-2017-14494,CVE-2017-14495,CVE-2017-14496","HandledCount":1,"AliasName":"RHSA-2017:2836-Critical: dnsmasq security update","RuleModifyTime":1535542395000,"NntfCount":0,"TotalFixCount":196668,"Tags":"Exploit Exists,Code Execution"},{"Status":0,"GmtLast":1662281933000,"LaterCount":0,"AsapCount":1,"Name":"oval:com.redhat.rhsa:def:20173075","Type":"cve","Related":"CVE-2017-13089,CVE-2017-13090","HandledCount":1,"AliasName":"RHSA-2017:3075-Important: wget security update","RuleModifyTime":1551432867000,"NntfCount":0,"TotalFixCount":369136,"Tags":"Code Execution"}]

Reason

string

No

The reason for adding the vulnerability whitelist.

This vulnerability is not harmful

TargetInfo

string

No

The scope in which the whitelist takes effect. The value is a JSON string that contains the following fields:

  • type: The type of the scope. Valid values:
    • GroupId: server group

    • Uuid: host asset

  • uuids: The collection of host asset UUIDs. The field type is String.

  • groupIds: The collection of server group IDs. The field type is Long.

Note

If this parameter is left empty, the whitelist takes effect on all hosts. If type is set to GroupId, groupIds cannot be empty. If type is set to Uuid, uuids cannot be empty.

{"type":"Uuid","uuids":["b31a708f-5fea-426e-bebe-a7b0893****","1f749687-3b5d-4e11-8140-d964673****"],"groupIds":[]}

ClientToken

string

No

The client token that is used to ensure the idempotence of the request. Different requests must use different tokens. The token supports only ASCII characters and cannot exceed 64 characters in length.

ResourceDirectoryAccountId

integer

No

The Alibaba Cloud account ID of the member accounts in the resource folder.

Note

Invoke the DescribeMonitorAccounts operation to obtain this parameter.

No

Specifies whether to perform only a dry run. Valid values:

  • true: performs only a dry run without executing the actual operation.

  • false: performs the actual operation.

Default value: false.

Response elements

Element

Type

Description

Example

object

The response parameters.

RequestId

string

The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues.

6B23A612-D997-5176-8C3B-D640DFD65772

VulWhitelistList

object

The vulnerability whitelist information.

Important This parameter is not returned when vulnerability whitelists are added or updated in batches. It is returned only when a single vulnerability whitelist entry is added or updated.

Id

integer

The vulnerability whitelist ID.

1002

Examples

Success response

JSON format

{
  "RequestId": "6B23A612-D997-5176-8C3B-D640DFD65772",
  "VulWhitelistList": {
    "Id": 1002
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InnerError InnerError
400 RdCheckNoPermission Resource directory account verification has no permission.
400 IdempotentParameterMismatch 相同的 ClientToken 被用于不同的请求参数。
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.
409 IdempotentRequestInProgress 使用相同 ClientToken 的请求正在处理中。

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.