OpenAI blog introduces policy-as-code preflight gate for NL2SQL agents
The author outlines a practical approach to securing enterprise data agents by implementing an application-level preflight gate using SQL AST analysis and CEL policies. This method enforces fine-grained table, column, and row-level access controls consistently across multiple databases before executing queries, without relying solely on database permissions or prompt-based guardrails. Open article →