diff --git a/x-pack/platform/plugins/shared/fields_metadata/jest.config.js b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js index 324c1b0b8f351..aec85a0338bb6 100644 --- a/x-pack/platform/plugins/shared/fields_metadata/jest.config.js +++ b/x-pack/platform/plugins/shared/fields_metadata/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/platform/plugins/shared/fields_metadata'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fields_metadata', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/shared/fields_metadata', coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/platform/plugins/shared/fields_metadata/{common,public,server}/**/*.{ts,tsx}', diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts index 60024b00053bb..722045741e0ba 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js index 1ffe4b7aa350a..c36c2422869b8 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/jest.config.js @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ module.exports = { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx index ab2023e4ed5e2..cbf480f50ff5d 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/button.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { EuiButton } from '@elastic/eui'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx index 1d8c830cbe4c3..9de070425cabe 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/error_callout.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 React from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx index 2ebe95d5cfb97..1a54df5e6e707 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/form.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 React, { useCallback } from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts index 98d3441d694f3..5e7376b8c8efa 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/create/utils.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export const replaceSpecialChars = (value: string) => { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx index a26763485d67a..0410171789f38 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_button.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 React from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx index 7e01bd63f8774..53ffb664051cc 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/custom_integrations_form.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 React from 'react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts index d32c85801643d..a8c866eefbb2b 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/components/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export { ConnectedCreateCustomIntegrationForm } from './create/form'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts index 35dcea4bce27c..d7b3cce01034a 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/create/use_create_dispatchable_events.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { useActor, useSelector } from '@xstate/react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts index 4f44ba441e794..3bbee5aa6dedb 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export { useConsumerCustomIntegrations } from './use_consumer_custom_integrations'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts index e8202b3699a70..5a694c104f9b7 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_consumer_custom_integrations.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts index e02a1a636c83d..469f9cffc5a63 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/hooks/use_custom_integrations.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { useActor } from '@xstate/react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts index dbfd375b1d665..a806314448ea7 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/defaults.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export const DEFAULT_CONTEXT = { diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts index 415b204571980..56d44652ec5f7 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/notifications.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { CustomIntegrationOptions, IntegrationError } from '../../types'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts index 28ff0660816ba..f59c21dc499eb 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/pipelines/fields.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { pipe } from 'fp-ts/lib/pipeable'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts index 9b5ef7d05cfcc..58eefa2fbd16b 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/selectors.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { CreateCustomIntegrationState } from './state_machine'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts index 6f53563ab0555..b7abc58433601 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/state_machine.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { i18n } from '@kbn/i18n'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts index 5effeced918f0..2e4a776910ad9 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/create/types.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { CustomIntegrationOptions, IntegrationError } from '../../types'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts index ad8a949e1123b..68617dded95ac 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/defaults.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { DefaultCustomIntegrationsContext } from './types'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts index dd9ca6a51dd9b..66d743c7fb1c5 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/notifications.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { createNotificationChannel, NotificationChannel } from '@kbn/xstate-utils'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx index 3ff74972cc8eb..4cf87470380ed 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/provider.tsx @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { useInterpret } from '@xstate/react'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts index 79722e15a4522..5ef42df0747d8 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/selectors.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { CustomIntegrationsState } from './state_machine'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts index 2ea9bc73c383b..546f0198698a4 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/state_machine.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { ActorRefFrom, createMachine, EmittedFrom } from 'xstate'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts index 8c34ca3293e22..3308705d7afb9 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/custom_integrations/types.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { CreateCustomIntegrationNotificationEvent } from '../create/notifications'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts index f9ea08dac8714..9d5fca22f8293 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export { CustomIntegrationsProvider } from './custom_integrations/provider'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts index 4b6fb1e721870..e7c096d3444f8 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/integrations_client.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { HttpSetup } from '@kbn/core/public'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts index b5554f79c5675..b2b24a8a9c4e4 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/state_machines/services/validation.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { isEmpty } from 'lodash'; diff --git a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts index d3ee039f89121..803bb341f5904 100644 --- a/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts +++ b/x-pack/solutions/observability/packages/kbn-custom-integrations/src/types.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ /* eslint-disable max-classes-per-file */ diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/index.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/index.ts index 55b900ad5137a..3b2a320ae181f 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/index.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export * from './src'; diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js b/x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js index b7f40c033d3b0..79e37bda2a318 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/jest.config.js @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ module.exports = { diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/actions.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/actions.ts index cbc2a4ec79835..14a084bca79a1 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/actions.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/actions.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/console_inspector.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/console_inspector.ts index 8792ab44f3c28..f9a00fcc27ec7 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/console_inspector.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/console_inspector.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/dev_tools.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/dev_tools.ts index 989e4721a633a..d11676c9916d4 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/dev_tools.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/dev_tools.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/index.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/index.ts index 3edf83e8a32c2..563abebcb45bf 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/index.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/index.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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. */ export * from './actions'; diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/notification_channel.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/notification_channel.ts index f64650354e1e1..6075f031f61a5 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/notification_channel.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/notification_channel.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { ReplaySubject, Subject } from 'rxjs'; diff --git a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/types.ts b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/types.ts index a7b11b01e052b..05e75c5fe6e45 100644 --- a/x-pack/solutions/observability/packages/kbn-xstate-utils/src/types.ts +++ b/x-pack/solutions/observability/packages/kbn-xstate-utils/src/types.ts @@ -1,10 +1,8 @@ /* * 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", the "GNU Affero General Public License v3.0 only", 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", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". + * 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 { ActorRef, ActorRefWithDeprecatedState, EmittedFrom, State, StateValue } from 'xstate'; diff --git a/x-pack/solutions/observability/plugins/data_quality/jest.config.js b/x-pack/solutions/observability/plugins/data_quality/jest.config.js index ca3277a07210c..ea552ad65f4b3 100644 --- a/x-pack/solutions/observability/plugins/data_quality/jest.config.js +++ b/x-pack/solutions/observability/plugins/data_quality/jest.config.js @@ -9,7 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', roots: ['/x-pack/solutions/observability/plugins/data_quality'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/data_quality', + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/solutions/observability/plugins/data_quality', coverageReporters: ['text', 'html'], collectCoverageFrom: ['/x-pack/plugins/datas_quality/{common,public}/**/*.{ts,tsx}'], }; diff --git a/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx index 931219dc0bce4..0b884f5529a66 100644 --- a/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/pages/logs/settings/log_columns_configuration_panel.tsx @@ -190,7 +190,7 @@ const TimestampLogColumnConfigurationPanel: React.FunctionComponent< defaultMessage="This system field shows the log entry's time as determined by the {timestampSetting} field setting." values={{ // this is a settings key and should not be translated - // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n + timestampSetting: timestamp, }} /> diff --git a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx index 219200f85ded3..ef6747b059b84 100644 --- a/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx +++ b/x-pack/solutions/observability/plugins/infra/public/pages/metrics/inventory_view/components/waffle/node_square.tsx @@ -199,7 +199,7 @@ export const NodeSquare = ({ ) : ( ellipsisMode && ( - {/* eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n */} + {} ) diff --git a/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx index 2ba31b3e94d86..471cad98fb132 100644 --- a/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx +++ b/x-pack/solutions/observability/plugins/logs_explorer/public/components/common/translations.tsx @@ -75,9 +75,8 @@ export const contentHeaderTooltipParagraph1 = ( id="xpack.logsExplorer.dataTable.header.content.tooltip.paragraph1" defaultMessage="Displays the document's {logLevel} and {message} fields." values={{ - // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n logLevel: log.level, - // eslint-disable-next-line @kbn/i18n/strings_should_be_translated_with_i18n + message: message, }} /> diff --git a/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx index 7824e8ddd59a2..7434141a76d35 100644 --- a/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx +++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/auto_detect/use_onboarding_flow.tsx @@ -98,7 +98,7 @@ export function useOnboardingFlow() { ), }; }); - }, [installedIntegrations.length]); // eslint-disable-line react-hooks/exhaustive-deps + }, [installedIntegrations.length]); useInterval( refetchProgress, diff --git a/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx index 51101ead8c339..004fe70efb02c 100644 --- a/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx +++ b/x-pack/solutions/observability/plugins/observability_onboarding/public/application/quickstart_flows/custom_logs/install_elastic_agent.tsx @@ -71,7 +71,6 @@ export function InstallElasticAgent() { return callApi('GET /internal/observability_onboarding/logs/setup/privileges'); } // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const { data: setup } = useFetcher((callApi) => { @@ -105,7 +104,7 @@ export function InstallElasticAgent() { } }, // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps + [monitoringRole?.hasPrivileges] ); @@ -135,7 +134,6 @@ export function InstallElasticAgent() { }); } // FIXME: Dario could not find a reasonable fix for getState() - // eslint-disable-next-line react-hooks/exhaustive-deps }, []); const { apiKeyEncoded, onboardingId } = installShipperSetup ?? getState(); @@ -152,7 +150,7 @@ export function InstallElasticAgent() { } }, // FIXME: Dario could not find a reasonable fix for succesfullySavedOnboardingState - // eslint-disable-next-line react-hooks/exhaustive-deps + [apiKeyEncoded, onboardingId, succesfullySavedOnboardingState] );