check_postgres icon indicating copy to clipboard operation
check_postgres copied to clipboard

Fix false positive non-superuser errors

Open jcoleman opened this issue 3 years ago • 1 comments

Regex matching solely against the word "insufficient" means that it's trivial to cause this to alert unnecessarily by merely including the string "insufficient" in one's real query. Instead verify that we don't actually have a real query and know for certain this is an error condition.

jcoleman avatar Jan 26 '22 20:01 jcoleman

Can we get this merged? This causes false positives with a legitimate query a vendor package runs that includes the word "insufficient" in the WHERE clause.

cosgroveb avatar Jun 13 '24 19:06 cosgroveb