Skip to content

Commit f49640f

Browse files
committed
fix: update the retention of lambda CW logs to 365 to address the checkov scan finding -- CKV_AWS_338: "Ensure CloudWatch log groups retains logs for at least 1 year"
1 parent e8fa062 commit f49640f

File tree

1 file changed

+1
-1
lines changed
  • aws_sra_examples/terraform/solutions/inspector/configuration

1 file changed

+1
-1
lines changed

aws_sra_examples/terraform/solutions/inspector/configuration/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ variable "lambda_log_group_kms_key" {
7272
variable "lambda_log_group_retention" {
7373
description = "Specifies the number of days you want to retain log events"
7474
type = number
75-
default = 14
75+
default = 365
7676
}
7777

7878
variable "lambda_log_level" {

0 commit comments

Comments
 (0)