Help Center/ CodeArts Deploy/ User Guide/ (Optional) Querying Audit Logs
Updated on 2025-12-15 GMT+08:00

(Optional) Querying Audit Logs

Cloud Trace Service (CTS) records operations on CodeArts Deploy for query, audit, and backtrack.

Operations Supporting Audit Logs

Table 1 CodeArts Deploy operations recorded by CTS

Operation

Resource Type

Event

Create an application

deployApp

CreateApp

Modify an application

deployApp

UpdateAppInfo

Delete an application

deployApp

DeleteApplication

Clone an application

deployApp

CopyApplication

Batch delete applications

deployApp

BatchDeleteApp

Query application details

deployApp

ShowAppDetailById

Modify the disabled status of an application

deployApp

UpdateAppDisableStatus

Create an application using a template

deployApp

CreateDeployTaskByTemplate

Save configurations for application notification subscription

deployApp

UpdateApplicationMsg

Query an application list

deployApp

ListAllApp

Obtain deployment job details

deployApp

ShowDeployTaskDetail

Obtain the deployment job list by project

deployApp

ListDeployTasks

Query the deployment history list

deployApp

ListDeployHistory

Query the historical deployment records of a specified application in a project by the start time and end time

deployApp

ListDeployTaskHistoryByDate

Obtain the host cluster used by a job

deployApp

ShowDeployHistoryEnv

Favorite an application

applicationCare

FollowApplication

Unfavorite an application

applicationCare

UnFollowApplication

Add a template

deployTemplate

CreateDeployTemplate

Delete a deployment template

deployTemplate

DeleteDeployTemplate

Edit a deployment template

deployTemplate

UpdateDeployTemplate

Favorite a deployment template

deployTemplate

FollowTemplate

Unfavorite a deployment template

deployTemplate

UnFollowTemplate

Query deployment template details by template ID

deployTemplate

ShowDeployTemplateDetail

Query deployment template list by condition

deployTemplate

ListDeployTemplates

Test the connectivity of application notification subscription

deployTask

TestMsgConnection

Gain application notification subscription configuration

deployTask

ShowApplicationMsgDetail

Start a deployment

deployTask

StartDeployTask

Stop a deployment

deployTask

StopDeployTask

Roll back a deployment job

deployTask

RollbackApplication

Update application permissions

deployApplicationPermission

BatchUpdateApplicationPermissions

Update the application authentication level

deployApplicationPermission

BatchUpdatePermissionLevel

Download the deployment execution log

deployApplicationLog

DownloadApplicationRunLogs

Create a deployment environment

applicationEnvironment

CreateEnvironment

Modify a deployment environment

applicationEnvironment

UpdateEnvironment

Delete a deployment environment

applicationEnvironment

DeleteEnvironment

Query environment details

applicationEnvironment

ShowEnvironmentDetail

Query the environment list of an application

applicationEnvironment

ListEnvironments

Import a host to an environment

environmentHost

ImportHostToEnvironment

Delete a host from an environment

environmentHost

DeleteHostFromEnvironment

Query the host list in an environment

environmentHost

ListEnvironmentHosts

Modify environment permissions

environmentPermission

UpdateEnvironmentPermission

Modify permissions for a host cluster

hostClusterPermission

UpdateHostGroupPermissions

Create a host cluster

hostCluster

CreateDeploymentGroup

Modify a host cluster

hostCluster

UpdateDeploymentGroup

Delete a host cluster

hostCluster

DeleteDeploymentGroup

Query a host cluster list

hostCluster

ListHostClusters

Query host cluster details

hostCluster

ShowHostClusterDetail

Query information about the environment associated with a host cluster

hostCluster

ListAssociateEnvironmentsInfos

Query a host cluster list

hostCluster

ListHostGroups

Query a host cluster

hostCluster

ShowDeploymentGroupDetail

Create a host

resourceHost

CreateDeploymentHost

Modify a host

resourceHost

UpdateDeploymentHost

Batch delete hosts

resourceHost

BatchDeleteHosts

Delete a host

resourceHost

DeleteHost

Query a host list

resourceHost

ShowDeploymentHosts

Obtain information of hosts by their IDs.

resourceHost

QueryDeploymentHostsById

Query a host list

resourceHost

ListHosts

Query host details

resourceHost

ShowDeploymentHostDetail

Query a host list

resourceHost

ListNewHosts

Query host details

resourceHost

ShowHostDetail

Verify connectivity

resourceHost

TestSelectedTargetConnection

Clone a host

resourceHost

CopyHostsToTarget

Querying environment basic information list under an application

deploymentGroup

ListHostGroupBaseInfos

Query a host cluster list

deploymentGroup

ShowDeploymentGroups

Query host cluster details

deploymentGroup

ShowDeploymentGroup

Install ICAgent

aomAgent

installICAgent

Modify the parameters of a deployment job

deployTaskConfig

UpdateConfig

Checking Audit Logs

Query CodeArts Deploy traces on the CTS console. For details, see Checking Audit Events.