[Entity Analytics] Track resolution provenance (source of resolution) with a `source` field
Author: maxcoldCreated Apr 2, 2026Updated Oct 1, 2026
LabelsTeam:Cloud Security
Motivation
Resolution links can be created by different sources (analyst, automated rules, CSV upload, future ML/GenAI) but we don't track which source created or removed a link. This limits our ability to:
- Respect analyst intent — when an analyst manually unlinks an entity, automation should never undo that decision, even when a new entity with the same email triggers a re-evaluation (defense-in-depth for #260407)
- Support differentiated override policies — e.g., "automation can override automation but not manual decisions"
- Provide resolution analytics — how entities were resolved, by whom, breakdown by source
- Enable source-aware behavior for future resolution strategies (custom rules, ML, GenAI)
Definition of done
- Each resolution link carries provenance indicating which source created it (e.g., manual, automated, CSV upload)
- When an analyst manually unlinks an entity, the system records that decision so automated resolution never re-links that entity
- When an analyst manually re-links a previously excluded entity, the exclusion is cleared
- Provenance survives entity extraction runs (not overwritten by background processing)
Out of scope
- UI for viewing/filtering by resolution source
- Differentiated override policies
- Audit trail / history of source changes
Related tasks/epics
- #260407 (prevent re-linking manually unlinked entities — immediate fix via
first_seenwatermark) - #260886 (PR:
first_seenwatermark fix) - Epic: Entity Resolution
Team tag
@elastic/contextual-security-apps
Source: elastic/kibana