feat(schema): add Alert -> enodia.event.v1 reference wrapper
This commit is contained in:
parent
54bd8ff1f4
commit
65f5be6420
3 changed files with 22 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue