Ingest install-time binary-verify outcomes
Changed onPersists structured binary-verify outcomes emitted by tools/scripts/install.{sh,ps1} (the pre-activation integrity gate documented in docs/security/binary-signing.md §8). Operators capture install-script stderr (one JSON line per binary verified), batch it into the events array, and POST here. Each event is validated against model.BinaryVerifyEvent and persisted through the existing audit chain as a SIEMEvent with EventType = binary-verify-ok | binary-verify-fail.
Partial-success semantics: per-event validation failures are reported in the response errors[] and counted in rejected; accepted events are persisted. A request with zero accepted events returns 400.
Auth: requires audit.export permission or admin role, plus tenant access enforced via X-Tenant-ID.
Request
- Base URL: http://localhost:8081
- URL: http://localhost:8081/api/v1/edge/binary-integrity/events
- Auth: one of:
- API key in header X-API-Key
- HTTP bearer
Headers
Tenant isolation header (required on all protected routes).
Request body
Response
At least one event was accepted and persisted
Changes
- info
endpoint added
- info