This rule ensures that the log group retention period is set to a minimum of 365 days.
Rule | Log group retention period should be at least 365 days |
Framework | RBI Cyber Security Framework |
Severity | ✔ High |
Rule Description:
The RBI (Reserve Bank of India) Cyber Security Framework requires organizations to maintain a log group retention period of at least 365 days. This rule ensures that log data is stored for a sufficient duration to facilitate auditing, forensic investigations, and compliance with regulatory requirements. By retaining logs for a year, organizations can effectively monitor their systems, detect security incidents, and analyze historical data to identify patterns and trends.
Troubleshooting Steps (if applicable):
If you encounter any issues related to the log group retention period, consider following these troubleshooting steps:
Necessary Codes (if applicable):
If you need to update the log group retention period, you may use the following AWS Command Line Interface (CLI) code:
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 want to update.Step-by-Step Guide for Remediation:
To ensure compliance with the RBI Cyber Security Framework and meet the log group retention period requirement of at least 365 days, follow these steps:
<log-group-name>
with the actual name of the log group:
aws logs put-retention-policy --log-group-name <log-group-name> --retention-in-days 365
By following this step-by-step guide, you can ensure that log groups within your organization adhere to the RBI Cyber Security Framework's requirement of a minimum 365-day retention period, providing long-term visibility and compliance.