Key Operations Audited by CTS
Scenarios
AS can work together with Cloud Trace Service (CTS) to record resource operations. CTS can record operations performed on the management console, operations performed by calling APIs, and operations triggered within the cloud system.
If you have enabled CTS, when a call is made to the AS API, the operation will be reported to CTS which will then deliver the operation record to a specified OBS bucket for storage. With CTS, you can record AS operation logs for query, audit, and backtracking.
Obtaining AS Information in CTS
After you enable CTS, whenever an AS API is called, the operation is recorded in a log file. On the Cloud Trace Service console, you can view operation records for the last 7 days. For details, see Viewing CTS Traces in the Trace List. To store operation records for a longer period, you can transfer them to Object Storage Service (OBS) buckets.
| Operation | Resource Type | Trace Name |
|---|---|---|
| Creating an AS group | scaling_group | createScalingGroup |
| Modifying an AS group | scaling_group | modifyScalingGroup |
| Deleting an AS group | scaling_group | deleteScalingGroup |
| Enabling an AS group | scaling_group | enableScalingGroup |
| Disabling an AS group | scaling_group | disableScalingGroup |
| Performing operations on an AS group | scaling_group | operateScalingGroup |
| Querying AS groups | scaling_group | listScalingGroups |
| Querying details about an AS group | scaling_group | showScalingGroup |
| Creating an AS configuration | scaling_configuration | createScalingConfiguration |
| Deleting an AS configuration | scaling_configuration | deleteScalingConfiguration |
| Deleting AS configurations in a batch | scaling_configuration | batchDeleteScalingConfiguration |
| Querying AS configurations | scaling_configuration | listScalingConfigs |
| Querying details about an AS configuration | scaling_configuration | showScalingConfig |
| Creating an AS policy | scaling_policy | createScalingPolicy |
| Modifying an AS policy | scaling_policy | modifyScalingPolicy |
| Deleting an AS policy | scaling_policy | deleteScalingPolicy |
| Enabling an AS policy | scaling_policy | enableScalingPolicy |
| Disabling an AS policy | scaling_policy | disableScalingPolicy |
| Executing an AS policy | scaling_policy | executeScalingPolicy |
| Performing operations on an AS policy | scaling_policy | operateScalingPolicy |
| Enabling AS policies in a batch | scaling_policy | batchEnableScalingPolicies |
| Disabling AS policies in a batch | scaling_policy | batchDisableScalingPolicies |
| Querying AS policy execution logs | scaling_policy | listScalingPolicyExecuteLogs |
| Querying AS policies | scaling_policy | listScalingPolicies |
| Querying details about an AS policy | scaling_policy | showScalingPolicy |
| Querying all AS policies (V2) | scaling_policy | listAllScalingPolicies |
| Querying details about an AS policy (V2) | scaling_policy | showScalingPolicy |
| Querying specified AS policies (V2) | scaling_policy | listScalingPolicies |
| Removing an instance | scaling_instance | removeInstance |
| Removing instances in batches | scaling_instance | batchRemoveInstances |
| Adding instances in batches | scaling_instance | batchAddInstances |
| Performing operations on instances in batches | scaling_instance | batchOperateInstance |
| Enabling instance protection in a batch | scaling_instance | batchProtectInstances |
| Disabling instance protection in a batch | scaling_instance | batchUnprotectInstances |
| Putting instances into standby in a batch | scaling_instance | batchEnterStandbyInstances |
| Querying instances in an AS group | scaling_instance | listScalingInstances |
| Calling back an instance lifecycle hook | scaling_instance | callbackLifecycleHook |
| Querying instance suspension | scaling_instance | listHookInstances |
| Configuring a notification | scaling_notification | putScalingNotification |
| Deleting a notification | scaling_notification | deleteScalingNotification |
| Querying notifications of an AS group | scaling_notification | listScalingNotifications |
| Creating a lifecycle hook | scaling_lifecycle_hook | createLifecycleHook |
| Modifying a lifecycle hook | scaling_lifecycle_hook | modifyLifecycleHook |
| Deleting a lifecycle hook | scaling_lifecycle_hook | deleteLifecycleHook |
| Querying lifecycle hooks | scaling_lifecycle_hook | listLifeCycleHooks |
| Querying details about a lifecycle hook | scaling_lifecycle_hook | showLifeCycleHook |
| Deleting a tag | scaling_tag | deleteScalingTag |
| Updating a tag | scaling_tag | updateScalingTag |
| Querying resources by tag | scaling_tag | listResourceInstances |
| Querying tags | scaling_tag | listScalingTag |
| Querying tags of a resource | scaling_tag | listScalingTag |
| Querying scheduled tasks | scaling_scheduled | listGroupScheduledTasks |
| Creating a scheduled task | scaling_scheduled | createGroupScheduledTask |
| Deleting a scheduled task | scaling_scheduled | deleteGroupScheduledTask |
| Updating a scheduled task | scaling_scheduled | updateGroupScheduledTask |
| Querying scaling action logs | scaling_activity_log | listScalingActivityLogs |
| Querying scaling action logs (V2) | scaling_activity_log | listScalingActivityV2Logs |
| Querying quotas | scaling_quota | showResourceQuota |
| Querying AS policy and instance quotas | scaling_quota | showPolicyAndInstanceQuota |
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