Enables the one-click scan feature on the vulnerability management page of the console.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-aegis:ModifyStartVulScan |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Types |
string |
No |
Settings for the vulnerability types to be detected by the one-click scan feature. Valid values:
Note
If this parameter is left empty, all vulnerability types are detected. |
"cve,sys,cms,app,emg" |
| Uuids |
string |
No |
The list of server UUIDs. Separate multiple UUIDs with commas (,). Note
You can call the DescribeCloudCenterInstances operation to obtain this parameter. |
1587bedb-fdb4-48c4-9330-**** |
| ClientToken |
string |
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. |
|
| ResourceDirectoryAccountId |
integer |
No |
The Alibaba Cloud account ID of the member accounts in the resource folder. Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
|
|
No |
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
Default value: false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4066CAC3-F83A-4729-9995-A5558A61B546 |
Examples
Success response
JSON format
{
"RequestId": "4066CAC3-F83A-4729-9995-A5558A61B546"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 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.