Skip to content

Commit

Permalink
making sure agentless scanning kms key uses rotation (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelpais authored Oct 30, 2024
1 parent 5fb8dd5 commit 1900a66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/agentless-scanning/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ Resources:
Description: "Sysdig Agentless Scanning encryption key"
PendingWindowInDays: ${var.kms_key_deletion_window}
KeyUsage: "ENCRYPT_DECRYPT"
EnableKeyRotation: true # Enables automatic yearly rotation
KeyPolicy:
Id: ${local.scanning_resource_name}
Statement:
Expand Down
1 change: 1 addition & 0 deletions modules/agentless-scanning/organizational.tf
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ Resources:
Description: "Sysdig Agentless Scanning encryption key"
PendingWindowInDays: ${var.kms_key_deletion_window}
KeyUsage: "ENCRYPT_DECRYPT"
EnableKeyRotation: true # Enables automatic yearly rotation
KeyPolicy:
Id: ${local.scanning_resource_name}
Statement:
Expand Down

0 comments on commit 1900a66

Please sign in to comment.