Add kibana.alert.new_terms keyword to alerts mapping (#137093)

This commit is contained in:
Marshall Main 2022-07-26 00:15:56 -07:00 committed by GitHub
parent d7415c1f20
commit 68162dca7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 4 deletions

View file

@ -0,0 +1,19 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { alertsFieldMap } from '../8.0.0';
export const alertsFieldMap840 = {
...alertsFieldMap,
'kibana.alert.new_terms': {
type: 'keyword',
array: true,
required: false,
},
} as const;
export type AlertsFieldMap840 = typeof alertsFieldMap840;

View file

@ -0,0 +1,11 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import type { AlertsFieldMap840 } from './alerts';
import { alertsFieldMap840 } from './alerts';
export type { AlertsFieldMap840 };
export { alertsFieldMap840 };

View file

@ -5,9 +5,9 @@
* 2.0.
*/
import type { AlertsFieldMap } from './8.0.0/alerts';
import { alertsFieldMap } from './8.0.0/alerts';
import type { AlertsFieldMap840 } from './8.4.0';
import { alertsFieldMap840 } from './8.4.0';
import type { RulesFieldMap } from './8.0.0/rules';
import { rulesFieldMap } from './8.0.0/rules';
export type { AlertsFieldMap, RulesFieldMap };
export { alertsFieldMap, rulesFieldMap };
export type { AlertsFieldMap840 as AlertsFieldMap, RulesFieldMap };
export { alertsFieldMap840 as alertsFieldMap, rulesFieldMap };