Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/CyberStrikeus/CyberStrike --skill cis-aws-storage-1-4명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | cis-aws-storage-1.4 |
| description | Ensure to create AWS IAM Policies |
| category | cis-storage-services |
| version | 1.0.0 |
| author | cyberstrike-official |
| tags | ["cis","aws","storage","backup","iam","iam-policy","access-control","least-privilege"] |
| cis_id | 1.4 |
| cis_benchmark | CIS AWS Storage Services Benchmark v1.0.0 |
| tech_stack | ["aws"] |
| cwe_ids | ["CWE-284"] |
| chains_with | ["cis-aws-storage-1.2","cis-aws-storage-1.5","cis-aws-storage-1.6"] |
| prerequisites | ["cis-aws-storage-1.1"] |
| severity_boost | {} |
AWS IAM policies specify the desired permissions for accessing AWS resources and define the conditions under which those permissions are granted. Configure the appropriate policies to keep your resources secure.
Managing AWS IAM policies is crucial to safeguard your backups from unauthorized access, ensuring that only approved users can manipulate or view sensitive data.
Properly configured IAM policies implement the principle of least privilege, granting only the minimum permissions necessary for users and services to perform their designated tasks. This minimizes the risk of accidental or malicious data exposure and unauthorized backup modifications.
Not implementing proper IAM policies for AWS Backup can lead to:
To create a role for AWS Backup, follow these steps:
# List IAM policies related to backups
aws iam list-policies --scope Local | grep -i backup
# Get a specific policy document
aws iam get-policy --policy-arn <POLICY_ARN>
# Get policy version details
aws iam get-policy-version \
--policy-arn <POLICY_ARN> \
--version-id <VERSION_ID>
# List roles and their attached policies
aws iam list-roles | grep -i backup
# List policies attached to a specific role
aws iam list-attached-role-policies --role-name <ROLE_NAME>
Navigate to IAM Dashboard
Create Custom Policy
Example Policy Structure
Apply Policy to Roles/Users
# Create an IAM policy for backup operations
aws iam create-policy \
--policy-name BackupAdministratorPolicy \
--policy-document '{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"backup:CreateBackupPlan",
"backup:CreateBackupSelection",
"backup:StartBackupJob",
"backup:ListBackupPlans",
"backup:ListBackupVaults",
"backup:DescribeBackupVault"
],
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"backup:DeleteBackupPlan",
"backup:DeleteBackupVault"
],
"Resource": "*",
"Condition": {
"StringNotEquals": {
"aws:PrincipalArn": "arn:aws:iam::ACCOUNT:role/BackupAdministrator"
}
}
}
]
}'
# Attach policy to a role
aws iam attach-role-policy \
--role-name BackupServiceRole \
--policy-arn arn:aws:iam::ACCOUNT:policy/BackupAdministratorPolicy
AWS provides managed policies like AWSBackupServiceRolePolicyForBackup and AWSBackupServiceRolePolicyForRestores, but custom policies should be created for granular control.
Not mapped to specific CIS Controls v7 or v8 in the provided documentation.