The query runs. You see the results. But nothing ships until it’s approved.
Lnav Query-Level Approval changes how teams handle live data. It gives tight control over every SQL query before execution, adding a checkpoint between intent and action. No accidental data scans. No unreviewed joins that hammer production. Every command has a second gate.
Lnav can parse logs and database query streams in real time. With Query-Level Approval, you define allowlists, set thresholds, and create rules that trigger an approval request when conditions match. This keeps dangerous queries from slipping through without killing developer velocity. Approval can be manual or automated through pre-set policies.
The feature works at the command layer, so it doesn’t matter if the query comes from the CLI, a dashboard, or an API hook. It watches every request. If a query matches flagged patterns—large result sets, complex subqueries, sensitive table access—it pauses execution. An authorized reviewer can inspect the query text, parameters, and source before releasing or blocking it.