Get Auth Matrix
get_auth_matrixAudit authentication coverage across API routes and controllers, flag missing auth checks and database access gaps, and filter results by layer or module.
Instructions
Audit authentication coverage. Shows which API routes and controllers require auth and which don't, plus inconsistencies like database access without auth checks. For large codebases, use the module parameter to drill into a specific module/directory. Most useful for backend codebases with middleware-based auth. Frontend frameworks (React, Vue) handle auth via component wrappers, which this tool won't detect as AUTH constraints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Filter to a specific layer: "route" or "controller" (optional). | |
| module | No | Filter to routes/controllers in a specific module or directory path (optional). | |
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. |