All Products
Search
Document Center

Security Center:ListHoneypotEventFlows

Last Updated:Nov 14, 2024

Queries the details of an intrusion event in a honeypot.

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:ListHoneypotEventFlowslist
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
DealedstringNo

The status of the event. Valid values: y, n, and a. The value y indicates handled. The value n indicates unhandled. The value a indicates all.

n
SecurityEventIdlongNo

The ID of the alert event. The ID of the management account of the ListHoneypotEvents resource directory.

Note You can call the ListHoneypotEvents operation to query the IDs of alert events.
7455818
CurrentPageintegerNo

The page number. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page.

Note We recommend that you do not leave this parameter empty.
20
RequestIdstringNo

The request ID.

20540822-520E-54F5-B7E6-236CF1EC987F
LangstringNo

The language of the content within the request and response. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
zh

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HoneypotEventFlowsarray<object>

The attack timelines.

HoneypotEventFlowobject
SecurityEventIdlong

The ID of the intrusion event.

306527555
HoneypotEventIdstring

The ID of the intrusion event. The value is a string.

19bec028-d98b-45c4-a4d9-cc3d593f****
LastTimelong

The timestamp when the intrusion event was last occurred.

1686622222000
FirstTimelong

The timestamp when the intrusion event was first occurred.

1686621122000
EventConnectionstring

The UUID of the connection in the attack.

fd7f1ff4-0c4b-41cb-99ad-0724349d****
AgentIdstring

The ID of the probe.

d3c0dafa-5059-4eb0-8c28-7d40f58*****
AgentNamestring

The name of the probe.

hw-d***
HoneypotIdstring

The ID of the honeypot.

911df9d6fe20451c059edbcffa1d1c33452f6a71e59d4826da067af224*****
HoneypotNamestring

The name of the honeypot.

hw-zhi*****
DockerIdstring

The ID of the container.

eca09895****
DstIpstring

The destination IP address.

112.126.205.***
DstPortinteger

The destination port.

80
SrcIpstring

The source IP address.

121.41.48.***
SrcMacstring

The source media access control (MAC) address.

00:0C:29:CA:**:**
SrcPortinteger

The source port number.

80
TypeIdstring

The ID of the attack type.

web_access
RiskLevelstring

The risk level. Valid values:

  • 2: low
  • 3: medium
  • 4: high
4
Extrastring

The extended information about the attack payload.

{\"payload\":{\"format\":\"line\",\"name\":{\"cn\":\"payload\",\"en\":\"payload\"},\"value\":\"\"},\"uid\":{\"format\":\"line\",\"name\":{\"cn\":\"\",\"en\":\"\"},\"uid\":\"5fa2ece9-aa08-4bbd-a272-5d27*********\",\"value\":\"\"}}
Extra1string

The extension information about the virtual private cloud (VPC).

{\"vpc_id\":\"\",\"vpc_dest_port\":\"\",\"vpc_dest_ip\":\"\"}
Uidstring

The UUID of an attack in the intrusion event.

5fa2ece9-aa08-4bbd-a272-5d27d1c6*****
Statusinteger

The handling status of the intrusion event. Valid values:

  • 1: pending handling
  • 2: ignored
  • 4: confirmed
1
FileOssUrlstring

The Object Storage Service (OSS) URL of the file.

https://pop-test-file-upload.oss-cn-beijing.aliyuncs.com/5626_26331*****
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

78
Countinteger

The number of entries returned on the current page.

20
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true
Codestring

The status code. 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 returned message.

successful
RequestIdstring

The request ID.

9F4E6157-9600-5588-86B9-38F09067****
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Sample success responses

JSONformat

{
  "HoneypotEventFlows": [
    {
      "SecurityEventId": 306527555,
      "HoneypotEventId": "19bec028-d98b-45c4-a4d9-cc3d593f****",
      "LastTime": 1686622222000,
      "FirstTime": 1686621122000,
      "EventConnection": "fd7f1ff4-0c4b-41cb-99ad-0724349d****",
      "AgentId": "d3c0dafa-5059-4eb0-8c28-7d40f58*****",
      "AgentName": "hw-d***",
      "HoneypotId": "911df9d6fe20451c059edbcffa1d1c33452f6a71e59d4826da067af224*****",
      "HoneypotName": "hw-zhi*****",
      "DockerId": "eca09895****",
      "DstIp": "112.126.205.***",
      "DstPort": 80,
      "SrcIp": "121.41.48.***",
      "SrcMac": "00:0C:29:CA:**:**",
      "SrcPort": 80,
      "TypeId": "web_access",
      "RiskLevel": "4",
      "Extra": "{\\\"payload\\\":{\\\"format\\\":\\\"line\\\",\\\"name\\\":{\\\"cn\\\":\\\"payload\\\",\\\"en\\\":\\\"payload\\\"},\\\"value\\\":\\\"\\\"},\\\"uid\\\":{\\\"format\\\":\\\"line\\\",\\\"name\\\":{\\\"cn\\\":\\\"\\\",\\\"en\\\":\\\"\\\"},\\\"uid\\\":\\\"5fa2ece9-aa08-4bbd-a272-5d27*********\\\",\\\"value\\\":\\\"\\\"}}",
      "Extra1": "{\\\"vpc_id\\\":\\\"\\\",\\\"vpc_dest_port\\\":\\\"\\\",\\\"vpc_dest_ip\\\":\\\"\\\"}",
      "Uid": "5fa2ece9-aa08-4bbd-a272-5d27d1c6*****",
      "Status": 1,
      "FileOssUrl": "https://pop-test-file-upload.oss-cn-beijing.aliyuncs.com/5626_26331*****"
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 78,
    "Count": 20
  },
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "RequestId": "9F4E6157-9600-5588-86B9-38F09067****",
  "HttpStatusCode": 200
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParamIllegal param-
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
2024-06-20The Error code has changedView Change Details