Using CTS to Audit Lite Server Operations
ModelArts Lite Server can interconnect with Cloud Trace Service (CTS). With CTS, you can record operations associated with ModelArts Lite Server for later query, audit, and backtrack operations.
Constraints
CTS stores operation records of ModelArts Lite Server from the last seven days.
Prerequisites
You have enabled CTS. For details, see Cloud Trace Service User Guide.
Key Operations Supported by ModelArts Lite Server
Operation |
Resource Type |
Trace |
---|---|---|
Create |
Server |
createServer |
Update |
Server |
stopServer |
Update |
Server |
startServer |
Update |
Server |
rebootServer |
Delete |
Server |
deleteServer |
Read |
Server |
getServer |
Update |
Server |
syncServer |
Read |
Server |
listbyuserServer |
Read |
Server |
listServer |
Update |
Server |
changeosServer |
Update |
Server |
reinstallosServer |
Update |
Server |
attachvolumeServer |
Update |
Server |
detachvolumeServer |
Read |
Server |
getoperationServer |
Update |
Server |
bindpublicipServer |
Read |
Server |
listpublicipServer |
Create |
Server |
createjobServer |
Read |
Server |
getjobServer |
Read |
Server |
listjobsServer |
Delete |
Server |
deletejobsServer |
Read |
Server |
listflavorsServer |
Update |
Server |
updatejobServer |
Create |
ServerRoceNetwork |
createrocenetworkServerRoceNetwork |
Read |
Plugin |
listpluginsPlugin |
Read |
ServerImage |
listimagesServerImage |
Read |
ServerImage |
getimageServerImage |
Read |
ServerHyperinstance |
getserverhyperinstance |
Read |
ServerHyperinstance |
listbyuserhyperinstance |
Read |
ServerHyperinstance |
listallhyperinstance |
Update |
ServerHyperinstance |
changeoshyperinstance |
Delete |
ServerHyperinstance |
deleteserverhyperinstance |
Create |
ServerHyperinstance |
createtagshyperinstance |
Delete |
ServerHyperinstance |
deletetagshyperinstance |
Read |
ServerHyperinstance |
querytagshyperinstance |
Update |
ServerHyperinstance |
stophyperinstance |
Update |
ServerHyperinstance |
starthyperinstance |
Read |
ServerHyperinstance |
getoperationhyperinstance |
Update |
ServerHyperinstance |
scaleuphyperinstance |
Viewing Audit Logs on the CTS Console
- 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 CTS 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