> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-iam-group-not-in-use.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS IAM group not in use

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS IAM group not in use                     |
| Finding ID          | 60000624                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Informational                                |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | AWS\_IAM\_GROUP                              |

### Description

Unused AWS IAM groups represent a security risk. These groups, even without assigned users, might retain permissions, potentially enabling unauthorized access to AWS resources.

IAM groups streamline user management by grouping users with shared permissions. However, inactive groups with attached permissions present a significant misconfiguration. An attacker might exploit this to gain access to sensitive data or services if they obtain control of the group or leverage it for privilege escalation.

The impact of this misconfiguration is the potential for unauthorized access to AWS resources and data breaches. Removing unused groups ensures a more secure environment by minimizing the attack surface and preventing accidental or malicious use of attached permissions. Regularly reviewing and removing inactive groups is crucial for maintaining strong security posture.

To mitigate this, regularly audit IAM groups. Identify groups without any associated users. Remove any unused groups and ensure that all permissions are properly managed and assigned only to necessary users or groups. Implement a process for regular review and removal of unused resources.

### Remediation

To delete an IAM user group (console)

1. Sign in to the AWS Management Console
2. Navigate to the 'Services' menu and, within the 'Security, Identity, & Compliance' category, choose the 'IAM' service to open the IAM console
3. In the IAM console's navigation pane, select 'User groups' located under the 'Access management' section
4. In the list of user groups, select the check box next to the name of the reported user group to delete. You can use the search box to filter the list of user group name.
5. Choose 'Delete' to delete the group
6. In the confirmation box, If you want to delete user groups, type 'delete' and choose 'Delete'


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-iam-group-not-in-use.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
