Compliance API π‘ BETA
The compliance family holds the routes mounted for compliance records and exports.
Endpoints
Exact lines from the Generated api-compliance reference; the generated page is the full table.
| Method | Path |
|---|---|
| GET | /api/compliance/audit |
| GET | /api/compliance/audit-log |
| GET | /api/compliance/checks |
| GET | /api/compliance/checks/:param |
| POST | /api/compliance/checks/:param/run |
| GET | /api/compliance/dashboard/audit-log |
| GET | /api/compliance/dashboard/evidence |
| GET | /api/compliance/dashboard/failing-controls |
Example
Minimal HTTP exchange for the first verified route (schemas are not modeled in the generated reference).
GET /api/compliance/audit HTTP/1.1
Host: localhost:8080
Authorization: Bearer <token>
HTTP/1.1 200 OK
What it does
| Capability | Verified endpoint | Registered in |
|---|---|---|
| Compliance audit | GET /api/compliance/audit |
botserver/crates/botcompliance/src/lib.rs |
| Compliance audit log | GET /api/compliance/audit-log |
botserver/crates/botcompliance/src/lib.rs |
| Compliance checks | GET /api/compliance/checks |
botserver/crates/botcompliance/src/lib.rs |
| Compliance checks | GET /api/compliance/checks/:param |
botserver/crates/botcompliance/src/lib.rs |
| Run checks | POST /api/compliance/checks/:param/run |
botserver/crates/botcompliance/src/lib.rs |
| Dashboard audit log | GET /api/compliance/dashboard/audit-log |
botserver/crates/botcompliance/src/dashboard/mod.rs |
| Dashboard evidence | GET /api/compliance/dashboard/evidence |
botserver/crates/botcompliance/src/dashboard/mod.rs |
| Dashboard failing controls | GET /api/compliance/dashboard/failing-controls |
botserver/crates/botcompliance/src/dashboard/mod.rs |
Limits
- The Generated api-compliance reference is authoritative: no endpoint outside its table is inferred here.
- Routes require an authenticated session unless listed in the anonymous allowlist in
botsecurity-auth/src/auth_api/public_routes.rs. - The generated table does not model request or response fields; consult the mounted handler for them.
Related
- Generated api-compliance reference - Full verified route table.
- Legal / LGPD API
- Security API
- Audit Logs