One allowlist for every laptop, and who can widen it
RolesCustomer AI DeploymentAgent Systems EngineeringAI Evaluation and Reliability
The question
Security wants one allowlist across every developer laptop, a record of each host an agent reached, and proof that no developer can widen the list. Compare local policy on each laptop with an organization policy from the governance product. What changes on a laptop the moment a policy becomes active, and what does one audit record hold?
Answer it first, aloud or on paper. Then open the answer.
The answer
Show short answer
Local policy gives each laptop its own preset and rules, a per-host policy log, and a developer who can add a global allow at will, so it fails the third requirement. An organization policy is written centrally, reaches the daemon within 5 minutes, and from then on only organization allow rules grant access: local and kit allow rules go inactive, local and kit deny rules still apply, and a local deny even beats an organization approval requirement. The daemon then writes one JSONL audit record per decision, holding metadata such as the decision, the resource, the deny reason, the action type and the agent, and never prompt content, agent output or parameter values; the cost is a paid subscription, and the coverage is local sandboxes only.
Show full answer
What the organization can write
Three policy kinds exist: network access, filesystem access and MCP access. A network rule is HTTP, one destination with methods and path patterns, or all traffic over TCP, UDP or both, with allow or deny, and it can require approval so that each allowed destination waits once for the developer's confirmation. An MCP policy is Cedar in the MCP namespace, default deny, where a forbid beats every permit. An organization holds at most 100 policies of 250 rules and 400 KB each. Network rules apply to the next request, filesystem rules only when a sandbox is created, and MCP registration rules at the next sbx mcp add.
What the laptop loses and keeps
| Rule | Evaluated under governance |
|---|---|
| organization allow | yes |
| organization deny | yes |
| local allow | no |
| local deny | yes |
| kit allow | no |
| kit deny | yes |
sbx policy reset forces the pull at the price of every local rule and recorded approval. The test for an active policy is the Governance: Managed by <org> line in sbx policy ls, and check network reports "governance": {"active": false} on an unmanaged machine, which is what the recorded capture showed. Sign-in enforcement lists allowedOrgs in a managed profile, and sbx login then revokes a credential from any other account.
The audit record
The daemon writes records only for a signed-in user with a governance license under an enforced policy; the CLI never writes one. Files are named audit-<utc-timestamp>-<process-uuid>-<seq>.jsonl, finalized from .tmp every 5 minutes, 1000 events or 50 MiB, and never deleted. category is management, evaluation or execution; decision has five values from allow to approval-deny; action_type names the payload, such as network_egress, http_request with method, host, port and path, or tool_invocation. The sample record's deny_reason carries the same string that a local policy log prints: no applicable policies for op(action=net:connect:tcp, resource=net:domain:example.com:443). Cloud delivery keeps events searchable for 90 days and forwards to SIEMs.
Where governance stops
It covers local sandboxes only; a cloud sandbox uses its own account and policy store. A server registered on the host with --command runs as the host user outside the proxy. And a rule that allows a host still allows any request to it unless an HTTP rule narrows it.
Follow-ups
L3SeniorA developer adds a global allow for a new host under governance. Does the agent reach it?
Show expected answer
no; local allow rules are inactive while a policy is active, and only the organization's allows grant.
L3SeniorThe organization tightens a filesystem rule. Which sandboxes see it?
Show expected answer
new ones; filesystem rules apply at creation, so remove and recreate the running ones.
L4StaffWhat must a SIEM pipeline not expect from these records?
Show expected answer
prompt text, output or parameter values; map fields by
schema_versionand collect only finalized.jsonlfiles.L4StaffWhere would an attacker who controls a laptop still widen egress?
Show expected answer
nowhere through policy; a host-side
--commandMCP server or a cloud sandbox under another account sits outside the governed proxy.
Wrong answers
Show the wrong answers that interviewers hear
“An organization policy adds to the local allowlist.”
It replaces it; local and kit allows stop granting while it is active.
“Every laptop has the audit log.”
Only a licensed, signed-in user under an enforced policy produces records; the recorded capture produced none.
“A local deny under governance prompts for approval.”
It blocks with no prompt; a deny beats the approval requirement.
Taught in
The governance section prints the precedence table and the sample record, and the policy section shows the governance flag in check network.