Control: 20 Existing RDS event notification subscriptions should be configured for critical database instance events
Description
This control checks whether an Amazon RDS event subscription exists with notifications enabled for the following source type, event category key-value pairs.
DBInstance: ["maintenance","configuration change","failure"]
RDS event notifications use Amazon SNS to make you aware of changes in the availability or configuration of your RDS resources. These notifications allow for rapid response. For additional information about RDS event notifications, see Using Amazon RDS event notification in the Amazon RDS User Guide.
Remediation
To subscribe to RDS instance event notifications
Open the Amazon RDS console
In the navigation pane, choose
Event subscriptions
.Under
Event subscriptions
, chooseCreate event subscription
.In the
Create event subscription
dialog, do the following:a. For
Name
, enter a name for the event notification subscription.b. For
Send notifications to
, choose an existing Amazon SNS ARN for an SNS topic. To use a new topic, choosecreate topic
to enter the name of a topic and a list of recipients.c. For
Source type
, chooseInstances
.d. Under
Instances to include
, selectAll instances
.e. Under
Event categories to include
, selectSpecific event categories
. The control also passes if you selectAll event categories
.f. Select
maintenance
,configuration change
, andfailure
.g. Choose
Create
.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.foundational_security_rds_20
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.foundational_security_rds_20 --share
SQL
This control uses a named query:
rds_db_instance_events_subscription