More Info:

Roles which can be assumed by Database Services

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the issue of roles assumable by database services in Azure IAM, follow these step-by-step instructions using the Azure console:

  1. Sign in to the Azure portal (https://portal.azure.com) using your Azure account credentials.

  2. In the Azure portal, navigate to the Azure Active Directory (AAD) service by selecting “Azure Active Directory” from the left-hand menu.

  3. In the Azure AD overview page, click on “Enterprise applications” in the left-hand menu.

  4. In the Enterprise applications page, search for “Azure Database for PostgreSQL” or “Azure Database for MySQL” based on the database service you are using.

  5. Click on the appropriate database service application.

  6. In the application’s overview page, click on “Properties” in the left-hand menu.

  7. Under the “Managed application” section, click on the “Users and groups” option.

  8. In the “Users and groups” page, review the list of users and groups that have access to assume the role of the database service.

  9. Identify any users or groups that should not have this role assumption privilege and should be remediated.

  10. To remove a user or group’s role assumption privilege, click on the respective user or group.

  11. In the user or group’s overview page, click on the “Roles and administrators” option in the left-hand menu.

  12. In the “Roles and administrators” page, review the list of roles assigned to the user or group.

  13. Identify the role that grants the privilege to assume the role of the database service and should be removed.

  14. To remove the role, click on the role and then click on the “Remove assignment” button.

  15. Confirm the removal of the role assignment when prompted.

  16. Repeat steps 10-15 for any other users or groups that need to have their role assumption privilege remediated.

  17. Once all necessary role assumption privileges have been removed, you have successfully remediated the issue of roles assumable by database services in Azure IAM.

Ensure to regularly review and manage the roles and permissions assigned to users and groups in Azure IAM to maintain a secure and compliant environment.