kibana/x-pack/test/api_integration/apis/entity_manager/helpers
Kevin Lacabane 03506185f9
[eem] _count api (#203605)
implements `countEntities` API

the query to count a single-source definition is straightforward but
gets tricky when sources > 1 because we have to resolve entity ids to
avoid counting duplicates. I've reused the entity.id/source eval logic
implemented here
https://github.com/elastic/elastic-entity-model/issues/202#issuecomment-2500608664

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-12-12 15:25:20 +01:00
..
clear_entity_definitions.ts [eem] _count api (#203605) 2024-12-12 15:25:20 +01:00
data_generation.ts [eem] _count api (#203605) 2024-12-12 15:25:20 +01:00
request.ts [eem] _count api (#203605) 2024-12-12 15:25:20 +01:00
user.ts [EEM] Disable authorization checks on endpoints (#198695) 2024-11-14 09:32:57 +01:00