Skip to content

Commit

Permalink
EMT-492: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
nnamdifrankie committed Jul 1, 2020
1 parent 1cf1cd7 commit 9788783
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ export class EndpointDocGenerator {
created: ts,
id: this.seededUUIDv4(),
kind: 'metric',
category: 'host',
type: 'info',
category: ['host'],
type: ['info'],
module: 'endpoint',
action: 'endpoint_metadata',
dataset: 'endpoint.metadata',
Expand Down Expand Up @@ -1191,8 +1191,8 @@ export class EndpointDocGenerator {
created: ts,
id: this.seededUUIDv4(),
kind: 'state',
category: 'host',
type: 'change',
category: ['host'],
type: ['change'],
module: 'endpoint',
action: 'endpoint_policy_response',
dataset: 'endpoint.policy',
Expand Down
8 changes: 4 additions & 4 deletions x-pack/plugins/security_solution/common/endpoint/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ export type HostMetadata = Immutable<{
created: number;
kind: string;
id: string;
category: string;
type: string;
category: string[];
type: string[];
module: string;
action: string;
dataset: string;
Expand Down Expand Up @@ -778,8 +778,8 @@ export interface HostPolicyResponse {
created: number;
kind: string;
id: string;
category: string;
type: string;
category: string[];
type: string[];
module: string;
action: string;
dataset: string;
Expand Down

0 comments on commit 9788783

Please sign in to comment.