Cis AWS Storage 2.8
DevOps & Securitycis-aws-storage-2.8Cis AWS Storage 2.8 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Ensure the Creation of IAM Groups
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Storage_Services_Benchmark_v1.0.0/cis-aws-storage-2.8/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-storage-2-8, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
CIS Control 2.8: Ensure the Creation of IAM Groups (Manual)
Profile Applicability
- Level 2
Description
IAM Groups are collections of users that share the same permissions for accessing AWS resources. For instance, you can create a group named "Administrators," which includes users who require full access to your AWS environment. This simplifies permission management by assigning common access policies to all members of the group.
Rationale
IAM groups in AWS simplify permission management by grouping users with similar access needs and applying common access policies, reducing administrative overhead and enhancing security through the principle of least privilege. This approach ensures consistency, scalability, and ease of auditing, strengthening the overall security posture of the AWS environment.
Audit Procedure
Via AWS Management Console
- Enable AWS CloudTrail
- Review CloudTrail Logs
- Utilize AWS Config
- Check IAM Console
Via AWS CLI
```bash aws iam list-groups aws iam get-group --group-name <GROUP_NAME> aws iam list-attached-group-policies --group-name <GROUP_NAME> ```
Remediation
Via AWS CLI
```bash
Create IAM group
aws iam create-group --group-name Administrators
Attach policy to group
aws iam attach-group-policy
--group-name Administrators
--policy-arn arn:aws:iam::aws:policy/AdministratorAccess
Add user to group
aws iam add-user-to-group
--user-name
--group-name Administrators
```
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 6.8 Define and Maintain Role-Based Access Control | ● | ||
| v7 | 16.1 Maintain an Inventory of Authentication Systems | ● | ● | |
| v7 | 16.2 Configure Centralized Point of Authentication | ● | ● |