Permissions, data & business rules · Audit
RBAC ABAC Policy Audit
Audit one RBAC/ABAC policy boundary, role matrix, resource-action contract, tenant scope, or entitlement decision path. Limit the audit to evidence-backed policy behavior and directly affected consumers.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Goal and scope
Audit one RBAC/ABAC policy boundary, role matrix, resource-action contract, tenant scope, or entitlement decision path. Limit the audit to evidence-backed policy behavior and directly affected consumers.
Domain invariants
- Policy decision points and policy enforcement points agree on actor, resource, action, scope, attributes, plan/quota state, and deny semantics.
- Backend enforcement is authoritative; UI visibility is a consumer, not the source of truth.
- ABAC attributes are trustworthy, current, scoped to the tenant/resource, and not user-forgeable.
- Forbidden, unauthenticated, wrong-tenant, no-plan, over-quota, and not-found semantics avoid data leakage.
- Tests cover allow and deny paths for meaningful roles/attributes/scopes.
Audit method
- Locate role definitions, attribute sources, policy helpers, route guards, API handlers, jobs, UI gates, feature flags, audit logs, and tests.
- Trace selected actor/resource/action through decision owner and all direct enforcement points.
- Compare matrix/docs/maps with implementation evidence and mark drift.
- Identify duplicated policy logic and owner ambiguity.
Handoff
Retain actor/resource/action/scope, trusted attribute sources and the exact allow/deny expectation. Follow conflicting or stale attributes through policy composition and direct enforcement; do not infer precedence from role names. Feed the violating matrix row, owner and observed effect to Improve RBAC ABAC Policy.
Workflow ID: rbac-abac-policy-audit · View the versioned source · Shared workflow and authority rules