All Products
Search
Document Center

Security Center:ListHoneypotNode

Last Updated:Nov 13, 2024

Queries the information about management nodes.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListHoneypotNodeget
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
NodeNamestringNo

The name of the management node.

cyct_cnymu
NodeIdstringNo

The ID of the management node.

7d110ca6-05ee-4149-8042-13ad1a41fd****
CurrentPageintegerNo

The number of the page to return.

1
PageSizeintegerNo

The number of entries to return on each page.

20

Response parameters

ParameterTypeDescriptionExample
object

PageResult

HoneypotNodeListarray<object>

An array that consists of the information about the management nodes.

HoneypotNodeobject
NodeIdstring

The ID of the management node.

7d110ca6-05ee-4149-8042-13ad1a41fd****
NodeNamestring

The name of the management node.

cyct_cnymu
HoneypotTotalCountinteger

The maximum number of honeypots that can be deployed to the management node.

10
HoneypotUsedCountinteger

The number of honeypots that are deployed to the management node.

2
ProbeTotalCountinteger

The maximum number of probes that can be deployed for the management node.

5
ProbeUsedCountinteger

The number of probes that are deployed for the management node.

2
TotalStatusinteger

The status of the management node. Valid values:

  • 1: normal
  • 2: abnormal
1
EcsInstanceIdstring

The ID of the instance.

i-bp1fs3qsc1msa3512k****
CreateTimestring

The time when the management node was created.

2022-08-04 15:52:56
SecurityGroupProbeIpListarray

An array consisting of the CIDR blocks that are allowed to access the management node.

SecurityGroupProbeIpstring

The CIDR block that is allowed to access the management node.

0.0.0.0/0
AllowHoneypotAccessInternetboolean

Indicates whether a honeypot is allowed to access the Internet. Valid values:

  • true: The honeypot is allowed to access the Internet.
  • false: The honeypot is not allowed to access the Internet.
true
DefaultNodeboolean

The type of the management node. Default value: false. Valid values:

  • false: non-default type
  • true: default type
false
NodeIpstring

The IP address of the management node.

119.180.XX.XX
UpgradeAvailableboolean

Indicates whether the management node can be upgraded. Valid values:

  • false: no
  • true: yes
true
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page.

20
TotalCountinteger

The total number of entries returned.

149
Countinteger

The number of entries returned on the current page.

2
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
Codestring

The status code returned. The status code 200 indicates that the request was successful. Other status codes indicate that the request failed. You can identify the cause of the failure based on the status code.

200
Messagestring

The error message returned.

successful
RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

337BEA70-B03D-5370-8420-436F3FCD9924
HttpStatusCodeinteger

The HTTP status code returned.

200

Examples

Sample success responses

JSONformat

{
  "HoneypotNodeList": [
    {
      "NodeId": "7d110ca6-05ee-4149-8042-13ad1a41fd****",
      "NodeName": "cyct_cnymu",
      "HoneypotTotalCount": 10,
      "HoneypotUsedCount": 2,
      "ProbeTotalCount": 5,
      "ProbeUsedCount": 2,
      "TotalStatus": 1,
      "EcsInstanceId": "i-bp1fs3qsc1msa3512k****",
      "CreateTime": "2022-08-04 15:52:56",
      "SecurityGroupProbeIpList": [
        "0.0.0.0/0"
      ],
      "AllowHoneypotAccessInternet": true,
      "DefaultNode": false,
      "NodeIp": "119.180.XX.XX",
      "UpgradeAvailable": true
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 149,
    "Count": 2
  },
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "RequestId": "337BEA70-B03D-5370-8420-436F3FCD9924",
  "HttpStatusCode": 200
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history