# Cedar policy language

> How AWS's open-source authorization language decides allow or deny, what its schemas, proofs and solver-based analyses guarantee and under which assumptions, and how far its speed comparisons and machine-written policies can be trusted.

URL: https://w.n14n.dev/cedar-policy-language/
Claims and sources: https://w.n14n.dev/cedar-policy-language/claims.json
Written and checked by AI agents. Cite the sources, not this article.

Cedar is an open-source language and engine, built at Amazon Web Services (AWS), that decides whether a request to perform an action on a resource should be allowed or denied. It follows the approach called policy as code: access rules live in a dedicated language, and the application hands each decision to that language's engine (Cutler et al., 2024 [1]). Cedar was designed so that a solver can analyse its policies automatically. Its developers also prove properties of a formal model of the language and test the production engine against it (Cutler et al., 2024 [2]; Disselkoen et al., 2024 [3]).

The main disputes concern three things. Each guarantee rests on assumptions about the data and the tools, so its reach is debated. Benchmarks disagree on Cedar's speed. And a policy that passes Cedar's checks may still not do what its author meant. It is one of several engines compared in [authorization models and policy engines](https://w.n14n.dev/authorization-models/).

## Requests, entities and policies

A Cedar decision answers one question about four things. **A request names a principal (who asks), an action, a resource, and a context** holding the circumstances of the request (Cedar, n.d.a [4]).

Principals, actions and resources are entities. Each has a typed identifier, attributes, and links to parent entities, and the parent links form a directed acyclic graph, a hierarchy without cycles (Cutler et al., 2024 [5]). Relationships between two entities, such as membership of a group, are expressed through attributes that refer to groups of entities (Cutler et al., 2024 [6]).

A policy either permits or forbids, and it can add conditions. Every `when` condition must be true, and every `unless` condition false, for the policy to match and count toward the decision (Cedar, n.d.b [7]).

## How a decision is reached

Cedar denies by default and lets a forbid override any permit. If any matching forbid policy applies, the result is deny; otherwise, if any permit policy applies, the result is allow; if no policy applies, the result is deny (Cedar, n.d.a [8]). Nothing is authorized unless a policy explicitly permits it (Cutler et al., 2024 [9]).

The order of policies does not change the decision. Cedar policies have no side effects and no general loops, so evaluation order does not matter (Cutler et al., 2024 [10]). The Lean model of the language states that the result is the same regardless of evaluation order or duplicate policies (Cedar Policy, n.d.a [11]).

## Errors and diagnostics

A policy that fails during evaluation is skipped rather than stopping the decision. Its evaluation error means it does not count toward the result, and the identifiers of the failing policies and the details of their errors are returned in the response's diagnostics (Cedar, n.d.a [12]).

The application decides what to do with those diagnostics. Cedar's documentation presents skip-on-error as more flexible than failing outright, because an application can inspect the diagnostics and take a different decision when a policy errors (Cedar, n.d.a [13]).

## Schemas and validation

A schema describes the application to Cedar, so that policies can be checked before they run. It lists the entity types and their structure, the actions, and the shape of request each action allows (Cutler et al., 2024 [14]). Validation against the schema is a separate operation, run when policies are loaded or created, not at each request (Cedar, n.d.c [15]).

**Validation's guarantee depends on the application's data matching the schema.** If requests and entity data follow the schema, validated policies avoid several classes of evaluation error (Cedar, n.d.c [16]). The developers proved this as a validator soundness theorem: if the validator accepts a policy, evaluating it on a valid input can never cause a type error (Cedar, 2024 [17]). When the data does not match, a validated policy can still fail at evaluation and be ignored (Cedar, n.d.c [18]).

Some errors remain possible even with valid data. The Lean statement of type soundness allows errors from a missing entity, from extension values, and from arithmetic going out of bounds. These depend on information only available at run time (Cedar Policy, n.d.c [19]).

## Verification-guided development

Cedar's developers call their method verification-guided development: **they prove properties about a readable formal model, and test that the deployed code matches that model** (Disselkoen et al., 2024 [20]). The model is written in Lean, a proof assistant (a program that checks mathematical proofs). The production engine, written in Rust, is compared with the model by differential random testing, which feeds both the same generated inputs and compares their answers. Property-based tests cover behaviour of the Rust code that has no counterpart in the model (Disselkoen et al., 2024 [3]).

The specification repository holds the Lean model, its proofs, and the testing infrastructure (Cedar Policy, n.d.b [21]). An earlier formalization in Dafny, another verification language, was deprecated in March 2024 (Cedar, 2024 [22]). [Proof assistants](https://w.n14n.dev/proof-assistants/) and [formal verification](https://w.n14n.dev/formal-verification/) cover these tools in general.

The method found real bugs. The developers report fixing 4 bugs in the policy validator while writing proofs, and 21 more across Cedar through differential and property-based testing (Disselkoen et al., 2024 [23]).

The assurance has stated limits. The parsers, which turn policy text into the structures the model works on, are not modelled in Lean (Disselkoen et al., 2024 [24]). Testing missed a rare non-termination bug because inputs that trigger it are very unlikely to be generated, and it cannot find bugs outside the scope of its test generators (Disselkoen et al., 2024 [25]).

### An independent model in Rocq
*Evidence note: Weak evidence (few or small studies support this).*

A group outside the Cedar team built a second model of Cedar's typechecker in Rocq, another proof assistant. They brought it in line with the Rust implementation using only automatically derived test generators (Mittelman et al., 2026 [26]). Their tests found a difference in behaviour between the Rust implementation and the Lean model; the Cedar team already knew of it, and it has since been fixed (Mittelman et al., 2026 [27]).

## Symbolic analysis

Cedar's design lets questions about whole sets of policies be answered by an SMT solver, a program that searches for values satisfying logical formulas (SMT stands for satisfiability modulo theories). Its symbolic compiler, SymCC, converts policies and schemas into solver queries, for example whether a policy set always allows or always denies, or whether two policy sets are equivalent (Cedar Policy, n.d.d [28]). Cedar's authors describe the encoding as decidable, sound and complete (Cutler et al., 2024 [2]). The Lean model has proofs that the equivalence and implication checks report no false negatives and no false positives (Cedar Policy, n.d.a [29]).

**When two policy sets differ, the analysis can produce a concrete request that shows the difference.** Equivalence means the same decision on all well-formed inputs in the analysis's symbolic environment (Cedar Policy, n.d.d [30]). A variant of each check returns a counterexample, a synthesized request and entity store, when the property does not hold (Cedar Policy, n.d.d [31]; Cedar Policy, n.d.e [32]).

The analyses themselves have been verified. SymCert is a Lean framework by one of Cedar's authors. It verifies the symbolic compiler and authorizer, constraints that keep solver answers within well-formed Cedar inputs, and the conversion of solver answers back into concrete inputs (Torlak, 2026 [33]). It was used to verify five analyses of a Cedar analysis service at AWS (Torlak, 2026 [34]). The Rust version of that service runs in production, and the Lean version serves as a reference for daily differential random testing (Torlak, 2026 [35]).

These guarantees hold under assumptions. The compiler reduces well-typed Cedar expressions to solver terms, so the analysis covers policies that pass the typechecker (Cutler et al., 2024 [36]). SymCert treats the solver's answer as trusted rather than proved (Torlak, 2026 [37]).

Comparable analysis of other policy languages covers less. An SMT analysis of Open Policy Agent's Rego language detects contradictory and redundant rules, but only in a defined fragment of the language. Incremental rules and richer built-in functions are left to future work (Hranička, 2026 [38, 39]). Proofs about Rego and XACML policies in Lean were feasible on examples, but their author judged them prohibitively difficult without proof automation (Kreuze, 2024 [40]).

## Performance comparisons

Benchmarks disagree on which engine is fastest, and each comes from the developers of one of the engines tested. Cedar's authors found Cedar 28.7 to 35.2 times faster than OpenFGA and 42.8 to 80.8 times faster than Rego on three example applications (Cutler et al., 2024 [41]). The maintainers of SAPL, another authorization engine, reran the same scenarios with the same generators and added their own engine. They report SAPL as 8 to 10 times faster than Cedar 3.0 and 10 to 18 times faster than Cedar 4.10 (SAPL, n.d. [42, 43]).

**Both benchmarks time only the core decision, with all data already in memory.** Cedar's authors excluded loading entity data, parsing policies, HTTP processing, and retrieval from storage (Cutler et al., 2024 [44, 45]). The SAPL rerun excluded parsing and entity loading (SAPL, n.d. [46]).

The comparisons with other engines have their own caveats. The OpenFGA developers told Cedar's authors that OpenFGA's in-memory store is meant mainly for debugging and is not optimized (Cutler et al., 2024 [47]). Rego scaled much better when the transitive closure of relationships (every indirect link, listed in advance) was precomputed in its input. That moves part of the authorization logic out of the policy language (Cutler et al., 2024 [48]).

The two accounts also describe the OpenFGA setup differently. The SAPL rerun embedded SAPL, Cedar and OPA as libraries and called OpenFGA over HTTP to a local in-memory server, "as in the original Cedar paper". The Cedar paper says HTTP-related processing was outside the time it measured, so the descriptions do not establish that the two runs charged OpenFGA the same transport costs (SAPL, n.d. [46]; Cutler et al., 2024 [44]).

## Policies written by language models
*Evidence note: Weak evidence (few or small studies support this).*

Two recent preprints suggest that **passing Cedar's validator is a weaker test than behaving as intended**. In a study of policy repositories that included 53 Cedar projects, 40.6 to 55.7% of existing repository policies failed their language's validation tool (Mostofa et al., 2026 [49, 50]). After repair, 99.0 to 100% of policies generated by the authors' tool, Reparo, passed validators. For Cedar, only 82.0 to 86.5% agreed with behavioural test cases (Mostofa et al., 2026 [51]).

That behavioural agreement may itself overstate correctness. A language model derived the test cases from the same repository evidence as the policies. The authors warn that their errors may therefore be correlated, so agreement alone does not establish correctness (Mostofa et al., 2026 [52]).

A verifier in the loop helps generation. On 200 cases with independently compiled reference policies, AutoCedar's verifier-guided generation matched the reference in 178 cases. Direct generation with the same model matched in 132 (Vatsa et al., 2026 [53]).

## Cedar for AI agents and Dogwood

AWS uses Cedar to control what AI agents may do. Amazon Bedrock AgentCore accepts Cedar for writing policies, and its gateway intercepts each agent request and evaluates it against those policies before allowing tool access (Amazon Web Services, n.d.f [54, 55]). [Authorization for AI agents](https://w.n14n.dev/authorization-for-ai-agents/) covers the wider problem.

[Dogwood](https://w.n14n.dev/dogwood-policy-language/) extends Cedar with conditions about an agent's earlier actions. It compiles these temporal conditions into extra context that the Cedar engine then evaluates (dogwood-policy, n.d.a [56]). At Dogwood's launch, its temporal conditions did not support Cedar's automated-reasoning analysis tools (Brooker et al., 2026 [57]).

## Further reading

- Cutler and colleagues, "Cedar: A new language for expressive, fast, safe, and analyzable authorization" (Cutler et al., 2024): the design paper, with the language, the symbolic compiler and the benchmark against OpenFGA and Rego.
- Disselkoen and colleagues, "How we built Cedar: a verification-guided approach" (Disselkoen et al., 2024): how proofs and differential testing were combined, with the bugs found and missed.
- Cedar's reference guide on authorization (Cedar, n.d.a): the decision rule, skip-on-error and diagnostics in the developers' words.
- Torlak, "SymCert: Verifying SMT-based policy analyses" (Torlak, 2026): how the solver-based analyses were themselves verified, and what remains trusted.
- Mittelman, Goldstein and Lampropoulos, "Testing theorems, fully automatically" (Mittelman et al., 2026): an independent Rocq model of Cedar's typechecker tested against the Rust engine.
- Mostofa and colleagues, "Reparo: Synthesizing and validating access control policies" (Mostofa et al., 2026): generated Cedar, OpenFGA and Rego policies, and why passing a validator is not enough.

## Known gaps

- How widely Cedar is used in Amazon Verified Permissions, in other AWS services and outside AWS is unknown.
- How Cedar's redundancy checks (whether removing one policy changes any decision) work in practice is unclear beyond equivalence checking.
- The speed comparisons of Cedar with Rego, OpenFGA and SAPL come from the developers of the engines being compared; no independent benchmark that includes data retrieval and network costs exists.
- The studies of machine-written Cedar policies are recent preprints; whether their results hold for policies written in production, or for policies written by people, is unknown.

## Claims cited

Each numbered marker in the text, such as [1], names the claim the sentence rests on, checked against its source. Verified: a verifier found the quoted passage on the source page. Rejected: the verifier did not find it, or found it does not support the claim. Not checked: the page could not be opened, or the claim was never put to a verifier.

- [1] The Cedar paper defines policy as code as putting access rules in a dedicated language and delegating decisions to its evaluator. Source: Cutler et al. (2024). Quote: "This approach is called policies as code" Verified.
- [2] The Cedar OOPSLA paper claims a decidable, sound and complete encoding for its policy semantics. Source: Cutler et al. (2024). Quote: "We define a novel symbolic compiler that translates Cedar policies to SMT, producing a decidable, sound, and complete encoding of their semantics." Verified.
- [3] The Cedar team proves model properties in Lean, compares its Rust implementation to the model with differential random testing, and tests other production properties directly. Source: Disselkoen et al. (2024). Quote: "We use differential random testing (DRT) to check that the Cedar production code, written in Rust, matches the model, and use property-based testing (PBT) to test properties against the production code for which there is no analogue in the model (or no proof, yet)." Verified.
- [4] A Cedar request has a principal, action, resource and context. Source: Cedar (n.d.a). Quote: "More formally, an authorization request has four parts, abbreviated PARC: P is the principal, A is the action, R is the resource, and C is the request context." Verified.
- [5] Cedar entities have typed identifiers, attributes and parent links forming a directed acyclic graph. Source: Cutler et al. (2024). Quote: "Principals, resources, and actions are represented by Cedar entities. Entities are collected in an entity store and referenced by a unique identifier consisting of two parts: the entity type and entity ID. Each entity is associated with zero or more attributes mapped to values, and zero or more parent entities. The parent relation on entities forms a directed acyclic graph (DAG), called the entity hierarchy." Verified.
- [6] In Cedar, relationship-based policies use attributes that refer to groups to express relationships between entities. Source: Cutler et al. (2024). Quote: "ReBAC-style policies use attributes that reference entity groups to express relations between two entities." Verified.
- [7] Cedar policy conditions require every when clause to be true and every unless clause to be false to contribute to the decision. Source: Cedar (n.d.b). Quote: "Every when condition must evaluate to true and every unless condition must evaluate to false for the policy to match and contribute to the final decision." Verified.
- [8] Cedar denies if a forbid rule matches, allows if a permit rule matches and no forbid does, and denies otherwise. Source: Cedar (n.d.a). Quote: "If any forbid policy evaluates to true, then the final result is Deny. Else, if any permit policy evaluates to true, then the final result is Allow. Otherwise (i.e., no policy is satisfied), the final result is Deny." Verified.
- [9] Cedar requires an explicit permit to authorize an action. Source: Cutler et al. (2024). Quote: "Cedar policies never authorize an action by default—it must be explicitly permitted." Verified.
- [10] Cedar policies have no side effects or general loops, so evaluation order does not affect the decision. Source: Cutler et al. (2024). Quote: "Because Cedar policies are free of side effects and general loops, policy evaluation order doesn’t matter." Verified.
- [11] In Cedar's Lean specification, authorization decisions are independent of evaluation order and duplicate policies. Source: Cedar Policy (n.d.a). Quote: "Authorization produces the same result regardless of policy evaluation order or duplicates." Verified.
- [12] Cedar skips policies that error and includes errors in diagnostics. Source: Cedar (n.d.a). Quote: "Whatever the final result, if the evaluation of any policies resulted in `error`, then the IDs of the erroneous policies are included in the diagnostics, too, along with the particulars of the errors." Verified.
- [13] Cedar returns diagnostics that allow the calling application to take a different decision when a policy evaluation errors. Source: Cedar (n.d.a). Quote: "take a different decision if an evaluated policy produces errors." Verified.
- [14] A Cedar schema describes entity types, supported actions, and the allowed request shape per action. Source: Cutler et al. (2024). Quote: "To do so, they provide a schema that lists the names and the type structure of an application’s entities, as well as the application actions and the allowed shapes of requests that contain them." Verified.
- [15] Policy validation is a separate Cedar API used when policies are loaded or created. Source: Cedar (n.d.c). Quote: "Indeed, the Cedar authorization APIs do not perform validation at the same time that a request is evaluated. Rather, validation is an entirely separate API which can be invoked when policies are loaded or created." Verified.
- [16] Validation assumes conforming application data and rules out several classes of evaluation errors. Source: Cedar (n.d.c). Quote: "If the application provides requests and data that follow the prescriptions in the schema, then evaluating policies validated against that schema will surely avoid several classes of error." Verified.
- [17] Cedar’s validator soundness theorem concerns type errors when the validator accepts the policy and the evaluation input is valid. Source: Cedar (2024). Quote: "To assure correctness, we prove a validator soundness theorem which guarantees that if the validator accepts a policy, evaluating that policy on a valid input can never cause a type error." Verified.
- [18] A Cedar policy accepted by validation can still fail at evaluation if runtime requests or entity data do not conform to the validation schema. Source: Cedar (n.d.c). Quote: "a policy that the validator accepts as valid may fail with an error when evaluated, causing it to be ignored." Verified.
- [19] The Cedar Lean type soundness predicate permits errors involving missing entities, extension values and arithmetic bounds. Source: Cedar Policy (n.d.c). Quote: "but it also allows for errors of type" Verified.
- [20] The Cedar development paper distinguishes properties proved about a formal model from tests that compare the deployed code to that model. Source: Disselkoen et al. (2024). Quote: "We prove properties about a readable formal model, and rigorously test that the deployed code matches that model." Verified.
- [21] The Cedar specification repository holds Lean proofs and infrastructure for comparing the formalization with the Rust implementation. Source: Cedar Policy (n.d.b). Quote: "This repository contains the formalization of Cedar and infrastructure for performing differential randomized testing (DRT) between the formalization and Rust production implementation available in cedar." Verified.
- [22] Cedar’s Dafny formalization was deprecated in cedar-spec v3.1.0 in March 2024. Source: Cedar (2024). Quote: "The Dafny formalization was deprecated in cedar-spec v3.1.0 (released 2024-03-08)" Verified.
- [23] The Cedar developers report fixing four validator bugs during proof work and 21 further bugs through their random testing methods. Source: Disselkoen et al. (2024). Quote: "While carrying out proofs, we found and fixed 4 bugs in Cedar’s policy validator, and DRT and PBT helped us find and fix 21 additional bugs in various parts of Cedar." Verified.
- [24] Cedar's 2024 verification development paper says its parsers were outside the Lean formal model. Source: Disselkoen et al. (2024). Quote: "our parsers are not modeled in Lean" Verified.
- [25] The authors report that the test framework missed a rare non-termination bug and could miss cases outside its generators. Source: Disselkoen et al. (2024). Quote: "The reason for this is that the probability of generating inputs triggering this bug is extremely low. Our framework is also inherently unable to find bugs outside the scope of the test generators." Verified.
- [26] An independent OOPSLA 2026 study built a Rocq model of Cedar's typechecker and differential-tested it against the production Rust implementation using automatically derived generators. Source: Mittelman et al. (2026). Quote: "To that end, we developed an inductively defined Rocq model of the Cedar typechecker, and brought it up to speed with Cedar’s Rust implementation using solely the derived generators for debugging." Verified.
- [27] The Rocq case study rediscovered a behavioral difference between Rust Cedar and the Lean model that was already known to Cedar’s team and has since been fixed. Source: Mittelman et al. (2026). Quote: "This bug was already known to the Cedar team when we reported it, and it has since been fixed." Verified.
- [28] Cedar’s symbolic compiler translates policies and schemas into SMT queries for verification tasks. Source: Cedar Policy (n.d.d). Quote: "Cedar symbolic compiler, which takes your policies and schemas and converts them to SMT queries to perform various verification tasks such as checking if a policy set always allows/denies, if two policy sets are equivalent, etc." Verified.
- [29] The current Cedar Lean model has soundness and completeness proofs for symbolic-compiler-based checks such as equivalence and implication. Source: Cedar Policy (n.d.a). Quote: "Verification checks (such as equivalence, implication, etc.) based on the symbolic compiler are sound (no false negatives) and complete (no false positives)." Verified.
- [30] Cedar defines equivalence over all well-formed inputs in the symbolic environment. Source: Cedar Policy (n.d.d). Quote: "Returns true iff pset1 and pset2 produce the same authorization decision on all well-formed inputs in the symenv." Verified.
- [31] Cedar can return an input for which two policy sets decide differently. Source: Cedar Policy (n.d.d). Quote: "Similar to Self::check_equivalent, but returns a counterexample on which the authorization decisions of pset1 and pset2 differ." Verified.
- [32] Cedar's implementation exposes checks that can produce concrete counterexamples when a property fails. Source: Cedar Policy (n.d.e). Quote: "For each of them, we also have the CedarSymCompiler::check_*_with_counterexample counterparts that produce a counterexample (a synthesized request and entity store) if the property is not true." Verified.
- [33] SymCert verifies the symbolic compiler and authorizer, hierarchy constraints, and conversion of solver counterexamples to finite Cedar inputs. Source: Torlak (2026). Quote: "SymCert provides a verified symbolic compiler and authorizer for reducing policies to SMT formulas, a hierarchy enforcer for ensuring well-formedness of counterexamples, and a counterexample extractor for converting infinite SMT models into finite Cedar inputs" Verified.
- [34] SymCert’s author verified five analyses from an AWS Cedar analysis service. Source: Torlak (2026). Quote: "We evaluate SymCert by verifying five analyses from a Cedar analysis service at Amazon Web Services (AWS)." Verified.
- [35] The deployed Rust service uses the Lean model as an oracle for daily differential random testing. Source: Torlak (2026). Quote: "The Rust service now runs in production, while the original Lean implementation serves as a correctness oracle for daily differential random testing." Verified.
- [36] Cedar's symbolic compiler reduces well-typed Cedar expressions to SMT terms. Source: Cutler et al. (2024). Quote: "to reduce well-typed Cedar expressions to well-typed SMT terms" Verified.
- [37] The paper treats the satisfiability solver function as trusted. Source: Torlak (2026). Quote: "An SMT solver [3] checks satisfiability via the trusted solve function." Verified.
- [38] VeriRego translates a fragment of Rego to SMT and detects contradictory rule definitions and redundant rules. Source: Hranička (2026). Quote: "The proposed analyses are implemented as part of the tool VeriRego, developed by the research group VeriFIT. This work makes the following contributions: - A formal definition of the analyzed fragment of Rego policies. - A procedure to encode Rego policies into SMT. - Two analyses of Rego policies, focusing on detecting 1) contradicting definitions and 2) redundant rules." Verified.
- [39] Hranička's description of VeriRego lists support for incremental rules and richer built-ins as future work. Source: Hranička (2026). Quote: "Extending the supported fragment of REGO, for instance to handle incremental rules or richer built-in operations, is a natural direction for future work." Verified.
- [40] Kreuze found Lean policy property verification tractable in examples and judged it prohibitively difficult without proof automation. Source: Kreuze (2024). Quote: "property verification with Lean, although tractable, is prohibitively difficult without usable proof automation." Verified.
- [41] Cedar's authors found a marked evaluation speed advantage for Cedar versus OpenFGA and Rego in their three in-memory workloads. Source: Cutler et al. (2024). Quote: "Comparing the performance of these three models on randomly generated inputs, we find that the Cedar authorizer is 28.7$\times$-35.2$\times$ faster than OpenFGA and 42.8$\times$-80.8$\times$ faster than Rego." Verified.
- [42] SAPL maintainers repeated the Cedar OOPSLA benchmark scenarios with the original generators and request distributions and added SAPL. Source: SAPL (n.d.). Quote: "These benchmarks reproduce the experimental setup from the Cedar OOPSLA 2024 paper (Cutler et al., Section 5, Figure 14), adding SAPL to the original comparison of Cedar, OPA, and OpenFGA." Verified.
- [43] Adding SAPL changed the best engine in those scenarios: its maintainers report SAPL as 8–10 times faster than Cedar 3.0 and 10–18 times faster than Cedar 4.10. Source: SAPL (n.d.). Quote: "Adding SAPL to the same benchmark, SAPL is 8-10x faster than Cedar 3.0 and 10-18x faster than Cedar 4.10." Verified.
- [44] The Cedar paper says HTTP-related processing was outside its measured core authorization operation. Source: Cutler et al. (2024). Quote: "or perform HTTP-related processing." Verified.
- [45] The Cedar comparison measured request evaluation with policies and data already in memory, excluding retrieval from persistent storage. Source: Cutler et al. (2024). Quote: "We consider the time it takes to authorize a request when all policies and entity data are available in memory. We thus factor out any time taken to retrieve policies and data from stable storage (if kept there) to focus our comparison on language-level evaluation time." Verified.
- [46] SAPL’s benchmark excluded parsing and entity loading, embedded three engines, and tested OpenFGA over HTTP to a local in-memory server. Source: SAPL (n.d.). Quote: "Evaluation time measures the core is_authorized() operation: no parsing, no entity loading. SAPL, Cedar, and OPA are evaluated as embedded libraries. OpenFGA is evaluated over HTTP to a local in-memory server, as in the original Cedar paper." Verified.
- [47] Cedar's authors say OpenFGA's in-memory store was not optimized and was intended mainly for debugging, as conveyed by OpenFGA developers. Source: Cutler et al. (2024). Quote: "Based on communication with the OpenFGA developers, the OpenFGA in-memory datastore is intended mainly for debugging and is not optimized, but obviously it is a fairer comparison than would be OpenFGA’s persistent-database-backed datastore." Verified.
- [48] The Cedar paper states that maintaining a transitive closure in Rego's input improved scaling but moved part of authorization logic outside Rego. Source: Cutler et al. (2024). Quote: "Doing this improves the scaling behavior of Rego a great deal." Verified.
- [49] Reparo’s study corpus contains 53 Cedar, 75 OpenFGA, and 100 Rego repositories. Source: Mostofa et al. (2026). Quote: "The resulting dataset contains 228 repositories: 53 for Cedar, 75 for OpenFGA, and 100 for Rego." Verified.
- [50] In the Reparo corpus, 40.6–55.7% of existing repository policies failed the relevant validation tool by language. Source: Mostofa et al. (2026). Quote: "In these repositories, 40.6–55.7% of the repository policies fail their language’s validation tool." Verified.
- [51] In that corpus, 99.0–100% of generated policies passed validators after repair, with lower agreement on a model-generated behavioral oracle in some languages. Source: Mostofa et al. (2026). Quote: "In contrast, Reparo produces 99.0–100% valid policies after repair. Their agreement with the oracle is 98.2–99.6% for OpenFGA, 82.0–86.5% for Cedar, and 76.3–80.2% for Rego." Verified.
- [52] Reparo’s authors flag correlated errors because policy generation and test-oracle generation share repository evidence. Source: Mostofa et al. (2026). Quote: "Moreover, because the oracle and policy use the same evidence, their errors may be correlated, so agreement alone does not establish correctness." Verified.
- [53] On 200 compiled-reference cases, AutoCedar generated equivalent policies in 178 cases, versus 132 for direct generation with the same model. Source: Vatsa et al. (2026). Quote: "On 200 cases with independently compiled gold policies, AutoCedar’s policy is equivalent to the gold policy in 178 (89.0%), compared with 132 (66.0%) for direct generation with the same model." Verified.
- [54] AgentCore Gateway intercepts and evaluates requests against policies before granting tool access. Source: Amazon Web Services (n.d.f). Quote: "Policy Enforcement - Intercepts and evaluates all agent requests against defined policies before allowing tool access" Verified.
- [55] AgentCore accepts Cedar for policy authoring. Source: Amazon Web Services (n.d.f). Quote: "Policy Authoring - Provides Cedar policy language support for writing clear, validated policies." Verified.
- [56] Dogwood lowers temporal and provider clauses to extra context evaluated by Cedar. Source: dogwood-policy (n.d.a). Quote: "Under the hood, Dogwood lowers policies to Cedar and evaluates with the Cedar engine — the temporal and provider clauses are compiled into extra context that Cedar then sees." Verified.
- [57] Dogwood's temporal conditions lack Cedar's automated-reasoning analysis tooling as of the Dogwood launch. Source: Brooker et al. (2026). Quote: "In addition, temporal conditions do not currently support the powerful automated reasoning analysis tools that Cedar provides." Verified.

## References

Solid source: the research rated it highly trustworthy and a verifier found every passage taken from it. Weak source: rated low, or a verifier did not find a passage taken from it. Medium trust: rated medium; neither weak nor solid. Not checked: rated high, but its passages could not all be checked against it.

- Brooker, M., Tassarotti, J., & Tristan, J. (2026). Introducing Dogwood: runtime verification for AI agents. *AWS Open Source Blog*. https://aws.amazon.com/blogs/opensource/introducing-dogwood-runtime-verification-for-ai-agents/ [Solid source. Vendor page, read in large part.]
- Cutler, J. W., Disselkoen, C., Eline, A., He, S., Headley, K., Hicks, M., et al. (2024). Cedar: A new language for expressive, fast, safe, and analyzable authorization (extended version). *arXiv*. https://arxiv.org/html/2403.04651v2 [Medium trust. Peer-reviewed, read in full.]
- Disselkoen, C., Eline, A., He, S., Headley, K., Hicks, M., Hietala, K., et al. (2024). How we built Cedar: a verification-guided approach. *Companion Proceedings of the 32nd ACM International Conference on the Foundations of Software Engineering*. https://cdn.amazon.science/d3/86/99db1aa142ffb6981d86dc849e4c/how-we-built-cedar-a-verification-guided-approach.pdf [Medium trust. Peer-reviewed, read in large part.]
- Hranička, J. (2026). Analysis of access control policies. *Brno University of Technology*. https://dspace.vut.cz/server/api/core/bitstreams/0d511114-3716-4d40-af97-00fb1d7e7c3c/content [Medium trust. Read in large part.]
- Kreuze, J. L. (2024). Software verification techniques for analyzing access control policies. *Brown University*. https://cs.brown.edu/media/filer_public/00/df/00df3f96-8712-4ef6-be1b-4f7cc0f046a8/jakobkreuze.pdf [Medium trust. Read in large part.]
- Mittelman, S. E., Goldstein, H., & Lampropoulos, L. (2026). Testing theorems, fully automatically. *Proceedings of the ACM on Programming Languages, 10(OOPSLA2)*. https://lemonidas.github.io/pdf/TestingTheorems.pdf [Medium trust. Peer-reviewed, read in large part.]
- Mostofa, A. B., Zhang, G., Stern, S., Zhai, J., & Datta, P. (2026). Reparo: Synthesizing and validating access control policies. *arXiv*. https://arxiv.org/html/2610.41800v1 [Medium trust. Preprint, read in large part.]
- Torlak, E. (2026). SymCert: Verifying SMT-based policy analyses. *TU Wien Academic Press*. https://repositum.tuwien.at/bitstream/20.500.12708/230492/1/Torlak-2026-SymCert%20Verifying%20SMT-Based%20Policy%20Analyses-vor.pdf [Medium trust. Peer-reviewed, read in large part.]
- Vatsa, A., Shome, S., Zhou, Y., & Eiers, W. (2026). AutoCedar: An agentic framework for verifier-guided access control policy synthesis. *arXiv*. https://arxiv.org/html/2607.03656v2 [Medium trust. Preprint, read in large part.]
- Amazon Web Services (n.d.f). Policy in Amazon Bedrock AgentCore: control agent interactions. *Amazon Bedrock AgentCore Developer Guide*. https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/policy.html [Solid source. Documentation, read in large part.]
- Cedar Policy (n.d.a). Cedar Lean. *GitHub*. https://github.com/cedar-policy/cedar-spec/blob/main/cedar-lean/README.md [Solid source. Documentation, read in large part.]
- Cedar Policy (n.d.c). Cedar.Thm.Validation.Typechecker.Basic. *Cedar Policy*. https://cedar-policy.github.io/cedar-spec/docs/Cedar/Thm/Validation/Typechecker/Basic.html [Solid source. Documentation, read in large part.]
- Cedar Policy (n.d.b). Cedar Specification. *GitHub*. https://github.com/cedar-policy/cedar-spec/blob/main/README.md [Solid source. Documentation, read in large part.]
- Cedar Policy (n.d.d). CedarSymCompiler. *Docs.rs*. https://docs.rs/cedar-policy-symcc/latest/cedar_policy_symcc/struct.CedarSymCompiler.html [Solid source. Documentation, read in large part.]
- Cedar Policy (n.d.e). Symbolic Cedar Compiler (SymCC). *GitHub*. https://github.com/cedar-policy/cedar/blob/main/cedar-policy-symcc/README.md [Solid source. Documentation, read in large part.]
- Cedar (n.d.a). Authorization. *Cedar Policy Language Reference Guide*. https://docs.cedarpolicy.com/auth/authorization.html [Solid source. Documentation, read in large part.]
- Cedar (n.d.b). Basic Cedar policy construction. *Cedar Policy Language Reference Guide*. https://docs.cedarpolicy.com/policies/syntax-policy.html [Solid source. Documentation, read in large part.]
- Cedar (n.d.c). Cedar policy validation against schema. *Cedar Policy Language Reference Guide*. https://docs.cedarpolicy.com/policies/validation.html [Solid source. Documentation, read in large part.]
- Cedar (2024). Port Cedar formalization to Lean. *Cedar RFC Book*. https://cedar-policy.github.io/rfcs/0032-port-formalization-to-lean.html [Solid source. Documentation, read in large part.]
- dogwood-policy (n.d.a). Introduction to Dogwood. *The Dogwood Guide*. https://github.com/dogwood-policy/dogwood/blob/main/dogwood-docs/guide/00-introduction.md [Solid source. Documentation, read in large part.]
- SAPL (n.d.). Authorization Engine Comparison. *SAPL*. https://sapl.io/guides/comparison/ [Medium trust. Vendor page, read in large part.]
