Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9EHV-000560-HQ for pgsql-general@arkaria.postgresql.org; Mon, 30 Oct 2017 17:55:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e9EHU-0002Zk-Qg for pgsql-general@arkaria.postgresql.org; Mon, 30 Oct 2017 17:55:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e9EHT-0002VV-C1 for pgsql-general@postgresql.org; Mon, 30 Oct 2017 17:55:23 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e9EHP-0006PZ-Ez for pgsql-general@postgresql.org; Mon, 30 Oct 2017 17:55:22 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id DA90292B7806 for ; Mon, 30 Oct 2017 10:55:17 -0700 (MST) Date: Mon, 30 Oct 2017 10:55:17 -0700 (MST) From: rakeshkumar464 To: pgsql-general@postgresql.org Message-ID: <1509386117860-0.post@n3.nabble.com> Subject: pg_audit to mask literal sql MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org 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 -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general