Skip to content

Commit

Permalink
fix: remove DELETE query filter (#1286)
Browse files Browse the repository at this point in the history
Remove `DELETE` queries from the dangerous query filter as these are
a normal part of the Notify app's behaviour.
  • Loading branch information
patheard authored Apr 26, 2024
1 parent 64614f6 commit bf75c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/rds/sentinel.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
locals {
postgres_dangerous_queries = ["ALTER ", "CREATE ", "DELETE ", "DROP ", "GRANT ", "REVOKE ", "TRUNCATE "]
postgres_dangerous_queries = ["ALTER ", "CREATE ", "DROP ", "GRANT ", "REVOKE ", "TRUNCATE "]
postgres_dangerous_queries_lower = [for sql in local.postgres_dangerous_queries : lower(sql)]
}

Expand Down

0 comments on commit bf75c41

Please sign in to comment.