authorization-security

Implement RBAC and ABAC authorization with policy enforcement and audit trails.

17|1|Updated Jun 8, 2025
One-click install
npx skills add https://github.com/williamzujkowski/standards --skill authorization-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: authorization-security
Source: https://github.com/williamzujkowski/standards/tree/main/skills/security/authorization
Command: npx skills add https://github.com/williamzujkowski/standards --skill authorization-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Authorization security standards cover RBAC/ABAC, policy enforcement, OAuth2 scopes, and NIST-aligned controls.

Core Features & Use Cases

  • RBAC & ABAC: Role-based access control with optional attribute-based policies.
  • Policy Enforcement: PEP/PDP integration, OAuth2 scopes, and ownership checks.
  • Auditing: Logging authorization decisions for compliance.

Quick Start

Implement RBAC with role hierarchies and add a PDP to enforce access decisions on critical endpoints.

Frequently Asked Questions about authorization-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement role-based access control with policy enforcement?

RBAC with policy enforcement uses role hierarchies and policy decision points (PDPs) to control resource access. Define roles, assign permissions, and enforce decisions at API gateways or application endpoints using PEP/PDP patterns. This supports least-privilege access and audit compliance.

What's the difference between RBAC and ABAC for access control?

RBAC grants access based on user roles; ABAC evaluates attributes (user, resource, environment) dynamically. ABAC provides finer-grained control for complex scenarios where role alone is insufficient, enabling context-aware policy decisions across OAuth2 scopes and multi-layer enforcement.

How do I audit authorization decisions for compliance?

Authorization audit logging captures access decisions, denials, and policy applications to satisfy NIST controls like AC-3, AC-4, and AC-6. Log PEP and PDP decisions at critical endpoints and data stores to create end-to-end trails for compliance review and forensic analysis.

Can I use OAuth2 scopes with custom authorization policies?

Yes. OAuth2 scopes integrate with policy engines to enforce scope-based access on APIs. Combine scope validation with PDP policy evaluation to implement least-privilege access, attribute rules, and ownership checks across resource endpoints and data stores.

What NIST controls does authorization security cover?

Authorization security addresses AC-3 (access enforcement), AC-4 (information flow control), and AC-6 (least privilege). Policy definitions, role hierarchies, attribute rules, and audit trails implement these controls across RBAC, ABAC, and OAuth2 scenarios.