Updates the configurations of the vulnerability scan feature for a server.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyVulTarget |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Config |
string |
No |
The configurations. The value of this parameter is in the JSON format and contains the following fields:
|
{\"vulType\":\"sys\"} |
| Target |
string |
No |
The operation. The value of this parameter is in the JSON format and contains the following fields:
|
[{\"target\": \"9cd5c684-7201-4de5-ad2c-cea89a5e****\", \"targetType\": \"uuid\", \"flag\": \"add\"}] |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
38597320-A990-5444-9A4C-7A1269610C2A |
Examples
Success response
JSON format
{
"RequestId": "38597320-A990-5444-9A4C-7A1269610C2A"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.