Modifies the vulnerability scanning toggle configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyVulConfig |
update |
*All Resource
|
None | None |
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 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Different requests must use different tokens. The token can contain only ASCII characters and cannot exceed 64 characters in length. |
|
|
No |
Specifies whether to perform only a dry run of the request. Valid values: true: performs only a dry run without performing the actual operation. false: performs the actual request. Default value: false. |
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 | 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.