Modifies the configuration of a specified honeypot.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateHoneypot |
update |
*HoneyPot
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Meta |
string |
No |
The custom configuration of the honeypot. Note
The value of this parameter is obtained from the Template field returned by the ListAvailableHoneypot operation. |
{\"burp\":\"open\",\"webshell\":\"open\",\"trojan_git\":\"close\",\"portrait_option\":\"true\"} |
| HoneypotId |
string |
Yes |
The honeypot ID. Note
You can call the ListHoneypot operation to obtain this value. |
945607c2ae2a1a737c04599d6608065688bfc6048d9b9d306ce8dc8191c***** |
| HoneypotName |
string |
No |
The custom name of the honeypot. |
ExtMail |
| Lang |
string |
No |
The language of the content in the request and response. Default value: zh. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Data |
object |
The honeypot information. |
|
| HoneypotId |
string |
The honeypot ID. |
9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f**** |
| HoneypotName |
string |
The custom name of the honeypot. |
hyl-phpmyadmin |
| HoneypotImageName |
string |
The name of the honeypot image. |
webpage |
| PresetId |
string |
The ID of the custom honeypot parameter. |
868a7579-00b5-4a74-999d-8bd3f411e8a3 |
| State |
array |
The status of the honeypot. |
|
|
string |
The status of the honeypot. |
running |
|
| HoneypotImageDisplayName |
string |
The display name of the honeypot image. |
Webmin |
| NodeId |
string |
The unique ID of the management node. |
a882e590-b87b-45a6-87b9-d0a3e5a0**** |
| Success |
boolean |
Indicates whether the call was successful. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The response message. |
successful |
| 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. |
3B323ADD-6CF8-51F6-9047-2F0A4E3F5EFD |
| HttpStatusCode |
integer |
The HTTP status code of the response. |
200 |
Examples
Success response
JSON format
{
"Data": {
"HoneypotId": "9bf8cd373112263d4bc102fc5dba9d9f812ee05d4d35c487d330d52e937f****",
"HoneypotName": "hyl-phpmyadmin",
"HoneypotImageName": "webpage",
"PresetId": "868a7579-00b5-4a74-999d-8bd3f411e8a3",
"State": [
"running"
],
"HoneypotImageDisplayName": "Webmin",
"NodeId": "a882e590-b87b-45a6-87b9-d0a3e5a0****"
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "3B323ADD-6CF8-51F6-9047-2F0A4E3F5EFD",
"HttpStatusCode": 200
}
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.