v.22.11New Feature

Added Row-Level Policies to system.query_log

Added applied row-level policies to system.query_log. #39819 (Vladimir Chebotaryov).
Added support for applied row-level security policies on the system.query_log table.

Why it matters

This feature enables filtering of system.query_log entries based on defined row-level security policies, enhancing data security and ensuring users only access query logs they are authorized to see.

How to use it

Define row-level security policies as usual for users, and these policies will now also be enforced automatically when accessing system.query_log. No additional configuration is required to apply these policies to the query log.