Obtaining Details About an Asset on the Asset Map
Function
This API is used to obtain details about a specified asset on the asset map. You can call this API to obtain the basic information, association relationships, and metadata of an asset based on the asset ID and project ID, so that you can quickly learn of the asset status and attributes.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/data-map/data-infos/{ins_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
ins_id |
Yes |
String |
Asset ID, which is used to identify an asset. |
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
type |
Yes |
String |
Asset type, which is used to specify the type of the returned details. |
Request Parameters
None
Response Parameters
Status code: 200
|
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 |
OK |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified asset or project 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