Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution][Detection Engine] fixes reindexed .list(from 7.x) index migration to DS #204945

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

vitaliidm
Copy link
Contributor

@vitaliidm vitaliidm commented Dec 19, 2024

Summary

Testing

  1. Create cloud env of 7.x version
  2. Upload list items
  3. Create cloud env of 8.18 from existing 7.x snapshot (from previous steps)
  4. Connect local Kibana of 8.18 from mirror branch of this one(8.x mirror of [Security Solution][Detection Engine] fixes reindexed .list(from 7.x) index migration to DS #205359)
  5. Add to Kibana dev config following options to enable Upgrade assistant(UA) showing outdated indices
    xpack.upgrade_assistant.featureSet:
      mlSnapshots: true
      migrateDataStreams: true
      migrateSystemIndices: true
      reindexCorrectiveActions: true
  6. When Kibana started DO NOT visit Detection rule or any Security page
  7. Open KIbana Upgrade Assistant, check Elasticsearch deprecations
  8. Find outdated .lists-* and .items-* index
  9. Migrate them
  10. Visit detection page to ensure list indices moved to data stream stream and lists functionality is available: view, upload delete, etc

@vitaliidm vitaliidm self-assigned this Dec 19, 2024
@vitaliidm vitaliidm added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:Detection Engine Security Solution Detection Engine Area v9.0.0 v8.18.0 labels Dec 19, 2024
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
securitySolution 6488 6489 +1

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/securitysolution-es-utils 77 79 +2
Unknown metric groups

API count

id before after diff
@kbn/securitysolution-es-utils 88 91 +3

History

cc @vitaliidm

@vitaliidm vitaliidm marked this pull request as ready for review January 7, 2025 12:38
@vitaliidm vitaliidm requested a review from a team as a code owner January 7, 2025 12:38
@vitaliidm vitaliidm requested a review from rylnd January 7, 2025 12:38
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detection-engine (Team:Detection Engine)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Detection Engine Security Solution Detection Engine Area v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants