This rule ensures the existence of a log metric filter for changes made to Network Access Control Lists (NACL)
Rule | Ensure a log metric filter and alarm exist for changes to Network Access Control Lists (NACL) |
Framework | General Data Protection Regulation (GDPR) |
Severity | ✔ Low |
Rule Description:
This rule ensures that a log metric filter and alarm are in place to detect any changes made to Network Access Control Lists (NACL) in compliance with the General Data Protection Regulation (GDPR). NACLs are an important component of network security as they act as a firewall at the subnet level, controlling inbound and outbound traffic. Monitoring changes to NACLs helps maintain data privacy and security, ensuring compliance with GDPR regulations.
Troubleshooting Steps:
If any issues arise related to this rule, follow these troubleshooting steps to resolve them:
If the troubleshooting steps do not resolve the issue, consult the AWS documentation or seek assistance from AWS Support.
Necessary Codes:
aws logs put-metric-filter --log-group-name <log-group-name> --filter-name NACL-Changes --filter-pattern "NACL modified" --metric-transformations metricName=NACL-Changes,metricNamespace=GDPR
aws cloudwatch put-metric-alarm --alarm-name NACL-Changes-Alarm --metric-name NACL-Changes --namespace GDPR --statistic Sum --period 300 --threshold 1 --comparison-operator GreaterThanOrEqualToThreshold --dimensions Name=LogGroupName,Value=<log-group-name> --evaluation-periods 1 --alarm-description "Alarm for detecting NACL changes" --alarm-actions <SNS-topic-ARN>
Remember to replace
<log-group-name>
with the actual name of the log group and <SNS-topic-ARN>
with the ARN of the SNS topic to receive the alarm notifications.Remediation Steps:
Follow these step-by-step instructions to remediate any issues related to NACL changes and ensure compliance with GDPR:
Configure the log metric filter:
Set up the alarm:
Once the log metric filter and alarm are set up correctly, you will receive notifications whenever changes are made to NACLs, ensuring compliance with GDPR regulations. Regular monitoring of the alarms and log data will help promptly identify any unauthorized modifications or potential security breaches.