mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
## Summary PR adds migration of Response Actions and Artifacts when the space awareness feature flag is enabled. Changes include: - New saved object type (`security:reference-data`) to keep internal data/information used by security solution. Currently being used to keep migration state for both the Artifacts and Response actions migrations - Two records will be populated in this new saved object related to the migration being introduced here: - ID: `SPACE-AWARENESS-ARTIFACT-MIGRATION` - keeps state information about migration of Artifacts (see below for example) - ID: `SPACE-AWARENESS-RESPONSE-ACTIONS-MIGRATION` - keeps state information about migration of response actions (see below for example) - NOTE: my goal was to also introduce a `client` for working with internal reference data, but due to timing constraints, that will be done at a later time - Adds migration for Endpoint artifacts (Trusted applications, Event filters, Blocklists, Host isolation exceptions and Endpoint exceptions) to add the `spaceOwnerId:default` to all artifact records - Adds migration for Response Action Requests (both Elastic Defend and external EDRs) to populate `originSpaceId` as well `agent.policy.*` fields. - NOTE: when populating the `agent.policy.*` data, it may be possible that the agent that the response action was sent to is no longer available (ex. unenrolled). In such cases, the migration will populate any field that it is not able to retrieve information for with the text `MIGRATION:NOT-FOUND` > [!IMPORTANT] > The migration currently assumes that the `9.1.0` endpoint package is already installed, which will not be the case with a real migration. To test this PR, you should start a 9.1 stack with the feature flags disabled... Install the `9.1.0` endpoint package, and then enable the feature flags. > We will be working on a solution handling this data condition in a subsequent PR |
||
---|---|---|
.. | ||
kbn-babel-preset | ||
kbn-bazel-runner | ||
kbn-capture-oas-snapshot-cli | ||
kbn-check-mappings-update-cli | ||
kbn-check-prod-native-modules-cli | ||
kbn-ci-stats-performance-metrics | ||
kbn-ci-stats-shipper-cli | ||
kbn-cli-dev-mode | ||
kbn-dependency-ownership | ||
kbn-dependency-usage | ||
kbn-docs-utils | ||
kbn-eslint-config | ||
kbn-eslint-plugin-disable | ||
kbn-eslint-plugin-eslint | ||
kbn-eslint-plugin-eui-a11y | ||
kbn-eslint-plugin-i18n | ||
kbn-eslint-plugin-imports | ||
kbn-eslint-plugin-telemetry | ||
kbn-failed-test-reporter-cli | ||
kbn-find-used-node-modules | ||
kbn-generate | ||
kbn-generate-console-definitions | ||
kbn-import-locator | ||
kbn-json-ast | ||
kbn-kibana-manifest-schema | ||
kbn-lint-packages-cli | ||
kbn-lint-ts-projects-cli | ||
kbn-lock-manager | ||
kbn-managed-vscode-config | ||
kbn-managed-vscode-config-cli | ||
kbn-manifest | ||
kbn-mock-idp-plugin | ||
kbn-optimizer | ||
kbn-peggy-loader | ||
kbn-performance-testing-dataset-extractor | ||
kbn-picomatcher | ||
kbn-plugin-check | ||
kbn-plugin-generator | ||
kbn-plugin-helpers | ||
kbn-relocate | ||
kbn-repo-file-maps | ||
kbn-repo-linter | ||
kbn-repo-source-classifier | ||
kbn-repo-source-classifier-cli | ||
kbn-set-map | ||
kbn-sort-package-json | ||
kbn-styled-components-mapping-cli | ||
kbn-ts-projects | ||
kbn-ts-type-check-cli | ||
kbn-validate-next-docs-cli | ||
kbn-web-worker-stub | ||
kbn-whereis-pkg-cli | ||
kbn-yarn-lock-validator |