Updated on 2026-01-13 GMT+08:00

Querying Top 5 Attacked Assets

Function

This API is used to obtain the information about five most attacked assets in the current project.

Calling Method

For details, see Calling APIs.

URI

GET /v2/{project_id}/sec-ops/situation-dashboard/top-attacks-info

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Unique project ID.

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

attacked_api_num

Integer

Number of attacked APIs.

attacked_api_top

Array of AttackedApiInfo objects

Top 5 attacked APIs.

attacked_asset_num

Integer

Attacked assets.

attacked_asset_top

Array of AttackedAssetInfo objects

Top 5 attacked database assets.

Table 3 AttackedApiInfo

Parameter

Type

Description

api_name

String

API name.

application_type

String

Application type.

attacked_num

Integer

Number of attacks.

instance_id

String

Instance ID.

Table 4 AttackedAssetInfo

Parameter

Type

Description

attacked_num

Integer

Number of attacks.

db_ip

String

Database IP address.

db_name

String

Database name.

db_type

String

Database type.

instance_id

String

Instance ID.

instance_name

String

Instance name.

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.