All Products
Search
Document Center

Security Center:ListHoneypotAlarmEvents

Last Updated:Nov 22, 2024

Queries the information about alert events that are generated.

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

Request parameters

ParameterTypeRequiredDescriptionExample
DealedstringNo

The status of the alert event. Default value: a. Valid values:

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

The source IP address.

101.132.XX.XX
DstIpstringNo

The destination IP address.

172.20.XX.XX
RiskLevelListarrayNo

The risk levels.

riskLevelListstringNo

The risk level. Valid values:

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

The page number. Default value: 1.

10
PageSizeintegerNo

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

Note We recommend that you do not leave this parameter empty. We recommend that you set the value to a value no greater than 100.
10

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

HoneypotAlarmEventsarray<object>

The alert events.

HoneypotAlarmEventobject

The information about the array object.

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
MergeFieldListarray<object>

The risk information.

MergeFieldListobject

The information about the array object.

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
2024-08-12The Error code has changedView Change Details
2023-03-07The Error code has changed. The request parameters of the API has changedView Change Details