Audit record integrity
Generated from core/api/router.go. Edit the router, not this file.
| Method | Path | Who can call it |
|---|---|---|
GET | /api/v1/audit/verify | Admin |
GET /api/v1/audit/verify
| Who can call it | Admin |
| Handler | auditHandler.Verify |
| Display token | Refused — not a viewer-safe GET |
Whether the audit log has been altered, as distinct from what it says. Admin only: the people who could tamper with it are the ones this answer would implicate, and telling them whether the check passes is telling them whether a rewrite worked.
Parameters
| Name | In | Default | |
|---|---|---|---|
from | query | ||
limit | query |
Responses
| Status | Body |
|---|---|
200 | A AuditChainReport object |
400 | { "error": … } · from must be a sequence number of 1 or greater |
500 | { "error": … } |
Example request
bash
curl -X GET 'https://certpilot.example.com/api/v1/audit/verify' \
-H 'Authorization: Bearer <token>'