Obtaining the Asset List on the Asset Map
Function
This API is used to obtain the list of all assets on the asset map, including the basic information and security scores of assets.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/data-map/data-infos
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
security_group_ids |
No |
Array of strings |
Security group ID list, which is used to filter assets. |
|
security_level_ids |
No |
Array of strings |
Security level ID list, which is used to filter assets. |
|
limit |
No |
Integer |
Maximum number of returned results. |
|
offset |
No |
Integer |
Offset of the returned result. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
obs |
ObsInfos object |
OBS bucket information list. |
|
vpc_dbss_list |
Array of DataMapVpcDynamicGroup objects |
Database audit instance information list. |
|
vpc_list |
Array of DataMapVpcGroup objects |
VPC list. |
|
Parameter |
Type |
Description |
|---|---|---|
|
list |
Array of ObsDetail objects |
OBS details list. |
|
total |
Integer |
Total number of records. |
|
type |
String |
Type. |
|
Parameter |
Type |
Description |
|---|---|---|
|
asset_name |
String |
Asset name. |
|
asset_type |
String |
Asset type. |
|
bucket_name |
String |
Bucket name. |
|
bucket_type |
String |
Bucket type. |
|
create_time |
Long |
Creation time. |
|
id |
String |
Bucket ID. |
|
ins_type |
String |
Instance type. |
|
is_authorized |
Boolean |
Whether it is authorized. |
|
is_scaned |
Boolean |
Whether it is scanned. |
|
scan_detail |
ScanDetail object |
Sensitive data identification details in a bucket. |
|
security_strategy |
SecurityStrategy object |
Recommended security policy for buckets. |
|
threat_analysis |
ThreatAnalysis object |
Bucket threat analysis. |
|
vpc_id |
String |
VPC ID |
|
Parameter |
Type |
Description |
|---|---|---|
|
dbss |
Array of DbssInfo objects |
Dynamic database service list. |
|
total |
Integer |
Total number of records. |
|
vpc_id |
String |
VPC ID |
|
vpc_name |
String |
VPC name. |
|
Parameter |
Type |
Description |
|---|---|---|
|
dbss_instance_info_list |
Array of DbssInstanceInfo objects |
DBSS instance information list. |
|
dbss_rds_database_list |
Array of RdsDatabase objects |
DBSS RDS database list. |
|
Parameter |
Type |
Description |
|---|---|---|
|
instance_id |
String |
DBSS instance ID. |
|
instance_name |
String |
DBSS instance name. |
|
Parameter |
Type |
Description |
|---|---|---|
|
configured |
Boolean |
Whether it is configured. |
|
db_name |
String |
Database name. |
|
id |
String |
Database ID. |
|
type |
String |
Database type. |
|
Parameter |
Type |
Description |
|---|---|---|
|
db |
DataMapInsInfoList object |
User-built database instance information list. |
|
dws |
DataMapInsInfoList object |
DWS instance information list. |
|
es |
DataMapInsInfoList object |
Elasticsearch instance information list. |
|
gauss_db |
DataMapInsInfoList object |
GaussDB instance information list. |
|
hbase |
DataMapInsInfoList object |
HBase instance information list. |
|
hive |
DataMapInsInfoList object |
Hive instance information list. |
|
network |
NetworkInfoAssetList object |
Network information list. |
|
rds |
DataMapInsInfoList object |
RDS instance information list. |
|
total |
Integer |
Total number of records. |
|
vpc_id |
String |
VPC ID |
|
vpc_name |
String |
VPC name. |
|
Parameter |
Type |
Description |
|---|---|---|
|
list |
Array of NetworkInfo objects |
Network information object array. |
|
total |
Integer |
Total number of records. |
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
Network information ID. |
|
name |
String |
Network information name. |
|
type |
String |
Network information type. |
|
Parameter |
Type |
Description |
|---|---|---|
|
list |
Array of DataMapInsInfo objects |
Array of DataMapInsInfo objects. |
|
total |
Integer |
Total number of records. |
|
type |
String |
Type. |
|
Parameter |
Type |
Description |
|---|---|---|
|
address |
String |
Address. |
|
asset_name |
String |
Asset name. |
|
asset_type |
String |
Asset type. |
|
authorized_db_list |
Array of CommonInfo objects |
List of authorized databases. |
|
authorized_db_num |
Integer |
Number of authorized databases. |
|
create_time |
Long |
Creation time. |
|
id |
String |
ID |
|
ins_id |
String |
Instance ID. |
|
ins_name |
String |
Instance name. |
|
ins_status |
String |
Instance status. |
|
ins_type |
String |
Instance type. |
|
is_authorized |
Boolean |
Whether it is authorized. |
|
is_scaned |
Boolean |
Whether it is scanned. |
|
port |
Integer |
Port. |
|
scan_detail |
ScanDetail object |
Sensitive data identification details. |
|
security_strategy |
SecurityStrategy object |
Security policy details. |
|
sensitive_db_num |
Integer |
Number of sensitive databases. |
|
threat_analysis |
ThreatAnalysis object |
Threat analysis information. |
|
total_db_num |
Integer |
Number of databases. |
|
unauthorized_db_list |
Array of strings |
List of unauthorized databases. |
|
version |
String |
Version. |
|
vpc_id |
String |
VPC ID |
|
Parameter |
Type |
Description |
|---|---|---|
|
asset_name |
String |
Asset name. |
|
asset_type |
String |
Asset type. |
|
create_time |
Long |
Creation time. |
|
id |
String |
Asset ID. |
|
ins_type |
String |
Instance type. |
|
is_authorized |
Boolean |
Whether it is authorized. |
|
is_scaned |
Boolean |
Whether it is scanned. |
|
scan_detail |
ScanDetail object |
Asset security scanning details. |
|
security_strategy |
SecurityStrategy object |
Security policy information. |
|
threat_analysis |
ThreatAnalysis object |
Threat analysis information. |
|
vpc_id |
String |
VPC ID |
|
Parameter |
Type |
Description |
|---|---|---|
|
job_id |
String |
Scan task ID. |
|
last_scan_time |
Long |
Last scan time. |
|
object_num |
Integer |
Number of scanned objects. |
|
scan_risk |
String |
Scan risk severity. |
|
scan_template_id |
String |
Scan template ID. |
|
scan_template_name |
String |
Scan template name. |
|
security_level_color |
Integer |
Security level color. |
|
security_level_id |
String |
Security level ID. |
|
security_level_name |
String |
Security level name. |
|
sensitive_object_num |
Integer |
Number of sensitive objects. |
|
Parameter |
Type |
Description |
|---|---|---|
|
ssl_enabled |
String |
SSL enabling status. |
|
access_strategy |
String |
Access policy. |
|
access_strategy_level |
String |
Access policy level. |
|
authority_enable |
Boolean |
Enable permission. |
|
authority_level |
String |
Permission level. |
|
backup_and_restore |
String |
Backup and restoration policy. |
|
backup_enable |
Boolean |
Enable backup. |
|
backup_level |
String |
Backup level. |
|
data_volume_encrypt_enable |
Boolean |
Enable data volume encryption. |
|
data_volume_encrypt_level |
String |
Data volume encryption level. |
|
dbss_audit_security_level |
String |
DBSS audit security level. |
|
dbss_audit_status |
Boolean |
DBSS audit status. |
|
disk_encrypted |
String |
Disk encryption status. |
|
disk_encrypted_enable |
Boolean |
Enable disk encryption. |
|
encrypt_level |
String |
Encryption level. |
|
https_enable |
Boolean |
Enable HTTPS. |
|
https_level |
String |
HTTPS level. |
|
ik_enable |
String |
IK enabling status. |
|
is_encrypt |
Boolean |
Encrypted or not. |
|
obs_audit_level |
String |
OBS audit level. |
|
obs_audit_status |
Boolean |
OBS audit status. |
|
public_network_access |
String |
Public network access policy. |
|
public_network_enable |
Boolean |
Enable public network access. |
|
security_group_level |
String |
Security group level. |
|
ssl_status |
Boolean |
SSL status. |
|
total_risk |
String |
Overall risk severity level. |
|
working_mode |
String |
Working mode. |
|
working_type |
String |
Work type. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. The asset list is returned. |
|
401 |
Unauthorized access to the resource. |
|
403 |
Access denied. Insufficient permissions. |
|
404 |
The requested resource does not exist. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot