← Blog

Glean Security: An Access and AI Egress Review

Glean security requires a review of connector access, source permissions, user identity, and the model route used for generated answers. This article maps those decisions to the HTTP request boundary where external policy enforcement can inspect egress and create independent decision evidence.

ByParminder Singh· Founder & CEO, DeepInspect Inc.
Platform & Architectureai-securityllm-securityzero-trustpolicy-enforcementidentity-and-authorizationarchitecture

TL;DR

Glean security begins with connector scope and source permissions, then follows the assembled answer context to the LLM route.

  • The originating user and relay identity should remain visible at the HTTP AI request boundary. Data classification and requested action should remain visible there. The policy outcome should remain visible there as well. Separate owners should cover source access and IdP administration, plus local devices and provider operations.

The access map

A Glean deployment may connect Google Drive, Slack, Jira, and a CRM. Each connection introduces a credential, a synchronization path, a source permission model, and a set of records that can later appear in an answer. Security review starts by mapping those components on paper, including the identity available at each hop.

Glean's Trust Center describes the vendor's published security information. NIST SP 800-207 provides the zero-trust principle that access should be evaluated with explicit context. Put the connectors and source systems on the same diagram. Put the user and application relay on that diagram as well, then add the model endpoint. A blue marker next to every identity handoff is more useful than a generic architecture slide.

The map usually exposes a familiar issue. A connector has broad read permission because it needs to index a source. An application may later use a different credential to call a model. Those credentials identify systems. They may fail to identify the employee whose question caused the answer unless the application preserves that context.

Retrieval eligibility and answer egress

Source-system permissions govern eligibility to retrieve material. A historical group grant can make a document retrievable years after the team that created it has changed. Generated answers turn that latent grant into a compact response that can travel much farther than a file search result.

Review a controlled query against a deliberately restricted document. Record the source permission result and connector identity. Also record the originating user and selected route. Preserve the answer transaction ID. Then test the same request after access changes. This exercise creates evidence about where entitlement is evaluated and where it is lost.

Source sharing, connector configuration, and IdP groups sit outside DeepInspect's boundary. They remain high-value controls. The HTTP request boundary begins when an authenticated user or agent sends assembled context to an LLM endpoint. Conflating those layers produces overbroad product claims and leaves the source owner unclear about their own responsibility.

Policy at the model-call boundary

At the model route, policy can use identity context supplied by the application, content classification, requested operation, and destination to decide whether the request proceeds. A blocked request never reaches the model. A permitted request retains the policy version and outcome that governed it.

This decision answers a different question from retrieval authorization. A source permission result can establish access to a document. The egress decision governs whether the assembled content may be sent to a particular model route under the policy active at that time. Both controls earn their place because they operate at different moments.

OWASP's LLM Top 10 is a helpful review reference for model-facing risk. AI data classification and zero trust AI provide the internal architecture context for attaching classification and identity to that decision.

Evidence that survives review

For each sampled answer request, retain the user or agent identity and source references. Retain connector context and the selected model route. Also retain classification, the policy identifier, the decision outcome, the timestamp, and the correlation ID. Store the policy decision outside the calling application write path so an investigator can compare it with the application's own record.

I have little patience for a security review that stops at a vendor questionnaire. The reviewer should be able to take one timestamp and reconstruct a real answer path. If the required fields live in separate teams with no correlation key, the program has an evidence gap even when every individual product setting looks reasonable.

Document the expected result before each test. Name the user and controlled source reference. Record the route and policy version. Preserve the returned correlation ID with the test record. That simple discipline prevents a later review from mistaking a configuration change for proof that the request path was actually evaluated.

Run a quarterly test with one permitted and one blocked request. The test verifies that the route record and policy outcome can be retrieved within a defined time window. It also verifies that source references can be retrieved within that window. The test identifies the owner when source entitlement is absent or when the application drops identity context or the egress policy has no matching rule. That evidence makes the review reproducible across teams.

DeepInspect

DeepInspect sits between authenticated users or agents and HTTP LLM endpoints. It evaluates application-supplied identity context, route, content classification, and policy before forwarding a request. Each decision produces an independent, per-decision audit record.

For Glean deployments, this supplies an enforcement point for the assembled request headed to a model. Connector scope, source permissions, IAM, local endpoints, and provider controls remain adjacent responsibilities that need their own operating evidence.

Book a technical deep dive at deepinspect.ai.