Key Operations Supported by CTS
Scenario
Cloud Trace Service (CTS) is available on the cloud platform. With CTS, you can record RAM-related operations for further query, audit, and backtracking.
Prerequisites
CTS has been enabled. For details about how to enable CTS, see Enabling CTS.
Key RAM Operations
| Operation | Resource Type | Event Name |
|---|---|---|
| Creating a resource share | resourceShare | createResourceShare |
| Searching for resource shares | resourceShare | searchResourceShares |
| Deleting a resource share | resourceShare | deleteResourceShare |
| Updating a resource share | resourceShare | updateResourceShare |
| Associating RAM permissions with the resource types specified in a resource share | resourceShare | associateResourceSharePermission |
| Disassociating RAM permissions from a resource share | resourceShare | disassociateResourceSharePermission |
| Associating principals and resources with a resource share | resourceShare | associateResourceShare |
| Disassociating principals and resources from a resource share | resourceShare | disassociateResourceShare |
| Searching for associated principals and resources | resourceShare | searchResourceShareAssociations |
| Accepting an invitation from a resource share | resourceShare | acceptResourceShareInvitation |
| Rejecting an invitation from a resource share | resourceShare | rejectResourceShareInvitation |
| Searching for a resource sharing invitation | resourceShare | searchResourceShareInvitation |
| Checking whether Sharing with Organizations is enabled | resourceShare | showOrganizationShare |
| Enabling sharing with Organizations | resourceShare | enableShareWithOrganization |
| Disabling sharing with Organizations | resourceShare | disableShareWithOrganization |
| Listing RAM managed permissions | permission | listPermissions |
| Getting resource sharing permission details | permission | showPermission |
| Listing used tags | resourceShare | listResourceShareTags |
| Listing resource shares by tag | resourceShare | listResourceSharesByTags |
| Listing the number of resource shares by tag | resourceShareCount | searchResourceShareCountByTags |
| Adding a tag to a resource share | resourceShare | batchCreateResourceShareTags |
| Deleting a tag from a resource share | resourceShare | batchDeleteResourceShareTags |
| Listing attached RAM managed permissions | resourceSharePermission | listResourceSharePermissions |
| Searching for shared resources | sharedResource | searchSharedResources |
| Searching for distinct shared resources | sharedResource | searchDistinctSharedResources |
| Searching for principals you share with | sharedPrincipal | searchSharedPrincipals |
| Searching for distinct roles in resource sharing | sharedPrincipal | searchDistinctPrincipals |
| Querying the quotas of a resource share | quota | listQuota |
| Querying resource types of cloud services | resourceType | listResourceTypes |
| Getting all versions of permissions | permissionVersion | listPermissionVersions |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.