Cis AWS Storage 2.9
DevOps & Securitycis-aws-storage-2.9Cis AWS Storage 2.9 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 Granular Policy Creation
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.9/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-9, 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.9: Ensure Granular Policy Creation (Manual)
Profile Applicability
- Level 2
Description
Granular policies are meticulously tailored to AWS resources, ensuring precision in access control measures.
Rationale
Emphasizing granular policies in AWS ensures that access control measures are precisely aligned with the requirements of each resource, bolstering security and minimizing unauthorized access. By tailoring policies to specific resources, organizations can adhere more closely to the principle of least privilege, mitigating risks and maintaining compliance with regulatory standards.
Audit Procedure
Via AWS CLI
```bash
Review IAM policies for granularity
aws iam list-policies --scope Local
Examine policy document
aws iam get-policy-version
--policy-arn <POLICY_ARN>
--version-id <VERSION_ID>
```
Remediation
Review existing IAM policies to identify those that are overly broad or lack granularity. Refine these policies to restrict permissions to only the resources and actions necessary for each user or group.
References
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 6.8 Define and Maintain Role-Based Access Control | ● | ||
| v7 | 16.2 Configure Centralized Point of Authentication | ● | ● |