Skip to content
4 changes: 2 additions & 2 deletions src/current/cockroachcloud/sql-audit-logging.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: SQL Audit Logging
summary: Learn about the SQL Audit Logging feature for CockroachDB Cloud clusters.
toc: true
toc: false
docs_area: manage
---

SQL audit logging gives you detailed information about queries being executed against a table in your cluster. This feature is especially useful when you want to log all queries that are run against a table that contains cardholder data, private health information (PHI), or other personally-identifiable information (PII).

After you enable SQL audit logging for a table, [contact Support](https://support.cockroachlabs.com/hc/) to request the audit logs.
After you enable SQL audit logging for a table, audit logs are sent to the [`SENSITIVE_ACCESS` logging channel]({% link {{site.current_cloud_version}}/logging-use-cases.md %}#sensitive_access). You can export these logs if your deployment uses CockroachDB {{ site.data.products.standard }} or {{ site.data.products.advanced }}. For details, refer to [Export Logs From a CockroachDB {{ site.data.products.standard }} Cluster]({% link cockroachcloud/export-logs.md %}) or [Export Logs From a CockroachDB {{ site.data.products.advanced }} Cluster]({% link cockroachcloud/export-logs-advanced.md %}).

## Enable auditing

Expand Down
Loading