Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased log retention to 13 months #55

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ The following are the details of what happens within the Assisted Log Enabler fo
* An Amazon S3 bucket is created within the customer's account.
* A Lifecycle Policy is created for the bucket, with the following parameters:
* Converts files to Intelligent-Tiering storage after 90 days
* Deletes files after 365 days
* Deletes files after 400 days
* Block Public Access is explicitly set to On for the S3 bucket created.
* Amazon VPCs are checked to see if flow logs are turned on or off.
* For Amazon VPCs that do not have flow logs turned on, VPC Flow Logging is turned on, and sent to the bucket created.
Expand Down
8 changes: 4 additions & 4 deletions subfunctions/ALE_multi_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def create_bucket(OrgAccountIdList, account_number, unique_end):
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -444,7 +444,7 @@ def s3_logs(region_list, account_number, OrgAccountIdList, unique_end, included_
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -596,7 +596,7 @@ def lb_logs(region_list, account_number, OrgAccountIdList, unique_end, included_
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -927,7 +927,7 @@ def wafv2_logs(OrgAccountIdList, organization_id, included_accounts, excluded_ac
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down
8 changes: 4 additions & 4 deletions subfunctions/ALE_single_account.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_bucket(unique_end):
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -363,7 +363,7 @@ def s3_logs(region_list, unique_end):
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -485,7 +485,7 @@ def lb_logs(region_list, unique_end):
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down Expand Up @@ -772,7 +772,7 @@ def wafv2_logs():
'Rules': [
{
'Expiration': {
'Days': 365
'Days': 400
},
'Status': 'Enabled',
'Prefix': '',
Expand Down