Re: pg_audit to mask literal sql

From: Arthur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
To: rakeshkumar464 <rakeshkumar464(at)outlook(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_audit to mask literal sql
Date: 2017-10-30 20:58:00
Message-ID: 20171030205759.GA2772@arthur.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Oct 30, 2017 at 10:55:17AM -0700, rakeshkumar464 wrote:
> 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.
>

I doubt that. But I'm not sure that I understood you correctly. What do
you mean by "mask"? Some additional examples may be useful too.

--
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2017-10-30 21:10:12 Re: Roles inherited from a role which is the owner of a database can drop it?
Previous Message Ivan Voras 2017-10-30 19:25:07 Roles inherited from a role which is the owner of a database can drop it?