API Reference
We provide a comprehensive REST API for integrating Enforcer-CCA into your custom workflows, CI/CD pipelines, and internal developer portals.
Authentication
All API requests must be authenticated using a Bearer token.
# Fetch all active compliance policies
curl -X GET "https://api.enforcer-cca.com/v1/policies" \
-H "Authorization: Bearer YOUR_API_KEY"
Endpoints
GET /v1/policies
Returns a list of all active policies in your workspace.
POST /v1/scan
Triggers an immediate compliance scan across all connected environments.
GET /v1/drifts
Retrieves a list of all currently detected configuration drifts.