Modifying CTS Configurations
Function
This API is used to modify 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
PUT /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
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| is_sync_global_trace | Yes | Boolean | Whether to synchronize global service logs from the central region. |
| is_support_read_only | Yes | Boolean | Whether to report read-only audit logs of all cloud services. |
| support_read_only_services | No | 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. |
Response Parameters
Status code: 204
Modified.
None
Example Requests
{
"is_support_read_only" : false,
"is_sync_global_trace" : true,
"support_read_only_services" : [ "IAM", "ECS", "CTS" ]
} Example Responses
None
Status Codes
| Status Code | Description |
|---|---|
| 204 | Modified. |
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