Skip to content

Commit

Permalink
[SIEM] type fix (elastic#47708) (elastic#47828)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Oct 10, 2019
1 parent 43e8c44 commit 3d9fb52
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions x-pack/legacy/plugins/siem/server/lib/network/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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;
Expand All @@ -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[];
};
};
}

0 comments on commit 3d9fb52

Please sign in to comment.