feat(schema): add Alert -> enodia.event.v1 reference wrapper

This commit is contained in:
Luna 2026-07-10 04:44:07 -07:00
parent 54bd8ff1f4
commit 65f5be6420
3 changed files with 22 additions and 0 deletions

View file

@ -29,6 +29,9 @@ Required fields:
| `host` | string | Hostname at emission time. |
| `<event_type>` | object | Payload, under a key equal to `event_type` (e.g. `alert` holds an `enodia.alert.v1` object). |
The reference encoder lives in `enodia_sentinel/event.py`
(`build_event`, `from_alert`); `tests/test_event_envelope.py` pins the contract.
## `enodia.alert.v1`
Single detection object, used inside alert snapshots and by commands such as