Ensure that the log group retention period is set to a minimum of 365 days as part of technical safeguards.
Rule | Log group retention period should be at least 365 days |
Framework | HIPAA |
Severity | ✔ High |
Log Group Retention Period for HIPAA Compliance
Rule Description
In order to comply with HIPAA (Health Insurance Portability and Accountability Act) regulations, the log group retention period should be set to at least 365 days. This rule ensures that all logged information is retained for a sufficient period of time for auditing and investigation purposes, as mandated by HIPAA.
Troubleshooting Steps
If the log group retention period is not set to at least 365 days, follow these troubleshooting steps to rectify the issue:
Necessary Codes (if applicable)
If you prefer to use AWS CLI to adjust the retention period, execute the following command:
aws logs put-retention-policy --log-group-name <log-group-name> --retention-in-days 365
Replace
<log-group-name>
with the actual name of the log group you wish to modify.Step-by-Step Guide for Remediation
By following these steps, you should be able to adjust the log group retention period to comply with HIPAA regulations.