All Products
Search
Document Center

Security Center:ListHoneypotAlarmEvents

Last Updated:Feb 20, 2024

Queries the information about alert events that are generated.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

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

Request parameters

ParameterTypeRequiredDescriptionExample
DealedstringNo

The status of the alert events. Valid values:

  • y: handled
  • n: unhandled
  • a: all states
n
SrcIpstringNo

The source IP address.

101.132.XX.XX
DstIpstringNo

The destination IP address.

172.20.XX.XX
RiskLevelListarrayNo

The risk levels of the alert events.

stringNo

The risk level. Valid values:

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

The number of the page to return.

10
PageSizeintegerNo

The number of entries to return on each page. Default value: 100

10

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

HoneypotAlarmEventsobject []

The alert events.

AlarmEventIdlong

The event ID.

940272
AlarmEventTypestring

The type of the alert event.

Initial Access
AlarmEventNamestring

The name of the alert event.

Attack Honeypot
AlarmUniqueInfostring

The unique identifier of the alert event.

167e6fc0d931917d2059efcd1d00f6ab
FirstTimelong

The timestamp that indicates the time when the alert event was first detected. Unit: milliseconds.

1658193602000
LastTimelong

The timestamp that indicates the time when the alert event was last detected. Unit: milliseconds.

1660610772000
RiskLevelstring

The risk level. Valid values:

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

The total number of times that the alert event was generated.

11
OperateStatusinteger

The handling status of the alert event. Valid values:

  • 1: pending
  • 2: ignored
  • 4: confirmed
1
MergeFieldListobject []

The risk information.

FieldTypestring

The type of the field. You can ignore this internal parameter.

level1_item3
FieldKeystring

The key of the field.

dest_ip_count
FieldValuestring

The value that corresponds to the field key.

1
FieldExtInfostring

The extended value that corresponds to the field key.

dest_ip_ext
PageInfoobject

The pagination information.

CurrentPageinteger

The page number of the returned page.

1
PageSizeinteger

The number of entries returned per page. Default value: 100.

20
TotalCountinteger

The total number of entries returned.

69
Countinteger

The number of entries returned on the current page.

2
RequestIdstring

The request ID.

513C9554-55A4-5504-B7C4-6E17EB4FC7A3

Examples

Sample success responses

JSONformat

{
  "HoneypotAlarmEvents": [
    {
      "AlarmEventId": 940272,
      "AlarmEventType": "Initial Access",
      "AlarmEventName": "Attack Honeypot",
      "AlarmUniqueInfo": "167e6fc0d931917d2059efcd1d00f6ab",
      "FirstTime": 1658193602000,
      "LastTime": 1660610772000,
      "RiskLevel": "2",
      "EventCount": 11,
      "OperateStatus": 1,
      "MergeFieldList": [
        {
          "FieldType": "level1_item3",
          "FieldKey": "dest_ip_count",
          "FieldValue": "1",
          "FieldExtInfo": "dest_ip_ext"
        }
      ]
    }
  ],
  "PageInfo": {
    "CurrentPage": 1,
    "PageSize": 20,
    "TotalCount": 69,
    "Count": 2
  },
  "RequestId": "513C9554-55A4-5504-B7C4-6E17EB4FC7A3"
}

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
2023-03-07The Error code has changed. The request parameters of the API has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: RequestId