Authorization & Compliance API

Access control that's audit-ready from day one.

Darwan is the authorization and compliance engine for multi-tenant applications. Enforce least privilege, pass compliance audits, and ship access control from a single API -- with immutable audit trails, separation of duties, and periodic access reviews built in.

/v1/authorize

POST /v1/authorize

{

"tenantId": "acme-corp",

"principalId": "user-42",

"action": "read",

"resourceType": "invoice"

}

200 OK

{

"allowed": true,

"reason": "role:finance-reader"

}

Regulatory frameworks supported out of the box

SOXSOC 2 Type IIISO 27001HIPAAPCI DSS v4.0GDPRNIST 800-53

Capabilities

Authorization, compliance, and audit in one platform

Everything your team needs to enforce least privilege, satisfy auditors, and ship access control without building it from scratch.

RBAC

Role-Based Access Control

Define roles, permissions, and assignments across tenants. Deny-overrides-allow evaluation with explainable decisions.

ABAC

Attribute-Based Policies

Layer fine-grained conditions on top of RBAC. Ownership rules, JSON constraints, and versioned policy sets.

Tenants

Multi-Tenant by Default

Every entity is tenant-scoped. One Darwan instance serves all your products with isolated data and policies.

Expiry

Time-Bound Assignments

Set expiration dates on role assignments. Expired grants are automatically excluded from authorization and cleaned up by a background service.

SoD

Separation of Duties

Define conflicting role constraints with Block or Warn enforcement. Violations are caught at assignment time across direct and group paths.

Reviews

Periodic Access Reviews

Create certification campaigns to review all role assignments. Approve or revoke with audit trails. Overdue reviews auto-expire.

Integrity

Immutable Audit Trails

Every decision is logged with SHA-256 hash chains and per-tenant sequencing. Verify integrity on-demand. Archived, never deleted.

Export

Audit Export & Analytics

Paginated search with filters, summary analytics, and CSV/JSON export. Real-time audit dashboard with integrity verification.

Events

API Keys & Webhooks

Scoped API keys for service-to-service auth. Webhooks push role, policy, and compliance events to every downstream service.

How It Works

Three steps to secure access

01

Define

Create tenants, roles, and permissions in the admin console or via API. Assign roles with optional expiry dates and SoD constraints.

02

Authorize

Call the authorize endpoint from your service. Darwan evaluates RBAC grants, ABAC policies, and time-bound assignments, then returns an explainable decision.

POST /v1/authorize

{"action": "read", ...}

200 {"allowed": true}

03

Audit & Review

Every decision is hash-chained and sequenced. Run periodic access reviews, export reports, and verify audit integrity on demand.

Regulatory Readiness

Built for compliance from the ground up

Darwan provides the controls, audit trails, and review workflows required by major compliance frameworks. No bolt-on tools needed.

FrameworkDarwan Capabilities
SOXSarbanes-OxleySoD constraints, access reviews, immutable audit logs
SOC 2Type IIAudit trails, access reviews, time-bound access, integrity verification
ISO 27001Annex A.9RBAC, periodic reviews, audit logging, least-privilege enforcement
HIPAASecurity RuleAccess controls, audit logs, automatic session expiry, review certification
PCI DSSv4.0Role-based access, SoD, quarterly reviews, audit trail retention
GDPRArt. 5(1)(f)Access control, audit trails, data minimization via expiry, review evidence
NIST 800-53AC / AU ControlsRBAC/ABAC, SoD, continuous monitoring, audit integrity, access reviews

Architecture

.NET 10PostgreSQL 18RedisOAuth 2.1OpenAPIDocker

SDKs

Integrate in minutes, not days

Official SDKs for your stack. Authorize, batch-check, and explain decisions with a single function call.

Ready to ship compliant access control?

Sign in to start managing roles, enforcing separation of duties, and running access reviews.