Modifies the vulnerability scanning switch configuration.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of vulnerability to modify. Valid values:
|
cve |
| Config |
string |
No |
Specifies whether to enable or disable vulnerability detection. Valid values:
Note
If the type is set to real risk, valid values:
|
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.