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
34 lines
1.7 KiB
TypeScript
34 lines
1.7 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.
|
|
*/
|
|
|
|
/**
|
|
* Fields that describe a device instance and its characteristics. Data collected for applications and processes running on a (mobile) device can be enriched with these fields to describe the identity, type and other characteristics of the device.
|
|
* This field group definition is based on the Device namespace of the OpenTelemetry Semantic Conventions (https://opentelemetry.io/docs/reference/specification/resource/semantic_conventions/device/).
|
|
*/
|
|
export interface EcsDevice {
|
|
/**
|
|
* The unique identifier of a device. The identifier must not change across application sessions but stay fixex for an instance of a (mobile) device.
|
|
* On iOS, this value must be equal to the vendor identifier (https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor). On Android, this value must be equal to the Firebase Installation ID or a globally unique UUID which is persisted across sessions in your application.
|
|
* For GDPR and data protection law reasons this identifier should not carry information that would allow to identify a user.
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* The vendor name of the device manufacturer.
|
|
*/
|
|
manufacturer?: string;
|
|
model?: {
|
|
/**
|
|
* The machine readable identifier of the device model.
|
|
*/
|
|
identifier?: string;
|
|
/**
|
|
* The human readable marketing name of the device model.
|
|
*/
|
|
name?: string;
|
|
};
|
|
}
|