All Products
Search
Document Center

Security Center:ListHoneypotEvents

Last Updated:Nov 14, 2024

Queries the intrusion events detected by honeypots.

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

Request parameters

ParameterTypeRequiredDescriptionExample
DealedstringNo

The status of the event. Valid values:

  • y: handled
  • n: unhandled
  • a: all statuses
y
AlarmEventIdlongNo

The ID of the alert.

1259925
RiskLevelListarrayNo

The risk levels.

riskLevelListstringNo

The risk level. Valid values:

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

The honeypot IDs.

HoneypotIdListstringNo

The honeypot ID.

911df9d6fe20451c059edbcffa1d1c33452f6a71e59d4826da067af224*****
AgentIdListarrayNo

The probe IDs.

AgentIdListstringNo

The probe ID.

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

The page number.

1
PageSizeintegerNo

The number of entries per page. Default value: 20.

10
RequestIdstringNo

The request ID.

2F9CE167-58D5-5DA6-AA3B-923EED02****
LangstringNo

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

  • zh: Chinese
  • en: English
zh
SrcIpstringNo

The source IP address of the attack.

185.237.96.***
PortraitIdstringNo

The ID of the attacker profile.

cd48604a-1694-4f03-ade0-ec6994c3*****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HoneypotEventsarray<object>

The intrusion events.

HoneypotEventobject
SrcIpstring

The source IP address of the attack.

192.168.62.***
DstIpstring

The destination IP address of the attack.

112.126.205.***
AgentIdstring

The probe ID.

27d44bd5815d401992ea672874d9****
AgentNamestring

The name of the probe.

1193474_test_****
Protocolstring

The protocol. Valid values:

  • tcp
  • udp
tcp
FirstTimelong

The timestamp at which the event was first detected.

1692670297
LastTimelong

The timestamp at which the event was last detected.

1676558664
Locationstring

The region.

China Beijing
RiskLevelstring

The risk level. Valid values:

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

The name of the honeypot.

honeypot-2
AlarmEventIdlong

The ID of the alert event.

1900752
SecurityEventIdlong

The ID of the intrusion event.

70427821
MergeFieldListarray<object>

The extended values that correspond to the field key.

MergeFieldListobject
FieldTypestring

The type of the field.

level2_item1
FieldKeystring

The key of the field.

type
FieldValuestring

The value of the field key.

web_access
FieldExtInfostring

The supplementary information about the field.

data
PageInfoobject

The pagination information.

CurrentPageinteger

The page number.

1
PageSizeinteger

The number of entries per page.

20
TotalCountinteger

The total number of entries returned.

30
Countinteger

The number of entries returned on the current page.

20
LastRowKeystring

The key of the last data entry.

CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAGYXFWIAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM1Mzc3Njc4MzA2ODY5NmI2YTY*********
NextTokenstring

The value of the NextToken parameter that is returned by using the NextToken method.

B604532DEF982B875E8360A6EFA3B***
RequestIdstring

The request ID.

FBD28009-6096-5E90-BFE6-62CCD67*****

Examples

Sample success responses

JSONformat

{
  "HoneypotEvents": [
    {
      "SrcIp": "192.168.62.***",
      "DstIp": "112.126.205.***",
      "AgentId": "27d44bd5815d401992ea672874d9****",
      "AgentName": "1193474_test_****",
      "Protocol": "tcp",
      "FirstTime": 1692670297,
      "LastTime": 1676558664,
      "Location": "China Beijing",
      "RiskLevel": "4",
      "HoneypotName": "honeypot-2",
      "AlarmEventId": 1900752,
      "SecurityEventId": 70427821,
      "MergeFieldList": [
        {
          "FieldType": "level2_item1",
          "FieldKey": "type",
          "FieldValue": "web_access",
          "FieldExtInfo": "data"
        }
      ]
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 30,
    "Count": 20,
    "LastRowKey": "CAESGgoSChAKDGNvbXBsZXRlVGltZRABCgQiAggAGAAiQAoJAGYXFWIAAAAACjMDLgAAADFTNzMyZDMwMzAzMDM1Mzc3Njc4MzA2ODY5NmI2YTY*********",
    "NextToken": "B604532DEF982B875E8360A6EFA3B***"
  },
  "RequestId": "FBD28009-6096-5E90-BFE6-62CCD67*****"
}

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.