Skip to main content

Module policy

Module policy 

Source
Expand description

Domain types for UAR Cedar policy evaluation.

Defines the entity types (principal, action, resource) and helper constructors for building Cedar [Request]s from UAR runtime context.

Modules§

actions
Common action names used in policy evaluation.

Functions§

action_uid
Build a Cedar entity UID for an action.
agent_uid
Build a Cedar entity UID for an agent.
skill_mutation_request
Build a Cedar authorization request for a skill mutation.
skill_uid
Build a Cedar entity UID for a skill resource.
tool_execution_request
Build a Cedar authorization request for a tool execution.
tool_uid
Build a Cedar entity UID for a tool resource.