Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Auditing Couchbase N1QL Statements

Blog post from Couchbase

Post Details
Company
Date Published
Author
Johan Larson
Word Count
2,695
Company Posts That Month
25
Language
English
Hacker News Points
-
Post removed?
No
Summary

Couchbase Server 5.5 introduces enhanced auditing capabilities for N1QL actions, building on the general audit functionality initiated in version 5.0, but only available in the Enterprise edition. This auditing feature allows administrators to monitor data access, crucial for sensitive information, by tracking which N1QL statements are executed and by whom, although it does not support record-level auditing as it logs statements rather than individual records. Auditing is configured through the Couchbase Admin console, where administrators can specify which types of statements to audit, manage log files, and whitelist trusted users to reduce log entries. The system supports two types of events for auditing: N1QL statement types and API requests, with forward filtering added in version 5.5 to enhance efficiency by letting the query engine send only relevant audit records to the audit demon. Additionally, audit records, stored as JSON files, can be imported into the database using the cbimport utility, allowing for further analysis and querying, although selectivity by document characteristics is not supported.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.