Skip to content

Commit

Permalink
Fix typings
Browse files Browse the repository at this point in the history
These were updated on an upstream refactor.
  • Loading branch information
rylnd committed Nov 16, 2020
1 parent 34d0d7c commit e5de2f0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

import expect from '@kbn/expect';

import { QueryCreateSchema } from '../../../../plugins/security_solution/common/detection_engine/schemas/request';
import {
EqlCreateSchema,
QueryCreateSchema,
} from '../../../../plugins/security_solution/common/detection_engine/schemas/request';
import { DEFAULT_SIGNALS_INDEX } from '../../../../plugins/security_solution/common/constants';
import { FtrProviderContext } from '../../common/ftr_provider_context';
import {
Expand Down Expand Up @@ -194,7 +197,7 @@ export default ({ getService }: FtrProviderContext) => {

describe('EQL Rules', () => {
it('generates signals from EQL sequences in the expected form', async () => {
const rule: CreateRulesSchema = {
const rule: EqlCreateSchema = {
...getSimpleRule(),
from: '1900-01-01T00:00:00.000Z',
rule_id: 'eql-rule',
Expand Down Expand Up @@ -246,7 +249,7 @@ export default ({ getService }: FtrProviderContext) => {
});

it('generates building block signals from EQL sequences in the expected form', async () => {
const rule: CreateRulesSchema = {
const rule: EqlCreateSchema = {
...getSimpleRule(),
from: '1900-01-01T00:00:00.000Z',
rule_id: 'eql-rule',
Expand Down

0 comments on commit e5de2f0

Please sign in to comment.