Application Performance Management (APM)
IAM provides system-defined identity policies to define common actions supported by cloud services. You can also create custom identity policies using the actions supported by cloud services for more refined access control.
In addition to IAM, the Organizations service provides Service Control Policies (SCPs) to set access control policies.
SCPs do not actually grant any permissions to a principal. They only set the permissions boundary for the principal. When SCPs are attached to a member account or an organizational unit (OU), they do not directly grant permissions to that member account or OU. Instead, the SCPs just determine what permissions are available for that member account or the member accounts under that OU. The granted permissions can be applied only if they are allowed by the SCPs.
To learn more about how IAM is different from Organizations for access control, see What Are the Differences in Access Control Between IAM and Organizations?
This section describes the elements used by IAM custom identity policies and Organizations SCPs. The elements include actions, resources, and conditions.
- For details about how to use these elements to create an IAM custom identity policy, see Creating a Custom Identity Policy.
- For details about how to use these elements to create a custom SCP, see Creating an SCP.
Actions
Actions are specific operations that are allowed or denied in an identity policy.
- The Access Level column describes how the action is classified (List, Read, or Write). This classification helps you understand the level of access that an action grants when you use it in an identity policy.
- The Resource Type column indicates whether the action supports resource-level permissions.
- You can use a wildcard (*) to indicate all resource types. If this column is empty (-), the action does not support resource-level permissions and you must specify all resources ("*") in your identity policy statements.
- If this column includes a resource type, you must specify the URN in the Resource element of your statements.
- Required resources are marked with asterisks (*) in the table. If you specify a resource in a statement using this action, then it must be of this type.
For details about the resource types defined by APM, see Resources.
- Condition Key contains keys that you can specify in the Condition element of an identity policy statement.
- If the Resource Type column has values for an action, the condition key takes effect only for the listed resource types.
- If the Resource Type column is empty (-) for an action, the condition key takes effect for all resources that action supports.
- If the Condition Key column is empty (-) for an action, the action does not support any condition keys.
For details about the condition keys defined by APM, see Conditions.
- The Alias column lists the policy actions that are configured in identity policies. With these actions, you can use APIs for policy-based authorization. For details, see Policies and Identity Policies.
The following table lists the actions that you can define in identity policy statements for APM.
|
Action |
Description |
Access Level |
Resource Type (*: required) |
Condition Key |
Alias |
|---|---|---|---|---|---|
|
apm:application:list |
Grants permission to obtain the information about the application list. |
List |
- |
- |
apm:apm2BusinessBusiness:list |
|
apm:application:getService |
Grants permission to obtain service information. |
Read |
- |
apm:apm2Service:get |
|
|
apm::retrieveCredential |
Grants permission to obtain an access credential. |
Permission_management |
- |
- |
apm:apm2AkSk:read |
|
apm::createCredential |
Grants permission to create an access credential. |
Permission_management |
- |
- |
apm:apm2AkSk:create |
|
apm::deleteCredential |
Grants permission to delete an access credential. |
Permission_management |
- |
- |
apm:apm2AkSk:delete |
|
apm:application:get |
Grants permission to obtain the information about an application. |
Read |
- |
apm:apm2BusinessBusiness:get |
|
|
apm:application:updateInstance |
Grants permission to modify an instance. |
Write |
- |
apm:apm2BusinessInstance:update |
|
|
apm:application:deleteInstance |
Grants permission to delete an instance. |
Write |
- |
apm:apm2BusinessInstance:delete |
|
|
apm:application:getInstance |
Grants permission to obtain instance data. |
Read |
- |
apm:apm2BusinessInstance:get |
|
|
apm:application:getEnv |
Grants permission to obtain environment information. |
Read |
- |
apm:apm2BusinessEnv:get |
|
|
apm:application:getMonitorItemConf |
Grants permission to obtain monitoring item configurations. |
Read |
- |
apm:apm2BusinessMonitorItem:get |
|
|
apm:application:updateMonitorItemConf |
Grants permission to modify monitoring item configurations. |
Write |
- |
apm:apm2BusinessMonitorItem:update |
|
|
apm:application:delete |
Grants permission to delete an application. |
Write |
- |
apm:apm2BusinessBusiness:delete |
|
|
apm::getTopology |
Grants permission to obtain topology data. |
Read |
- |
- |
apm:apm2BusinessTopology:get apm:apm2TraceTopology:get |
|
apm::updateConf |
Grants permission to modify configurations. |
Write |
- |
- |
apm:apm2Service:update |
|
apm:application:getTransaction |
Grants permission to obtain transaction data. |
Read |
- |
apm:apm2BusinessBusiness:get |
|
|
apm::createAdminInfo |
Grants permission to create system management information. |
Write |
- |
apm:apm2Admin:create |
|
|
apm:application:update |
Grants permission to modify an application. |
Write |
- |
apm:apm2BusinessBusiness:update |
|
|
apm::getConf |
Grants permission to obtain configurations. |
Read |
- |
- |
apm:apm2BusinessView:get apm:apm2Service:get |
|
apm:application:getTraceEvents |
Grants permission to obtain the data of self-developed tracing. |
Write |
- |
apm:apm2TraceEvent:get apm:apm2TraceEvents:get apm:apm2BusinessSpanSearch:get |
|
|
apm:application:listTagsForResource |
Grants permission to query the application tag list. |
Read |
application * |
- |
apm:apm2BusinessBusiness:list |
|
- |
|||||
|
apm:application:tagResource |
Grants permission to create application tags. |
Tagging |
application * |
- |
apm:apm2BusinessBusiness:list |
|
- |
|||||
|
apm:application:unTagResource |
Grants permission to delete application tags. |
Tagging |
application * |
- |
apm:apm2BusinessBusiness:list |
|
- |
|||||
|
apm:application:create |
Grants permission to create an application. |
Write |
- |
apm:apm2BusinessBusiness:create |
|
|
apm::deleteAdminInfo |
Grants permission to delete system management information. |
Write |
- |
- |
apm:apm2Admin:delete |
|
apm::getAdminInfo |
Grants permission to query system management information. |
Read |
- |
- |
apm:apm2Admin:get |
|
apm::updateAdminInfo |
Grants permission to update system management information. |
Write |
- |
- |
apm:apm2Admin:update |
|
apm::getAlarmData |
Grants permission to obtain alarm data. |
Read |
- |
- |
apm:apm2BusinessBusiness:get |
|
apm::createAlarmRule |
Grants permission to create an alarm rule. |
Write |
- |
- |
apm:apm2BusinessBusiness:create |
|
apm::deleteAlarmRule |
Grants permission to delete an alarm rule. |
Write |
- |
- |
apm:apm2BusinessBusiness:delete |
|
apm::getAlarmRule |
Grants permission to query an alarm rule. |
Read |
- |
- |
apm:apm2BusinessBusiness:get |
|
apm::listAlarmRule |
Grants permission to query the alarm rule list. |
List |
- |
- |
apm:apm2BusinessBusiness:get |
|
apm::updateAlarmRule |
Grants permission to modify an alarm rule. |
Write |
- |
- |
apm:apm2BusinessBusiness:update |
|
apm::updateCredential |
Grants permission to modify an access credential. |
Permission_management |
- |
- |
apm:apm2AkSk:update |
Each API of APM usually supports one or more actions. Table 2 lists the supported actions and dependencies.
|
API |
Action |
Dependency |
|---|---|---|
|
GET /v1/apm2/access-keys |
apm::retrieveCredential |
- |
|
POST /v1/apm2/access-keys |
apm::createCredential |
- |
|
DELETE /v1/apm2/access-keys/{ak} |
apm::deleteCredential |
- |
|
POST /v1/apm2/openapi/alarm/data/get-alarm-data-list |
apm:application:get |
- |
|
POST /v1/apm2/openapi/alarm/data/get-alarm-notify-list |
apm:application:get |
- |
|
POST /v1/apm2/openapi/apm-service/agent-mgr/change-status |
apm:application:updateInstance |
- |
|
POST /v1/apm2/openapi/apm-service/agent-mgr/delete-agent |
apm:application:deleteInstance |
- |
|
POST /v1/apm2/openapi/apm-service/agent-mgr/search |
apm:application:getInstance |
- |
|
POST /v1/apm2/openapi/apm-service/app-mgr/search |
apm:application:getEnv |
- |
|
POST /v1/apm2/openapi/apm-service/monitor-item-mgr/get-env-monitor-item-list |
apm:application:getMonitorItemConf |
- |
|
GET /v1/apm2/openapi/apm-service/monitor-item-mgr/get-monitor-item-detail |
apm:application:getMonitorItemConf |
- |
|
POST /v1/apm2/openapi/apm-service/monitor-item-mgr/save-monitor-item-config |
apm:application:updateMonitorItemConf |
- |
|
DELETE /v1/apm2/openapi/cmdb/apps/delete-app/{application_id} |
apm:application:delete |
- |
|
GET /v1/apm2/openapi/cmdb/apps/get-apps |
apm:application:get |
- |
|
GET /v1/apm2/openapi/cmdb/business/get-business-detail/{business_id} |
apm:application:get |
- |
|
GET /v1/apm2/openapi/cmdb/business/get-business-list |
apm:application:list |
- |
|
GET /v1/apm2/openapi/cmdb/envs/get-app-envs |
apm:application:getEnv |
- |
|
GET /v1/apm2/openapi/cmdb/sub-business/get-sub-business-detail/{sub_business_id} |
apm:application:get |
- |
|
POST /v1/apm2/openapi/cmdb/tag/get-env-tag-list |
apm:application:get |
- |
|
GET /v1/apm2/openapi/cmdb/topology-trees/get-topology-trees |
apm::getTopology |
- |
|
GET /v1/apm2/openapi/region/get-all-supported-region |
apm:application:getService |
- |
|
GET /v1/apm2/openapi/region/get-opened-region |
apm:application:getService |
- |
|
GET /v1/apm2/openapi/systemmng/get-ak-sk-list |
apm::retrieveCredential |
- |
|
GET /v1/apm2/openapi/systemmng/get-master-address |
apm:application:getService |
- |
|
POST /v1/apm2/openapi/topology/business-search |
apm:application:getTransaction |
- |
|
POST /v1/apm2/openapi/topology/env-search |
apm:application:getTransaction |
- |
|
POST /v1/apm2/openapi/tracing/access/get-access-point/{business_id} |
apm:application:get |
- |
|
POST /v1/apm2/openapi/tracing/business/create |
apm::createAdminInfo |
- |
|
GET /v1/apm2/openapi/tracing/business/token/{business_id} |
apm:application:update |
- |
|
POST /v1/apm2/openapi/transaction/business-env |
apm:application:get |
- |
|
POST /v1/apm2/openapi/transaction/detail |
apm:application:getTransaction |
- |
|
POST /v1/apm2/openapi/transaction/search |
apm:application:getTransaction |
- |
|
POST /v1/apm2/openapi/transaction/transaction-config-search |
apm:application:getTransaction |
- |
|
GET /v1/apm2/openapi/view/config/get-monitor-item-view-config |
apm::getConf |
- |
|
POST /v1/apm2/openapi/view/mainview/get-env-instance-list |
apm:application:getInstance |
- |
|
GET /v1/apm2/openapi/view/mainview/get-env-monitor-item-list |
apm:application:getMonitorItemConf |
- |
|
POST /v1/apm2/openapi/view/metric/get-clob-detail |
apm::getConf |
- |
|
POST /v1/apm2/openapi/view/metric/raw-table |
apm::getConf |
- |
|
POST /v1/apm2/openapi/view/metric/sum-table |
apm::getConf |
- |
|
POST /v1/apm2/openapi/view/metric/trend |
apm::getConf |
- |
|
POST /v1/apm2/openapi/view/profiling/flame-line-tree |
apm::getTopology |
- |
|
GET /v1/apm2/openapi/view/trace/get-event-detail |
apm:application:getTraceEvents |
- |
|
GET /v1/apm2/openapi/view/trace/get-trace-events |
apm:application:getTraceEvents |
- |
|
POST /v1/apm2/openapi/view/trace/span-search |
apm:application:getTraceEvents |
- |
|
GET /v1/apm2/openapi/view/trace/topology |
apm::getTopology |
- |
|
POST /v2/alarm/data/get-alarm-data-list |
apm:application:get |
- |
Resources
A resource type indicates the resources that an identity policy applies to. If you specify a resource type for any action in Table 3, the resource URN must be specified in the identity policy statements using that action, and the identity policy applies only to resources of this type. If no resource type is specified, the Resource element is marked with an asterisk (*) and the identity policy applies to all resources. You can also set condition keys in an identity policy to define resource types.
The following table lists the resource types that you can define in identity policy statements for APM.
Conditions
APM does not support service-specific condition keys in identity policies. It can only use global condition keys applicable to all services. For details, see Global Condition Keys.
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