mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Reverts https://github.com/elastic/kibana/pull/168553 Seeing these errors when updating existing alerts as data mappings ``` [2023-10-13T11:06:44.254-04:00][ERROR][plugins.alerting] ResponseError: illegal_argument_exception Root causes: illegal_argument_exception: can't merge a non-nested mapping [faas.trigger] with a nested mapping at KibanaTransport.request (/Users/ying/Code/kibana_prs/node_modules/@elastic/transport/src/Transport.ts:535:17) at processTicksAndRejections (node:internal/process/task_queues:95:5) ``` Needs further investigation as ECS mappings should be backwards compatible
160 lines
3.9 KiB
TypeScript
160 lines
3.9 KiB
TypeScript
/*
|
|
* 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 and the Server Side Public License, v 1; you may not use this file except
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
* Side Public License, v 1.
|
|
*/
|
|
|
|
import { EcsAgent } from './agent';
|
|
import { EcsAs } from './as';
|
|
import { EcsBase } from './base';
|
|
import { EcsClient } from './client';
|
|
import { EcsCloud } from './cloud';
|
|
import { EcsCodeSignature } from './code_signature';
|
|
import { EcsContainer } from './container';
|
|
import { EcsDataStream } from './data_stream';
|
|
import { EcsDestination } from './destination';
|
|
import { EcsDevice } from './device';
|
|
import { EcsDll } from './dll';
|
|
import { EcsDns } from './dns';
|
|
import { EcsEcs } from './ecs';
|
|
import { EcsElf } from './elf';
|
|
import { EcsEmail } from './email';
|
|
import { EcsError } from './error';
|
|
import { EcsEvent } from './event';
|
|
import { EcsFaas } from './faas';
|
|
import { EcsFile } from './file';
|
|
import { EcsGeo } from './geo';
|
|
import { EcsGroup } from './group';
|
|
import { EcsHash } from './hash';
|
|
import { EcsHost } from './host';
|
|
import { EcsHttp } from './http';
|
|
import { EcsInterface } from './interface';
|
|
import { EcsLog } from './log';
|
|
import { EcsNetwork } from './network';
|
|
import { EcsObserver } from './observer';
|
|
import { EcsOrchestrator } from './orchestrator';
|
|
import { EcsOrganization } from './organization';
|
|
import { EcsOs } from './os';
|
|
import { EcsPackage } from './package';
|
|
import { EcsPe } from './pe';
|
|
import { EcsProcess } from './process';
|
|
import { EcsRegistry } from './registry';
|
|
import { EcsRelated } from './related';
|
|
import { EcsRisk } from './risk';
|
|
import { EcsRule } from './rule';
|
|
import { EcsServer } from './server';
|
|
import { EcsService } from './service';
|
|
import { EcsSource } from './source';
|
|
import { EcsThreat } from './threat';
|
|
import { EcsTls } from './tls';
|
|
import { EcsTracing } from './tracing';
|
|
import { EcsUrl } from './url';
|
|
import { EcsUser } from './user';
|
|
import { EcsUserAgent } from './user_agent';
|
|
import { EcsVlan } from './vlan';
|
|
import { EcsVulnerability } from './vulnerability';
|
|
import { EcsX509 } from './x509';
|
|
|
|
export const EcsVersion = '8.6.1' as const;
|
|
|
|
/**
|
|
* Exporting raw schema files for easy programmatic use
|
|
*/
|
|
export { EcsFlat } from './ecs_flat';
|
|
export { EcsNested } from './ecs_nested';
|
|
|
|
export type {
|
|
EcsAgent,
|
|
EcsAs,
|
|
EcsBase,
|
|
EcsClient,
|
|
EcsCloud,
|
|
EcsCodeSignature,
|
|
EcsContainer,
|
|
EcsDataStream,
|
|
EcsDestination,
|
|
EcsDevice,
|
|
EcsDll,
|
|
EcsDns,
|
|
EcsEcs,
|
|
EcsElf,
|
|
EcsEmail,
|
|
EcsError,
|
|
EcsEvent,
|
|
EcsFaas,
|
|
EcsFile,
|
|
EcsGeo,
|
|
EcsGroup,
|
|
EcsHash,
|
|
EcsHost,
|
|
EcsHttp,
|
|
EcsInterface,
|
|
EcsLog,
|
|
EcsNetwork,
|
|
EcsObserver,
|
|
EcsOrchestrator,
|
|
EcsOrganization,
|
|
EcsOs,
|
|
EcsPackage,
|
|
EcsPe,
|
|
EcsProcess,
|
|
EcsRegistry,
|
|
EcsRelated,
|
|
EcsRisk,
|
|
EcsRule,
|
|
EcsServer,
|
|
EcsService,
|
|
EcsSource,
|
|
EcsThreat,
|
|
EcsTls,
|
|
EcsTracing,
|
|
EcsUrl,
|
|
EcsUser,
|
|
EcsUserAgent,
|
|
EcsVlan,
|
|
EcsVulnerability,
|
|
EcsX509,
|
|
};
|
|
|
|
export type Ecs = EcsBase &
|
|
EcsTracing & {
|
|
agent?: EcsAgent;
|
|
client?: EcsClient;
|
|
cloud?: EcsCloud;
|
|
container?: EcsContainer;
|
|
data_stream?: EcsDataStream;
|
|
destination?: EcsDestination;
|
|
device?: EcsDevice;
|
|
dll?: EcsDll;
|
|
dns?: EcsDns;
|
|
ecs: EcsEcs;
|
|
email?: EcsEmail;
|
|
error?: EcsError;
|
|
event?: EcsEvent;
|
|
faas?: EcsFaas;
|
|
file?: EcsFile;
|
|
group?: EcsGroup;
|
|
host?: EcsHost;
|
|
http?: EcsHttp;
|
|
log?: EcsLog;
|
|
network?: EcsNetwork;
|
|
observer?: EcsObserver;
|
|
orchestrator?: EcsOrchestrator;
|
|
organization?: EcsOrganization;
|
|
package?: EcsPackage;
|
|
process?: EcsProcess;
|
|
registry?: EcsRegistry;
|
|
related?: EcsRelated;
|
|
rule?: EcsRule;
|
|
server?: EcsServer;
|
|
service?: EcsService;
|
|
source?: EcsSource;
|
|
threat?: EcsThreat;
|
|
tls?: EcsTls;
|
|
url?: EcsUrl;
|
|
user?: EcsUser;
|
|
user_agent?: EcsUserAgent;
|
|
vulnerability?: EcsVulnerability;
|
|
};
|