feat: ingest HTTP 201/409 for event_id idempotency
- Validate UUID format; log created/duplicate/rejected - Tests for 201, 409, 422; update agent-integration and work-plan - Docs: neutral IDE wording (no product-specific editor names)
This commit is contained in:
+4
-4
@@ -81,7 +81,7 @@
|
||||
|
||||
### День 1
|
||||
|
||||
- [ ] `d1-1` Ingest: `event_id` UUID обязателен, UNIQUE индекс, коды duplicate, логи, docs/schema
|
||||
- [x] `d1-1` Ingest: `event_id` UUID обязателен, UNIQUE индекс, коды duplicate, логи, docs/schema
|
||||
- [ ] `d1-2` MVP Problems: модель, корреляция `host+type+окно`, API `GET/ack/resolve`
|
||||
- [ ] `d1-3` Правила v1: `brute-force burst`, `privilege spike`, `host silence`
|
||||
|
||||
@@ -106,9 +106,9 @@
|
||||
|
||||
#### День 1
|
||||
|
||||
- [ ] `09:00–10:00` миграция `event_id` + UNIQUE, валидация ingest
|
||||
- [ ] `10:00–11:00` поведение duplicate (`201/409`) и логирование reject
|
||||
- [ ] `11:00–12:00` обновить `event-schema-v1.json` и `agent-integration.md` (в т.ч. `host.display_name` для агентов)
|
||||
- [x] `09:00–10:00` миграция `event_id` + UNIQUE, валидация ingest
|
||||
- [x] `10:00–11:00` поведение duplicate (`201/409`) и логирование reject
|
||||
- [x] `11:00–12:00` обновить `event-schema-v1.json` и `agent-integration.md` (в т.ч. `host.display_name` для агентов)
|
||||
- [ ] `13:00–14:30` модель Problems + миграция
|
||||
- [ ] `14:30–16:00` корреляция при ingest (`fingerprint`, `count`, `last_seen`)
|
||||
- [ ] `16:00–17:30` API `GET /problems`, `ack`, `resolve` + smoke
|
||||
|
||||
Reference in New Issue
Block a user