Queries the statistics of attack analysis.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeAttackAnalysisData

The operation that you want to perform.

Set the value to DescribeAttackAnalysisData.

StartTime Long Yes 1634286530038

The timestamp when the attack started. Unit: milliseconds.

EndTime Long Yes 1634286542044

The timestamp when the attack stopped. Unit: milliseconds.

Type String Yes DETAILS

The details about attack analysis. Valid values:

  • TOTAL: number of attacks
  • TREND: attack trend
  • PIE_CHART: distribution of attack by type
  • SOURCE_TOP: top 5 attack sources
  • CLIENT_TOP: top 5 attacked assets
  • DETAILS: attack details
Lang String No zh

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

  • zh: Chinese
  • en: English
Data String No "{\"crack_type\":\"9\"}"

The condition to filter attack events.

Base64 String No true

Specifies whether to compress the query results by using the Base64 algorithm. Valid values:

  • true
  • false
CurrentPage Integer No 1

The number of the page to return. Pages start from page 1. Default value: 1.

PageSize Integer No 10

The number of entries to return on each page. Pages start from page 1. Default value: 1.

Response parameters

Parameter Type Example Description
Data String [{\"client_url\": \"\", \"internetIp\": \"47.96.XX.XX\", \"instanceName\": \"dcm_test_20211231\", \"table_src\": 5, \"uuid\": \"d64329c2-ffbe-41a8-b4e8-a5a203e1****\", \"crack_method\": \"\", \"crack_time\": 1634893655000, \"crack_src_ip\": \"172.105.XX.XX\", \"instanceId\": \"i-bp1g9qfujvtwrhkm****\", \"dst_port\": \"10022\", \"client_ip\": \"d64329c2-ffbe-41a8-b4e8-a5a203e17074\", \"location\": \"Germany\", \"aliuid\": 176618589410****, \"crack_cnt\": 1, \"crack_type\": \"5\", \"intranetIp\": \"172.27.XX.XX\" }]

The attack events.

Page Integer 1

The page number of the returned page.

PageSize Integer 10

The number of entries returned per page. Pages start from page 1. Default value: 1.

RequestId String 4C1AE3F3-18FA-4108-BBB9-AFA1A032756C

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

Total Integer 1000

The total number of attack events queried.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeAttackAnalysisData
&<Common request parameters>

Sample success responses

XML format

<DescribeAttackAnalysisDataResponse>
  <RequestId>4C1AE3F3-18FA-4108-BBB9-AFA1A032756C</RequestId>
  <PageSize>10</PageSize>
  <Total>1000</Total>
  <Page>1</Page>
  <Data>[{\"client_url\": \"\",   \"internetIp\": \"47.96.XX.XX\",   \"instanceName\": \"dcm_test_20211231\",   \"table_src\": 5,   \"uuid\": \"d64329c2-ffbe-41a8-b4e8-a5a203e1****\",   \"crack_method\": \"\",   \"crack_time\": 1634893655000,   \"crack_src_ip\": \"172.105.XX.XX\",   \"instanceId\": \"i-bp1g9qfujvtwrhkm****\",   \"dst_port\": \"10022\",   \"client_ip\": \"d64329c2-ffbe-41a8-b4e8-a5a203e17074\",   \"location\": \"Germany\",   \"aliuid\": 176618589410****,   \"crack_cnt\": 1,   \"crack_type\": \"5\",   \"intranetIp\": \"172.27.XX.XX\" }]</Data>
</DescribeAttackAnalysisDataResponse>

JSON format

{"RequestId":"4C1AE3F3-18FA-4108-BBB9-AFA1A032756C","PageSize":"10","Total":"1000","Page":"1","Data":"[{\\\"client_url\\\": \\\"\\\",   \\\"internetIp\\\": \\\"47.96.XX.XX\\\",   \\\"instanceName\\\": \\\"dcm_test_20211231\\\",   \\\"table_src\\\": 5,   \\\"uuid\\\": \\\"d64329c2-ffbe-41a8-b4e8-a5a203e1****\\\",   \\\"crack_method\\\": \\\"\\\",   \\\"crack_time\\\": 1634893655000,   \\\"crack_src_ip\\\": \\\"172.105.XX.XX\\\",   \\\"instanceId\\\": \\\"i-bp1g9qfujvtwrhkm****\\\",   \\\"dst_port\\\": \\\"10022\\\",   \\\"client_ip\\\": \\\"d64329c2-ffbe-41a8-b4e8-a5a203e17074\\\",   \\\"location\\\": \\\"Germany\\\",   \\\"aliuid\\\": 176618589410****,   \\\"crack_cnt\\\": 1,   \\\"crack_type\\\": \\\"5\\\",   \\\"intranetIp\\\": \\\"172.27.XX.XX\\\" }]"}

Error codes

For a list of error codes, visit the API Error Center.