diff --git a/x-pack/legacy/plugins/siem/server/lib/network/types.ts b/x-pack/legacy/plugins/siem/server/lib/network/types.ts index 433643a0fee94..c90c5e0ea24ea 100644 --- a/x-pack/legacy/plugins/siem/server/lib/network/types.ts +++ b/x-pack/legacy/plugins/siem/server/lib/network/types.ts @@ -6,7 +6,7 @@ import { NetworkDnsData, NetworkTopNFlowData } from '../../graphql/types'; import { FrameworkRequest, RequestOptionsPaginated } from '../framework'; -import { SearchHit, TotalValue } from '../types'; +import { TotalValue } from '../types'; export interface NetworkAdapter { getNetworkTopNFlow( @@ -75,20 +75,6 @@ export interface NetworkTopNFlowBuckets { source_ips?: number; } -export interface NetworkTopNFlowData extends SearchHit { - aggregations: { - top_n_flow_count?: { - value: number; - }; - destination?: { - buckets: NetworkTopNFlowBuckets[]; - }; - source?: { - buckets: NetworkTopNFlowBuckets[]; - }; - }; -} - export interface NetworkDnsBuckets { key: string; doc_count: number; @@ -102,14 +88,3 @@ export interface NetworkDnsBuckets { value: number; }; } - -export interface NetworkDnsData extends SearchHit { - aggregations: { - dns_count?: { - value: number; - }; - dns_name_query_count?: { - buckets: NetworkDnsBuckets[]; - }; - }; -}