OpenParable
Skip to content
← Back to skills

Cis AWS Database 5.6

DevOps & Security
cis-aws-database-5.6

Cis AWS Database 5.6 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 Monitoring and Logging is Enabled

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_Database_Services_Benchmark_v2.0.0/cis-aws-database-5.6/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-5-6, 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.

5.6 Ensure Monitoring and Logging is Enabled

Description

Implementing monitoring and logging for Amazon ElastiCache allows you to gain visibility into the performance, health, and behavior of your ElastiCache clusters.

Rationale

This helps the individual know what is being logged within the activity and determine what next step they should take to address any suspicious activity.

Impact

If the individual is not monitoring and logging their activity it allows the attacker to attack the system and extract or destroy data.

Audit Procedure

Using AWS Console

  1. Sign in to the AWS Management Console

  2. Open the ElastiCache Console

  3. Select the ElastiCache Cluster

    • Choose the ElastiCache cluster for which you want to implement monitoring and logging.
    • Click on the cluster name to access its details page.
  4. Enable Enhanced Monitoring

    • Click on the Monitoring tab on the cluster details page.
    • Under the Monitoring section, click on the Enable Enhanced Monitoring button.
    • Select the desired monitoring granularity (1 minute, 5 minutes, or 60 minutes) to capture detailed metrics.
    • Choose the desired CloudWatch namespace to store the metrics.
    • Click Save changes to enable enhanced monitoring for the ElastiCache cluster.
  5. Set Up CloudWatch Alarms

    • In the CloudWatch console, navigate to Alarms in the left-side menu.
    • Click Create alarm to create a new alarm.
    • Select the appropriate ElastiCache metrics from the available options.
    • Configure the threshold, conditions, and actions for the alarm.
    • Choose the actions to take when the alarm state is triggered (e.g., send notifications, auto-scaling actions, etc.).
    • Click Create alarm to save the alarm configuration.
  6. Configure CloudWatch Logs

    • In the CloudWatch console, navigate to Logs in the left-side menu.
    • Click Create log group to create a new one.
    • Provide a unique name for the log group and optionally specify a retention period for log data.
    • Click Create log group to create the log group.
    • On the ElastiCache cluster details page, click the Logging tab.
    • Enable the CloudWatch Logs option and select the desired log group from the dropdown menu.
    • Click Save changes to enable CloudWatch Logs for the ElastiCache cluster.
  7. Verify Monitoring and Logging

    • Wait a few minutes for the monitoring and logging configurations to take effect.
    • Refresh the cluster details page for the updated monitoring and logging status.
    • Navigate to the CloudWatch console to view metrics, alarms, and logs related to your ElastiCache cluster.

Expected Result

Enhanced monitoring is enabled, CloudWatch alarms are configured, and CloudWatch Logs are enabled for all ElastiCache clusters.

Remediation

The individual can understand the health, performance, and behavior of their clusters which allows them to address any unusual activity that takes place.

Using AWS Console

Follow the same steps as the audit procedure to enable monitoring and logging for ElastiCache clusters.

Default Value

By default, basic monitoring is enabled but enhanced monitoring and CloudWatch Logs require manual configuration.

References

  1. https://aws.amazon.com/products/databases/

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v88.1 Establish and Maintain an Audit Log Management Processxxx
v76.2 Activate audit loggingxxx

Profile

Level 1 | Manual