Skip to content

Commit

Permalink
fixes kb-rule-data-utils package
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley14 committed Jul 15, 2021
1 parent 58be86e commit 896d304
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/kbn-rule-data-utils/src/technical_field_names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

import { ValuesType } from 'utility-types';

const KIBANA_NAMESPACE = 'kibana';

const ALERT_NAMESPACE = `${KIBANA_NAMESPACE}.rac.alert`;
const ALERT_NAMESPACE = 'kibana.rac.alert' as const;

const TIMESTAMP = '@timestamp' as const;
const EVENT_KIND = 'event.kind' as const;
Expand All @@ -30,7 +28,7 @@ const ALERT_DURATION = `${ALERT_NAMESPACE}.duration.us` as const;
const ALERT_SEVERITY_LEVEL = `${ALERT_NAMESPACE}.severity.level` as const;
const ALERT_SEVERITY_VALUE = `${ALERT_NAMESPACE}.severity.value` as const;
const ALERT_STATUS = `${ALERT_NAMESPACE}.status` as const;
const SPACE_IDS = `${KIBANA_NAMESPACE}.space_ids` as const;
const SPACE_IDS = 'kibana.space_ids' as const;
const ALERT_EVALUATION_THRESHOLD = `${ALERT_NAMESPACE}.evaluation.threshold` as const;
const ALERT_EVALUATION_VALUE = `${ALERT_NAMESPACE}.evaluation.value` as const;

Expand Down

0 comments on commit 896d304

Please sign in to comment.