All Products
Search
Document Center

Security Center:ModifyVulConfig

Last Updated:Aug 14, 2026

Modifies the vulnerability scanning switch configuration.

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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

Type

string

No

The type of vulnerability to modify. Valid values:

  • cve: Linux software vulnerability

  • sys: Windows system vulnerability

  • cms: Web-CMS vulnerability

  • emg: emergency vulnerability

  • app: application vulnerability

  • yum: YUM/APT source configuration

  • scanMode: real risk

cve

Config

string

No

Specifies whether to enable or disable vulnerability detection. Valid values:

  • on: Enable vulnerability detection.

  • off: Disable vulnerability detection.

Note

If the type is set to real risk, valid values:

  • real: Real risk vulnerabilities.

  • all: All vulnerabilities.

on

No

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

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

24DDBE06-58FF-5E5E-9241-D2010D7913C1

Examples

Success response

JSON format

{
  "RequestId": "24DDBE06-58FF-5E5E-9241-D2010D7913C1"
}

Error codes

HTTP status code

Error code

Error message

Description

400 IdempotentParameterMismatch 相同的 ClientToken 被用于不同的请求参数。
500 ServerError ServerError
403 NoPermission caller has no permission
409 IdempotentRequestInProgress 使用相同 ClientToken 的请求正在处理中。

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.