cockroach icon indicating copy to clipboard operation
cockroach copied to clipboard

sql: enhance table access audit logs so that it becomes possible to only track writes, not reads

Open pxlogan opened this issue 5 years ago • 3 comments

Is your feature request related to a problem? Please describe. In the documentation for audit logging https://www.cockroachlabs.com/docs/v20.2/experimental-audit.html#parameters It states that "In a future release, this should change to allow logging only reads, only writes, or both"

Currently our business involves alot of reads which we do not want or need to audit, however it is imperative to audit the writes. To reduce noise in the logs and also reduce space consumed we would like to have the ability to turn read/write auditing off or on. Describe the solution you'd like A flag or cluster setting that would allow us to control the auditing of tables at a read write level.

Additional context As it was stated as coming in future releases we would just like to understand when this was coming and urge that it would be done as soon as possible.

gz#7566

Jira issue: CRDB-3148

Epic CRDB-32141

pxlogan avatar Feb 18 '21 11:02 pxlogan

This is SQL obs, not server. cc @maryliag for triage. This is likely to need help from the SQL Queries team too (there's infra missing before we can do this)

knz avatar Sep 13 '21 15:09 knz

Heads up @kevin-v-ngo I unassigned myself and kicked it over to you for triage

thtruo avatar Jan 25 '22 17:01 thtruo

We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!

github-actions[bot] avatar Aug 31 '23 11:08 github-actions[bot]