OpenParable
Skip to content
← Back to skills

Cis AWS Storage 2.13

DevOps & Security
cis-aws-storage-2.13

Cis AWS Storage 2.13 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 creating an SNS subscription

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.13/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-13, 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.13: Ensure creating an SNS subscription (Manual)

Profile Applicability

  • Level 2

Description

SNS (Simple Notification Service) subscriptions enable real-time alerts and notifications for AWS CloudWatch alarms and events, ensuring administrators are immediately informed of critical issues with EC2 instances and EBS volumes.

Rationale

Creating SNS subscriptions is essential for timely incident response and proactive monitoring. By receiving immediate notifications about CloudWatch alarms, administrators can quickly address performance issues, security events, or resource failures before they impact operations.

Impact

Without SNS subscriptions, CloudWatch alarms may go unnoticed, leading to delayed incident response, prolonged downtime, and potential data loss. Real-time notifications ensure that critical issues are addressed promptly, minimizing operational disruptions and maintaining service availability.

Audit Procedure

Via AWS Management Console

  1. Navigate to SNS → Subscriptions
  2. Verify subscriptions exist for critical CloudWatch alarms
  3. Confirm subscription endpoints (email, SMS, Lambda) are active
  4. Test notification delivery

Via AWS CLI

```bash

List SNS topics

aws sns list-topics

List subscriptions

aws sns list-subscriptions

Get topic attributes

aws sns get-topic-attributes --topic-arn <TOPIC_ARN>

List subscriptions for specific topic

aws sns list-subscriptions-by-topic --topic-arn <TOPIC_ARN> ```

Expected Result

  • SNS topics exist for critical alarm categories
  • Subscriptions are configured for appropriate notification channels
  • Subscription endpoints are confirmed and active
  • Test notifications are successfully delivered

Remediation

Via AWS Management Console

  1. Navigate to SNS → Create Topic
  2. Provide topic name and display name
  3. Create subscription to the topic
  4. Choose protocol (Email, SMS, HTTPS, Lambda, SQS)
  5. Enter endpoint details
  6. Confirm subscription
  7. Link topic to CloudWatch alarms

Via AWS CLI

```bash

Create SNS topic

aws sns create-topic --name CloudWatchAlerts

Create email subscription

aws sns subscribe
--topic-arn arn:aws:sns:region:account:CloudWatchAlerts
--protocol email
--notification-endpoint [email protected]

Confirm subscription (check email for confirmation link)

Associate CloudWatch alarm with SNS topic

aws cloudwatch put-metric-alarm
--alarm-name HighCPUUtilization
--alarm-actions arn:aws:sns:region:account:CloudWatchAlerts
--metric-name CPUUtilization
--namespace AWS/EC2
--statistic Average
--period 300
--threshold 80
--comparison-operator GreaterThanThreshold ```

Default Value

No SNS topics or subscriptions are created by default.

References

  1. Amazon SNS
  2. CloudWatch Alarms with SNS

CIS Controls

Not explicitly mapped in the provided documentation.

Notes

  • This is a manual control requiring SNS configuration verification
  • Configure multiple notification channels for redundancy
  • Use SNS message filtering to reduce notification noise
  • Regularly test SNS subscriptions to ensure delivery
  • Consider integrating with incident management systems (PagerDuty, OpsGenie)