Querying CTS Configurations
Function
This API is used to query CTS configurations.
Calling Method
For details, see Calling APIs.
Authorization Information
Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.
- If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
- If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.
URI
GET /v3/{project_id}/configuration
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | Project ID. For details, see Obtaining an Account ID and Project ID. |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| is_sync_global_trace | Boolean | Whether to synchronize global service logs from the central region. |
| is_support_read_only | Boolean | Whether to report read-only audit logs of all cloud services. |
| support_read_only_services | Array of strings | Cloud services for which read-only audit logs are enabled. This parameter takes effect only when is_support_read_only is set to false. |
Example Requests
None
Example Responses
Status code: 200
Query CTS configurations.
{
"is_support_read_only" : false,
"is_sync_global_trace" : true,
"support_read_only_services" : [ "IAM", "ECS", "CTS" ]
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Query CTS configurations. |
Error Codes
See Error Codes.
What is your overall rating for this page?
Thank 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