Updates a baseline whitelist record.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateBaselineCheckWhiteRecord |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type for the request and response messages. Default value: zh. Valid values:
|
zh |
| CheckId |
integer |
No |
The ID of the check item. Note
Call the ListCheckItemWarningSummary operation to obtain the check item ID. |
16 |
| RecordId |
integer |
No |
The ID of the whitelist record. |
14 |
| Source |
string |
No |
The data source. Valid values:
|
agentless |
| TargetType |
string |
No |
The type of the target on which the whitelist takes effect. Valid values:
|
all_instance |
| Reason |
string |
No |
The reason for adding the whitelist entry. |
Manually processed. |
| RemoveContainerUuids |
array |
No |
The list of asset UUIDs for which container names are to be removed from the whitelist. |
|
|
string |
No |
The UUID of the asset for which the container name is to be removed from the whitelist. Note
Call the DescribeCloudCenterInstances operation to obtain this parameter. |
0e7aac1c-6536-43d1-9df8-73e2a65***** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PlainResult |
||
| Data |
object |
The returned data. |
|
| RecordId |
integer |
The ID of the whitelist record. |
1582 |
| CheckId |
integer |
The ID of the check item. |
92 |
| TargetType |
string |
The type of the target on which the whitelist takes effect. Valid values:
|
instance |
| Target |
string |
The whitelisted target. |
HOST_BASELINE_WHITE_LIST_23 |
| Reason |
string |
The reason for adding the whitelist entry. |
暂可忽略 |
| Source |
string |
The data source. Valid values:
|
agentless |
| Lang |
string |
The language type for the request and response messages. Default value: zh. Valid values:
|
en |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use this ID to troubleshoot issues. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
Examples
Success response
JSON format
{
"Data": {
"RecordId": 1582,
"CheckId": 92,
"TargetType": "instance",
"Target": "HOST_BASELINE_WHITE_LIST_23",
"Reason": "暂可忽略",
"Source": "agentless",
"Lang": "en"
},
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.