Updated on 2023-11-16 GMT+08:00

Permissions

If you need to assign different permissions to employees in your enterprise to access your AOM resources, Identity and Access Management (IAM) is a good choice for fine-grained permissions management. IAM provides identity authentication, permissions management, and access control, helping you secure access to your AOM resources.

With IAM, you can use your account to create IAM users for your employees, and assign permissions to the users to control their access to specific types of resources. For example, some software developers in your enterprise need to use AOM resources but are not allowed to delete them or perform any high-risk operations such as deleting application discovery rules. To achieve this result, you can create IAM users for the software developers and grant them only the permissions required for using AOM resources.

If your cloud account does not need individual IAM users for permissions management, you may skip over this chapter.

IAM can be used free of charge. You pay only for the resources in your account. For more information about IAM, see IAM Service Overview.

AOM Permissions

By default, new IAM users do not have any permissions assigned. You need to add a user to one or more groups, and assign permissions policies or roles to these groups. The user then inherits permissions from the groups it is a member of. This process is called authorization. After authorization, the user can perform specified operations on AOM.

AOM is a project-level service deployed and accessed in specific physical regions. To assign AOM permissions to a user group, specify the scope as region-specific projects and select projects for the permissions to take effect. If All projects is selected, the permissions will take effect for the user group in all region-specific projects. When accessing AOM, the users need to switch to a region where they have been authorized to use this service.

You can grant users permissions by using roles and policies.

  • Roles: A type of coarse-grained authorization mechanism that defines permissions related to user responsibilities. This mechanism provides only a limited number of service-level roles for authorization. When using roles to grant permissions, you also need to assign dependency roles. However, roles are not an ideal choice for fine-grained authorization and secure access control.
  • Policies: A type of fine-grained authorization mechanism that defines permissions required to perform operations on specific cloud resources under certain conditions. This mechanism allows for more flexible policy-based authorization, meeting requirements for secure access control. For example, you can grant Elastic Cloud Server (ECS) users only the permissions for managing a certain type of ECSs. Most policies define permissions based on APIs. For the API actions supported by AOM, see Permissions Policies and Supported Actions.
Table 1 lists all the system permissions supported by AOM.
Table 1 System permissions supported by AOM

Policy Name

Description

Type

Depended System Permissions

AOM FullAccess

Administrator permissions for AOM. Users granted these permissions can operate and use AOM.

System-defined policy

CCE Administrator, OBS Administrator, and LTS FullAccess

AOM ReadOnlyAccess

Read-only permissions for AOM. Users granted these permissions can only view AOM data.

System-defined policy

Table 2 lists the common operations supported by each system-defined policy of AOM. Please choose proper system-defined policies according to this table.

Table 2 Common operations supported by each system-defined policy of AOM

Operation

AOM FullAccess

AOM ReadOnlyAccess

Creating a threshold rule

x

Modifying a threshold rule

x

Deleting a threshold rule

x

Creating a threshold template

x

Modifying a threshold template

x

Deleting a threshold template

x

Creating a dashboard

x

Modifying a dashboard

x

Deleting a dashboard

x

Creating an alarm action rule

x

Modifying an alarm action rule

x

Deleting an alarm action rule

x

Creating a message template

x

Modifying a message template

x

Deleting a message template

x

Creating a grouping rule

x

Modifying a grouping rule

x

Deleting a grouping rule

x

Creating a suppression rule

x

Modifying a suppression rule

x

Deleting a suppression rule

x

Creating a silence rule

x

Modifying a silence rule

x

Deleting a silence rule

x

Creating an application discovery rule

x

Modifying an application discovery rule

x

Deleting an application discovery rule

x

Exporting a monitoring report

Configuring a VM log collection path

x

Viewing bucket logs

Adding a log dump

x

Modifying a log dump

x

Deleting a log dump

x

Starting periodical dump

x

Stopping periodical dump

x

Creating a statistical rule

x

Modifying a statistical rule

x

Deleting a statistical rule

x

Configuring a delimiter

x

Installing the ICAgent

Upgrading the ICAgent

x

Uninstalling the ICAgent

x

To use a custom fine-grained policy, log in to IAM as the administrator and select fine-grained permissions of AOM as required. For details, see Table 3

Table 3 Fine-grained permissions of AOM

Permission Name

Description

Dependency

Scenario

aom:alarmRule:create

Creating a threshold rule

N/A

Creating a threshold rule

aom:alarmRule:set

Modifying a threshold rule

Modifying a threshold rule

aom:alarmRule:get

Querying threshold rules

Querying all threshold rules or a single threshold rule by rule ID

aom:alarmRule:delete

Deleting threshold rules

Deleting threshold rules in batches or a single threshold rule by rule ID

aom:discoveryRule:list

Querying application discovery rules

Querying existing application discovery rules

aom:discoveryRule:delete

Deleting an application discovery rule

Deleting an application discovery rule

aom:discoveryRule:set

Adding an application discovery rule

Adding an application discovery rule

aom:metric:list

Querying time series objects

Querying time series objects

aom:metric:list

Querying time series data

Querying time series data

aom:metric:get

Querying metrics

Querying metrics

aom:metric:get

Querying monitoring data

Querying monitoring data