nadamohamed14796-byte/cyber-strike/cis-aws-database-2-4
Claude Code and agent skill by nadamohamed14796-byte/cyber-strike
- community
Checking that the SKILL.md file is still in the repository.
Ensure IAM Roles and Policies are Created
Install
npx vskill@latest install nadamohamed14796-byte/cyber-strike/cis-aws-database-2-4SKILL.md
The same SKILL.md was published earlier as cyberstrikeus/cyberstrike/cis-aws-database-2-4.
2.4 Ensure IAM Roles and Policies are Created (Manual)
Description
AWS Identity and Access Management (IAM) helps manage access to AWS resources. While you cannot directly associate IAM roles with Amazon Aurora instances, you can use IAM roles and policies to define which AWS IAM users and groups have management permissions for Amazon RDS resources and what actions they can perform. Here is a guide:
Rationale
Individual creates IAM roles and polices that define specific permission given to that role. This determines what the identity or instance can and cannot do.
Impact
If an IAM Role is not created, then it would be challenging to access AWS resources.
Audit Procedure
Using AWS Console
- Sign in to AWS Management Console
- If you do not already have an AWS account, you will need to create one at https://aws.amazon.com.
- Navigate to IAM Dashboard
- Navigate to the IAM service once logged in to the AWS Management Console.
- This is under the
Security, Identity, & Compliancecategory.
- Create a New IAM Role
- In the IAM Dashboard, find the
Rolessection on the left-side navigation pane and click on it. Then, click on theCreate Rolebutton.
- Select the Service that will Use the Role
- Choose
RDSas the AWS service that will use this new role, then clickNext: Permissions.
- Attach Policy
- In the next screen, you can attach policies defining this role's permissions. You can use the filter to find existing policies like
AmazonRDSFullAccessorAmazonRDSReadOnlyAccess. - Select the appropriate policy and then click
Next: Tags.
- Add Tags (Optional)
- You can add metadata to the role by attaching tags as key-value pairs. This is optional, and you can proceed to the next step if you do not wish to add tags.
- Review
- Provide a name and a description for the role. Review the role and then click
Create Role.
- Creating IAM Policy (Optional)
- You can create a custom IAM policy if the predefined policies do not meet your requirements.
- Navigate to
Policiesin the IAM dashboard and clickCreate Policy. - Use the visual editor or JSON editor to define the permissions.
- Once done, click
Review Policy, give it a name and a description, and clickCreate Policy. - You can then attach this custom policy to the IAM role.
- Assign the IAM Role to an IAM User or Group
- To assign the newly created role to an IAM User or Group:
- Navigate to the user or group in the IAM dashboard.
- Click
Add permissions. - Then
Attach existing policies directly. - Use the filter to find your new role and select it.
- Click
Next: Reviewand thenAdd permissions.
Expected Result
IAM roles with appropriate policies should exist for managing Amazon Aurora/RDS resources. Users and groups should have the necessary IAM roles attached.
Remediation
Follow the audit procedure steps above to create IAM roles and policies for Amazon Aurora access management.
Default Value
No Aurora-specific IAM roles are created by default. Users must create and configure IAM roles and policies according to their access management requirements.
References
- https://aws.amazon.com/products/databases/
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 | |
|---|---|---|---|---|---|
| v8 | 3.3 Configure Data Access Control Lists - Configure data access control lists based on a user's need to know. Apply data access control lists, also known as access permissions, to local and remote file systems, databases, and applications. | x | x | x | |
| v7 | 14.6 Protect Information through Access Control Lists - Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. | x | x | x |
Profile
Level 1 | Manual
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/cis-aws-database-services-benchmark-v2/cis-aws-database-2.4/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nadamohamed14796-byte/cyber-strike/cis-aws-database-2-4)