# Source: https://docs.datadoghq.com/security/default_rules/def-000-aa6.md

---
title: Azure group has access to a large number of resources
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > Azure group has access to a large
  number of resources
---

# Azure group has access to a large number of resources
 
## Description{% #description %}

To mitigate the impact of credential exposure or compromise, role assignments should be scoped down to the least scope of access needed to perform their responsibilities. This rule identifies when a group is assigned a role that has overly broad access to resources within a tenant. Datadog considers access large when the number of resources a user has access to is greater that 40% of the total resource count of the tenant.

## Rationale{% #rationale %}

By comparing the volume of resource a group can access with the total resources of a tenant, we can identify overly large access. This access should be more tightly scoped to limit the impact of a potential compromise.

## Remediation{% #remediation %}

Datadog recommends reducing the scope of a role assigned to a group to the minimum necessary for the members to fulfill their duties. Azure Activity Logs provide a comprehensive view of actual resource interaction. These actions should be compared with the total scope allocated to the group and the role assignment's scope adjusted more tightly to accord with necessary activity.