Key Operations That Can Be Audited
Cloud Trace Service (CTS) records operations related to RDS for further querying, auditing, and traceability.
Key Operations
| Operation | Resource Type | Trace Name |
|---|---|---|
| Creating a DB instance or a read replica, or restoring data to a new DB instance | instance | createInstance |
| Scaling up storage space and changing instance class | instance | instanceAction |
| Rebooting a DB instance | instance | instanceRestart |
| Stopping an instance | instance | StopInstance |
| Starting an instance | instance | StartupInstance |
| Restoring data to the original DB instance | instance | instanceRestore |
| Renaming a DB instance | instance | instanceRename |
| Resetting a password | instance | resetPassword |
| Setting database version parameters | instance | setDBParameters |
| Resetting database version parameters | instance | resetDBParameters |
| Configuring a backup policy | instance | setBackupPolicy |
| Changing a database port | instance | changeInstancePort |
| Binding or unbinding an EIP | instance | setOrResetPublicIP |
| Modifying a security group | instance | modifySecurityGroup |
| Adding a tag | instance | setInstanceTag |
| Deleting a tag | instance | setInstanceTag |
| Editing a tag | instance | setInstanceTag |
| Deleting a DB instance | instance | deleteInstance |
| Performing a primary/standby switchover | instance | instanceFailOver |
| Changing the replication mode | instance | instanceFailOverMode |
| Changing a failover priority | instance | instanceFailOverStrategy |
| Changing a DB instance type from single-node to primary/standby | instance | modifySingleToHaInstance |
| Creating a backup | backup | createManualSnapshot |
| Replicating a backup | backup | copySnapshot |
| Downloading a backup (using OBS) | backup | downLoadSnapshot |
| Downloading a backup (using a browser) | backup | backupsDownLoad |
| Deleting a backup | backup | deleteManualSnapshot |
| Downloading merged binlogs | backup | packBackupsDownLoad |
| Creating a parameter template | parameterGroup | createParameterGroup |
| Modifying parameters in a parameter template | parameterGroup | updateParameterGroup |
| Deleting a parameter template | parameterGroup | deleteParameterGroup |
| Replicating a parameter template | parameterGroup | copyParameterGroup |
| Resetting a parameter template | parameterGroup | resetParameterGroup |
| Applying a parameter template | parameterGroup | applyParameterGroup |
| Saving parameters in a parameter template | parameterGroup | saveParameterGroup |
| Deleting a frozen DB instance | all | rdsUnsubscribeInstance |
| Freezing a DB instance | all | rdsfreezeInstance |
| Changing the billing mode of a DB instance from pay-per-use to yearly/monthly or renewing a DB instance | all | bssUpdateMetadata |
| Creating a database account | instance | createDBUser |
| Resetting a password | instance | resetDBUserPassword |
| Changing account permissions | instance | grantDBUser |
| Modifying the host IP addresses of an account | instance | UpdateHostPrivilege |
| Deleting a database account | instance | deleteDBUser |
| Creating a database | instance | createDatabase |
| Authorizing a database | instance | grantDBUser |
| Deleting a database | instance | deleteDatabase |
| Upgrading a minor version | instance | upgradeDatabases |
To view read-only query operations, you must first enable the Read-Only Trace Reporting switch on the Configuration Center page in CTS.
| Category | Operation | Resource Type | Trace Name |
|---|---|---|---|
| Instance management | Querying the instance list | instance | queryInstanceList |
| Querying the list of cross-region backup instances | instance | queryOffSiteInstance | |
| Batch querying the instance status list | instance | ListSimplifiedInstances | |
| Exporting instance information | instance | ListInstancesExportInfo | |
| Querying database version information | database | getDataStoreVersion | |
| Querying specification information | database | getFlavor | |
| Querying the storage type | database | getStorageType | |
| Querying per-second monitoring status | instance | querySecondMonitorStatus | |
| Querying quotas | instance | getRdsQuotas | |
| Querying tags | instance | queryTags | |
| Querying the list of database backups | instance | queryBackupFileDbNames | |
| Querying the project ID by instance ID | instance | queryProjectIdByInstanceId | |
| Querying the instance domain name | instance | queryRdsDnsName | |
| Querying the IPv6 domain name of an instance | instance | queryRdsDnsNameIpv6 | |
| Querying available VPCs | instance | queryAvailableVpcs | |
| Querying available cross-tenant VPCs | instance | queryAvailableCorsVpcs | |
| Querying the replication status | instance | checkReplicationInfo | |
| Querying resource monitoring information | instance | queryResourceMonitoring | |
| Querying top SQL statements | instance | queryTopSql | |
| Querying product recommendations | instance | queryProductRecommendation | |
| Querying used storage space | instance | queryStorageUsedSpace | |
| Querying the list of changed specifications | instance | queryFlavorsForResize | |
| Querying operation records | instance | getOperateRecord | |
| Querying scheduled events | instance | listScheduleEvents | |
| Querying the automated upgrade policy | instance | ShowAutoUpgradePolicy | |
| Querying recycle bin configurations | instance | ShowRecycleBinConfig | |
| Querying automatic Cloud Eye alarms | instance | queryAutoCesAlarm | |
| Querying the status of automatic Cloud Eye alarms | instance | queryAutoCesAlarmEnable | |
| Querying replay information | instance | ShowReplayRelatedInfo | |
| Backup and restoration | Querying the backup policy | instance | getBackupPolicy |
| Querying the advanced backup policy | instance | getBackupEnhancePolicy | |
| Querying the sparse backup policy | instance | getBackupSparsePolicy | |
| Querying the cross-region backup policy | instance | getOffSiteBackupPolicy | |
| Querying the restorable time range | instance | getRecoverableTime | |
| Querying the cross-region restorable time range | instance | getOffSiteRecoverableTime | |
| Querying backup restoration information | instance | getRestoreBackupInfo | |
| Querying backup download links | backup | queryBackupsDownloadLink | |
| Querying the backup list | backup | queryBackupsByCondition | |
| Querying the cross-region backup list | backup | queryOffSiteBackups | |
| Querying the binlog cleanup policy | instance | queryBinlogClearPolicy | |
| Querying instance snapshot information | instance | queryBinlogClearPolicy | |
| Querying the migration policy | instance | getTransferPolicy | |
| Querying the replayable time range | instance | getReplayTime | |
| Querying the backup progress | instance | getBackupPace | |
| Querying the backup summary | instance | listInstanceBackupSummary | |
| Querying backup usage | instance | showBackupUsage | |
| Querying the same-region backup list | instance | listBackups | |
| Querying the transfer task list | instance | listTransfers | |
| Batch querying approximate restoration times | instance | queryRoughRestoreTimeV3 | |
| Parameter template | Querying the parameter template list | configuration | getConfigurations |
| Querying instance parameters | instance | getInstanceConfigurations | |
| Querying parameter template details | configuration | getConfigurationsDetail | |
| Querying the recycling policy | instance | recyclePolicy | |
| Querying the list of instances in the recycle bin | instance | recycleInstances | |
| Querying instance parameter modification history | instance | listInstanceParamHistories | |
| Querying parameter template application history | configuration | listConfigurationApplyHistories | |
| Querying instances to which a parameter template applies | configuration | listInstancesConfigurations | |
| Querying batch modification records | parameterGroup | queryBatchModifyRecordsV3 | |
| Querying details about batch modification records | parameterGroup | queryBatchModifyRecordsDetail | |
| Log management | Querying slow query log details | instance | getSlowLogDetails |
| Querying the status of the slow query log plaintext display switch | instance | querySlowLogStatus | |
| Querying slow query log statistics and analysis | instance | listSlowLogStatisticsForLts | |
| Querying slow query log downloads | instance | querySlowLogDownload | |
| Querying error log details | instance | ListErrorlogForLts | |
| Querying primary/standby switchover logs | instance | getSwitchLog | |
| Querying the audit log policy | instance | queryAuditLogPolicy | |
| Querying the audit log list | instance | queryAuditLogList | |
| Querying LTS log configurations | instance | GetLogLtsConfigs | |
| Database proxy | Querying database proxies | instance | queryInstanceProxy |
| Querying proxy specifications | instance | getInstancesProxyFlavors | |
| Querying proxy scale-up specifications | instance | getInstancesProxyScaleFlavors | |
| Querying the proxy engine version | instance | getInstancesProxyEngineVersion | |
| Querying all proxy engine versions | instance | getInstancesProxyEngineVersionAll | |
| Querying the proxy IP address whitelist | instance | getInstancesProxyIpgroup | |
| Querying the MySQL proxy list | instance | listRDSforMySqlProxy | |
| Querying MySQL proxy specifications | instance | ListRDSforMysqlProxyFlavors | |
| Querying the list of changed proxy specifications | instance | ListProxyScaleFlavors | |
| Querying the list of compute specification changes | instance | searchQueryScaleComputeFlavors | |
| Querying all proxy versions of an instance | instance | ListInstanceAllProxyVersion | |
| Querying proxy parameter configurations | instance | getInstancesProxyConfigurations | |
| Querying the proxy slow query log list | instance | showMySqlProxySlowLogList | |
| Tag management | Querying instance tags | instance | queryTags |
| Querying predefined tags | Tag | queryPreTag | |
| Diagnosis and analysis | Querying O&M diagnosis information | instance | getInstancesOpsDiagnosis |
| Querying anomaly information | instance | queryInstancesAbnormalEventInfo | |
| Querying O&M metric names | instance | getInstancesOpsMetricNames | |
| Querying process statistics | instance | getInstancesOpsProcessStatistic | |
| Querying the process list | instance | getInstancesOpsProcesses | |
| Querying automatic SQL throttling | instance | queryAutoSqlLimiting | |
| Querying automatic SQL throttling logs | instance | queryAutoSqlLimitingLog | |
| Querying SQL throttling logs by keyword | instance | listAutoSqlLimitingLog4Keyword | |
| Querying the anomaly snapshot list | instance | queryExceptionSnapshotList | |
| Querying anomaly snapshot switch configurations | instance | queryExceptionSnapshotSwitchConfigs | |
| Querying intelligent session termination history | instance | queryIntelligentKillSessionHistory | |
| Querying intelligent session termination statistics | instance | ShowIntelligentKillSessionStatistic | |
| Querying storage diagnosis results | instance | showDiskSpaceDiagnosis | |
| Querying SQL diagnosis results | instance | showSqlDiagnosis | |
| Task center | Querying the task list | instance | queryTaskListV3 |
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