Rules Deploy
dome_rules_deploy
Deploy a bundle of Cedar authorization rules. Each file has a name and Cedar policy content. Defaults to workspace scope if scope_kind/scope_id are omitted. Use dome_agents_assign_policy for agent-scoped rules.
Permission:
rules.deploy
Example tool call
Cedar policies use a declarative syntax. Use
dome_rules_validate to check syntax before deploying.warnings array. After a successful
deploy, the control plane walks every policy for Dome::MCPTool
references and cross-checks each (connection, tool) pair against the
workspace’s persisted MCP tool catalog. Mismatches surface as
ValidationWarning entries (file + message) — a typo or rename is
flagged, but the deploy still succeeds. Warnings are only emitted for
workspace- and agent-scoped bundles; tenant-scoped deploys skip
this check because the catalog is workspace-keyed.
Rules Get Active
dome_rules_get_active
Get the currently active rule bundle at the specified scope. Defaults to workspace scope. For agent-specific rules, use scope_kind="agent" and scope_id=<agent-id>, or use dome_agents_get_policies.
Permission:
rules.view
Rules Validate
dome_rules_validate
Validate Cedar rule files without deploying. Returns errors and warnings.
Permission:
rules.view
Example tool call
Rules Simulate
dome_rules_simulate
Simulate an authorization decision against the active rules without actually performing the action.
Permission:
rules.view
Example tool call
Rules Simulate Result
dome_rules_simulate_result
Get the result of a rule simulation run. If the simulation is still running, the status is pending or running — call again after a moment to check for completion.
Permission:
rules.view
Rules List Versions
dome_rules_list_versions
List historical rule bundle versions at the specified scope. Defaults to workspace scope.
Permission:
rules.view
Returns each version with its bundle ID, name, deploy timestamp, and deployer.
Rules Rollback
dome_rules_rollback
Rollback to a previously deployed rule bundle by its ID. The server reads the bundle’s scope from the stored row — no scope_kind/scope_id needed.
Permission:
rules.rollback
Rules Generate
dome_rules_generate
Generate starter Cedar authorization rules. Returns a Cedar policy with blanket mcp:discover permit and comments explaining how backend tool availability works.
Permission:
rules.view
Agents Assign Policy
dome_agents_assign_policy
Deploy Cedar rules scoped to a specific agent. These rules are evaluated in addition to workspace-level rules. Cedar forbid at workspace scope overrides permit at agent scope.
Permission:
rules.deploy
Example tool call
Agents Get Policies
dome_agents_get_policies
Get the Cedar rules currently assigned to a specific agent (agent-scope only; does not include inherited workspace/tenant/org rules). To see workspace rules, use dome_rules_get_active.
Permission:
rules.view
Next steps
Write and simulate from Govern. Evaluation semantics and Cedar catalogs sit under Concepts and Reference:- Authorize Access
- Authorization Model concept
- Rules reference