pg_audit to mask literal sql

From: rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_audit to mask literal sql
Date: 2017-10-30 17:55:17
Message-ID: 1509386117860-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way in pgaudit to mask literal sqls like the below:

insert into table (col1,col2) values(1,2)
select * from table where col1 = 1

These sqls are typed by our QA folks using pgadmin. pgaudit records this
verbatim which runs afoul of our HIPAA requirement. Prepared statements are
not an issue since pgaudit provides a way to suppress values.

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Voras 2017-10-30 19:25:07 Roles inherited from a role which is the owner of a database can drop it?
Previous Message Zarko Aleksic 2017-10-30 17:36:59 the database system is shutting down - terminating walsender process due to replication timeout