Help Center/ Data Security Center/ API Reference/ API Description/ Asset Map/ Obtaining All Security Group Policies (Including Risks)
Updated on 2026-01-13 GMT+08:00

Obtaining All Security Group Policies (Including Risks)

Function

This API is used to obtain all security group policies (including risks).

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/sdg/data-map/security-groups

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID, which is used to identify a specific project.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

limit

No

Integer

Maximum number of records that can be returned. The default value is 10.

offset

No

Integer

Start position of the query. The default value is 0.

Request Parameters

None

Response Parameters

Status code: 200

OK

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

OK

401

Unauthorized. The user is not logged in or the token is invalid.

403

Unauthorized to access the resource.

404

The specified data egress or project does not exist.

Error Codes

See Error Codes.