OpenParable
Skip to content
← Back to skills

Cis AWS Storage 2.8

DevOps & Security
cis-aws-storage-2.8

Cis 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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
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

  1. Enable AWS CloudTrail
  2. Review CloudTrail Logs
  3. Utilize AWS Config
  4. 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

  1. Creating IAM Groups

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v86.8 Define and Maintain Role-Based Access Control●
v716.1 Maintain an Inventory of Authentication Systems●●
v716.2 Configure Centralized Point of Authentication●●