Querying the List of Buckets Available for Exporting Sensitive Data Results
Function
This API is used to query the list of buckets available for exporting sensitive data classification results.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/scan-jobs/buckets-for-export
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which is used to identify a specific project. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
buckets |
Array of Bucket objects |
Storage bucket object list, including details about all storage buckets. |
|
total |
Integer |
Total number of returned storage buckets. |
|
Parameter |
Type |
Description |
|---|---|---|
|
asset_name |
String |
Asset name, which is used to identify and manage OBS bucket assets. |
|
bind_task |
Integer |
Number of tasks associated with the OBS bucket. |
|
bucket_location |
String |
Region or path where the OBS bucket is located. |
|
bucket_name |
String |
Bucket name, which is used to identify and manage storage buckets. |
|
bucket_policy |
String |
Storage bucket policy, which defines the access control rules to it. |
|
create_time |
Long |
Timestamp when an OBS bucket is created. |
|
enable_audit_status |
Boolean |
Whether the audit function is enabled for the OBS bucket. |
|
id |
String |
Unique identifier of the OBS bucket. |
|
is_deleted |
Boolean |
Whether the OBS bucket has been marked as deleted. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
If the request is successful, the available bucket list is returned. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project is not found. |
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