Skip to content

Conversation

@florence-crl
Copy link
Contributor

@florence-crl florence-crl commented Nov 4, 2025

Fixes DOC-15312

In cockroachcloud/sql-audit-logging.md, updated with SENSITIVE_ACCESS logging channel and links to export-logs.md and export-logs-advanced.md.

Rendered preview

… logging channel and links to export-logs.md and export-logs-advanced.md.
@netlify
Copy link

netlify bot commented Nov 4, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit e03cd4a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/6937031e82deb40008e500d5

@netlify
Copy link

netlify bot commented Nov 4, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit e03cd4a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/6937031e82deb40008e500d7

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

@netlify
Copy link

netlify bot commented Nov 4, 2025

Netlify Preview

Name Link
🔨 Latest commit 7bef819
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/690a512ed5a1fd000897dfb1
😎 Deploy Preview https://deploy-preview-20974--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Nov 4, 2025

Netlify Preview

Name Link
🔨 Latest commit e03cd4a
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/6937031e1467c9000860a4be
😎 Deploy Preview https://deploy-preview-20974--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

@kevin-v-ngo kevin-v-ngo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

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 then export these logs depending on your deployment. For more information, refer to [Export Logs From a CockroachDB Standard Cluster]({% link cockroachcloud/export-logs.md %}) or [Export Logs From a CockroachDB Advanced Cluster]({% link cockroachcloud/export-logs-advanced.md %}).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does "depending on your deployment" mean in this context? Should be more specific.

Copy link
Contributor Author

@florence-crl florence-crl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhlodin please review my updates.

@florence-crl florence-crl requested a review from jhlodin December 1, 2025 21:38
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 then export these logs depending on whether 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 %}).
Copy link
Contributor

@jhlodin jhlodin Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"depending on whether" is still unclear about what deployments can do this. It reads like you need Standard or Advanced to do this, so it would be much clearer to say "You can export these logs if your deployment uses CockroachDB Standard or Advanced".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhlodin Ah, ok. Updated with your suggestion. Much clearer. Please review again.

@florence-crl florence-crl requested a review from jhlodin December 3, 2025 20:05
Copy link
Contributor

@jhlodin jhlodin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@florence-crl florence-crl merged commit 7dda910 into main Dec 8, 2025
5 checks passed
@florence-crl florence-crl deleted the DOC-15312 branch December 8, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants