Skip to content

Commit fa4a87e

Browse files
committed
feat(audit-logs): update retention_days for audit logs to 180 days
1 parent 4f1dbef commit fa4a87e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/config/hub-and-spoke-firewall.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ labels = {
3838
# # Route organization-wide audit logs into a Logs instance in the management project.
3939
# # Omit link_scopes for a single organization-wide link, or list folders/projects explicitly.
4040
# audit_logs = {
41-
# retention_days = 30
41+
# retention_days = 180
4242
# }
4343

4444
# # Federated identity providers for the management service account (e.g. GitHub Actions OIDC)

src/config/hub-and-spoke.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ labels = {
3838
# # Route organization-wide audit logs into a Logs instance in the management project.
3939
# # Omit link_scopes for a single organization-wide link, or list folders/projects explicitly.
4040
# audit_logs = {
41-
# retention_days = 30
41+
# retention_days = 180
4242
# }
4343

4444
# # Federated identity providers for the management service account (e.g. GitHub Actions OIDC)

src/modules/management/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ variable "federated_identity_providers" {
6969

7070
variable "audit_logs" {
7171
type = object({
72-
retention_days = optional(number, 30)
72+
retention_days = optional(number, 180)
7373
acl = optional(list(string), null)
7474
s3_object_lock = optional(bool, true)
7575
link_scopes = optional(list(object({

src/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ variable "observability" {
184184

185185
variable "audit_logs" {
186186
type = object({
187-
retention_days = optional(number, 30)
187+
retention_days = optional(number, 180)
188188
acl = optional(list(string), ["0.0.0.0/0"])
189189
s3_object_lock = optional(bool, true)
190190
link_scopes = optional(list(object({

0 commit comments

Comments
 (0)