Skip to content

Commit

Permalink
feat: enable RDS Sentinel forwarding in Production (#1336)
Browse files Browse the repository at this point in the history
Send RDS postgresql logs that match the potentially malcious filters
to Sentinel.

Remove an `eks` module variable that is no longer used.
  • Loading branch information
patheard authored May 17, 2024
1 parent d5a5470 commit 7a6a63e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge_to_main_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ env:
TF_VAR_pr_bot_app_id: ${{ secrets.NOTIFY_PR_BOT_APP_ID }}
TF_VAR_pr_bot_private_key: ${{ secrets.NOTIFY_PR_BOT_PRIVATE_KEY }}
TF_VAR_budget_sre_bot_webhook: ${{ secrets.PRODUCTION_BUDGET_SRE_BOT_WEBHOOK }}
TF_VAR_enable_sentinel_forwarding: false
TF_VAR_enable_sentinel_forwarding: true

jobs:
terraform-apply:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/terragrunt_plan_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ env:
TF_VAR_pr_bot_app_id: ${{ secrets.NOTIFY_PR_BOT_APP_ID }}
TF_VAR_pr_bot_private_key: ${{ secrets.NOTIFY_PR_BOT_PRIVATE_KEY }}
TF_VAR_budget_sre_bot_webhook: ${{ secrets.PRODUCTION_BUDGET_SRE_BOT_WEBHOOK }}
TF_VAR_enable_sentinel_forwarding: false
TF_VAR_enable_sentinel_forwarding: true

jobs:
terragrunt-plan-production:
Expand Down
5 changes: 0 additions & 5 deletions aws/eks/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ variable "route_53_zone_arn" {
default = "/hostedzone/Z04028033PLSHVOO9ZJ1Z"
}

variable "enable_sentinel_forwarding" {
type = bool
description = "Flag to enable or disable log forwarding to sentinel."
default = false
}
variable "enable_delete_protection" {
type = bool
description = "Flag to enable or disable delete protection on resources."
Expand Down

0 comments on commit 7a6a63e

Please sign in to comment.