pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: pg_audit to mask literal sql
Date: Mon, 30 Oct 2017 15:46:24 -0600
Message-ID: <332085cf-dad5-09db-0b4c-69596387037f@gmail.com> (raw)
In-Reply-To: <7fbd72e8-a50d-d637-1959-c4541ad3a291@hogranch.com>
References: <1509386117860-0.post@n3.nabble.com>
	<7fbd72e8-a50d-d637-1959-c4541ad3a291@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>



On 10/30/2017 03:35 PM, John R Pierce wrote:
> On 10/30/2017 10:55 AM, 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.
>
> if you have a HIPAA requirement that says 'dont run manual sql 
> statements', then, well, DONT.
>
> why are QA folks making changes on production databases, anyways?   
> thats not within their domain.   QA should be working on development 
> or staging databases.
>
>
>
I suspect the QA types are testing against production and using/seeing 
real names, etc with queries which create /transitory/ tables.  I wonder 
if the QA folks have been HIPAA certified?  Probable better to get them 
redacted data for testing.


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (8+ messages)  latest in thread

Message-ID: <332085cf-dad5-09db-0b4c-69596387037f@gmail.com>
Permalink:  ../332085cf-dad5-09db-0b4c-69596387037f@gmail.com/
Also on:    postgresql.org/message-id/332085cf-dad5-09db-0b4c-69596387037f@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: robjsargent@gmail.com
  Subject: Re: pg_audit to mask literal sql
  In-Reply-To: <332085cf-dad5-09db-0b4c-69596387037f@gmail.com>
  References: <1509386117860-0.post@n3.nabble.com> <7fbd72e8-a50d-d637-1959-c4541ad3a291@hogranch.com> <332085cf-dad5-09db-0b4c-69596387037f@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox