Using CTS to Audit ModelArts
ModelArts can connect to CTS. With CTS, you can obtain operations associated with ModelArts for later query, audit, and backtrack operations.
After CTS is enabled, CTS starts recording operations on ModelArts. The CTS console stores the operation records generated in the last seven days. This section describes how to view operation records of the last seven days on the CTS console.
Prerequisites
You have enabled CTS. For details, see Cloud Trace Service User Guide.
Key Inference Deployment (New Version) Operations Traced by CTS
| Operation | Resource Type | Trace |
|---|---|---|
| Creating an API key | apikeyV2 | CreateApiKeyV2 |
| Obtaining API keys | apikeyV2 | ListApiKeyV2 |
| Deleting an API key | apikeyV2 | DeleteApiKeyV2 |
| Binding an API key | apikeyV2 | BindApiKeyV2 |
| Unbinding an API key | apikeyV2 | UnbindApiKeyV2 |
| Batch binding API keys | apikeyV2 | BindApiKeyV2 |
| Batch unbinding API keys | apikeyV2 | UnbindApiKeyV2 |
| Creating a service deployment | serviceV2 | CreateDeployment |
| Updating a service deployment | serviceV2 | UpdateDeployment |
| Obtaining service deployment details | serviceV2 | GetDeployment |
| Starting a service deployment | serviceV2 | StartDeployment |
| Stopping a service deployment | serviceV2 | StopDeployment |
| Deleting a service deployment | serviceV2 | DeleteDeployment |
| Interrupting a service deployment | serviceV2 | InterruptDeployment |
| Obtaining service deployments | serviceV2 | ListDeployment |
| Scaling instances | serviceV2 | ScaleDeployment |
| Obtaining service instances | serviceV2 | ListServiceV2Instances |
| Obtaining service pods | serviceV2 | ListServiceV2Pods |
| Deleting a service instance | serviceV2 | DeleteServiceV2Instance |
| Deleting a pod | serviceV2 | DeleteServiceV2Pod |
| Obtaining pod events | serviceV2 | ListServiceV2PodEvents |
| Switching deployment versions | serviceV2 | SwitchDeploymentVersion |
| Obtaining details about a real-time service deployment version | serviceV2 | GetDeploymentVersion |
| Obtaining deployment versions | serviceV2 | ListDeploymentVersion |
| Deleting a real-time service deployment version | serviceV2 | DeleteDeploymentVersion |
| Creating an HPA policy | serviceV2 | CreateHpa |
| Viewing an HPA policy | serviceV2 | GetHpaV2 |
| Deleting an HPA policy | serviceV2 | DeleteHpa |
| Modifying an HPA policy | serviceV2 | UpdateHpa |
| Obtaining HPA events | serviceV2 | ListHpaEventV2 |
| Obtaining details about managed clusters | Cluster | GetClusterV2 |
| Creating a service | serviceV2 | CreateServiceV2 |
| Starting a service | serviceV2 | StartServiceV2 |
| Updating a service | serviceV2 | UpdateServiceV2 |
| Obtaining service details | serviceV2 | GetServiceV2 |
| Stopping a service | serviceV2 | StopServiceV2 |
| Interrupting a service | serviceV2 | InterruptServiceV2 |
| Deleting a service | serviceV2 | DeleteServiceV2 |
| Obtaining services | serviceV2 | ListServiceV2 |
| Obtaining events of a specified service | serviceV2 | ListEventsV2 |
| Obtaining available flavors | ServiceFlavor | ListServiceFlavor |
| Batch creating resource tags | ServiceTag | CreateServiceTag |
| Batch deleting resource tags | ServiceTag | DeleteServiceTag |
| Obtaining resource tags | ServiceTag | ListResourceServiceTag |
| Obtaining tags of a project | ServiceTag | ListProjectServiceTag |
| Obtaining resource instances | ServiceTag | ListServiceTagResources |
| Obtaining the number of resource instances | ServiceTag | CountServiceTagInstance |
| Switching real-time service versions | serviceV2 | SwitchServiceV2Version |
| Obtaining details about a real-time service version | serviceV2 | GetServiceV2Version |
| Obtaining real-time service versions | serviceV2 | ListServiceV2Version |
| Deleting a real-time service version | serviceV2 | DeleteServiceV2Version |
| Creating a private network request | intranetConnection | CreateIntranetConnection |
| Operating a private network request | intranetConnection | OperateIntranetConnection |
| Obtaining private network access requests | intranetConnection | ListApprovalRequests |
| Obtaining private network access approvals | intranetConnection | ListApprovalReviews |
| Deleting a private network connection | intranetConnection | DeleteIntranetConnection |
| Modifying a request for adding a custom private network URL | intranetConnection | OperateIntranetConnection |
| Querying quotas | ProjectQuota | GetProjectQuota |
Procedure
- Log in to the CTS console.
- Click
in the upper left corner and select a region. - In the navigation pane on the left, choose Trace List.
- Specify filters as needed. You can query traces using a combination of the following filters:
- Trace Source, Resource Type, and Search By:
Select a filter from the drop-down list.
When you select Trace Name, you need to enter a specific trace name.
When you select Resource ID, you need to enter a specific resource ID.
When you select Resource Name, you need to enter a specific resource name.
- Operator: Select a specific operator (a user rather than a tenant).
- Trace Status: Select All trace statuses, Normal, Warning, or Incident.
- Time range: You can query traces generated during any time range of the last seven days.
- Trace Source, Resource Type, and Search By:
- Click
on the left of a trace to expand its details. - Locate the target trace and click View Trace in the Operation column. In the displayed View Trace dialog box, view the trace structure details.
For details about the CTS trace structure, see Cloud Trace Service User Guide.
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