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
90 lines
2.3 KiB
TypeScript
90 lines
2.3 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.
|
|
*/
|
|
|
|
/**
|
|
* These fields contain Linux Executable Linkable Format (ELF) metadata.
|
|
*/
|
|
export interface EcsElf {
|
|
/**
|
|
* Machine architecture of the ELF file.
|
|
*/
|
|
architecture?: string;
|
|
/**
|
|
* Byte sequence of ELF file.
|
|
*/
|
|
byte_order?: string;
|
|
/**
|
|
* CPU type of the ELF file.
|
|
*/
|
|
cpu_type?: string;
|
|
/**
|
|
* Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.
|
|
*/
|
|
creation_date?: string;
|
|
/**
|
|
* List of exported element names and types.
|
|
*/
|
|
exports?: Array<Record<string, unknown>>;
|
|
header?: {
|
|
/**
|
|
* Version of the ELF Application Binary Interface (ABI).
|
|
*/
|
|
abi_version?: string;
|
|
/**
|
|
* Header class of the ELF file.
|
|
*/
|
|
class?: string;
|
|
/**
|
|
* Data table of the ELF header.
|
|
*/
|
|
data?: string;
|
|
/**
|
|
* Header entrypoint of the ELF file.
|
|
*/
|
|
entrypoint?: number;
|
|
/**
|
|
* "0x1" for original ELF files.
|
|
*/
|
|
object_version?: string;
|
|
/**
|
|
* Application Binary Interface (ABI) of the Linux OS.
|
|
*/
|
|
os_abi?: string;
|
|
/**
|
|
* Header type of the ELF file.
|
|
*/
|
|
type?: string;
|
|
/**
|
|
* Version of the ELF header.
|
|
*/
|
|
version?: string;
|
|
};
|
|
|
|
/**
|
|
* List of imported element names and types.
|
|
*/
|
|
imports?: Array<Record<string, unknown>>;
|
|
/**
|
|
* An array containing an object for each section of the ELF file.
|
|
* The keys that should be present in these objects are defined by sub-fields underneath `elf.sections.*`.
|
|
*/
|
|
sections?: Array<Record<string, unknown>>;
|
|
/**
|
|
* An array containing an object for each segment of the ELF file.
|
|
* The keys that should be present in these objects are defined by sub-fields underneath `elf.segments.*`.
|
|
*/
|
|
segments?: Array<Record<string, unknown>>;
|
|
/**
|
|
* List of shared libraries used by this ELF object.
|
|
*/
|
|
shared_libraries?: string[];
|
|
/**
|
|
* telfhash symbol hash for ELF file.
|
|
*/
|
|
telfhash?: string;
|
|
}
|