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] deprecates signals migration APIs #198173

Draft
wants to merge 38 commits into
base: main
Choose a base branch
from

Conversation

vitaliidm
Copy link
Contributor

@vitaliidm vitaliidm commented Oct 29, 2024

Summary

How to test

How to create legacy siem index?

run script that used for FTR tests

node scripts/es_archiver --kibana-url=http://elastic:changeme@localhost:5601 --es-url=http://elastic:changeme@localhost:9200 load x-pack/test/functional/es_archives/signals/legacy_signals_index

node scripts/es_archiver --kibana-url=http://elastic:changeme@localhost:5601 --es-url=http://elastic:changeme@localhost:9200 load x-pack/test/functional/es_archives/signals/legacy_signals_index_another_1

These would create legacy siem indices. But be aware, it might break Kibana .alerts indices creation. But sufficient for testing

How to test deprecated APIs?

  1. Run API https://www.elastic.co/guide/en/security/current/signals-migration-api.html
  2. Observe warning deprecation on Kibana Upgrade page
Kibana Upgrade list of deprecations Screenshot 2024-11-20 at 16 30 44

How to test deprecated feature?

  1. Observe critical feature deprecation on Kibana Upgrade page, if you set up legacy siem signals
Kibana Upgrade feature deprecation flyout Screenshot 2024-11-20 at 16 32 35

How to test snapshot telemetry

Snapshot
For snapshot telemetry use API call
OR
Check snapshots in Kibana adv settings -> Global Settings Tab -> Usage collection section -> Click on cluster data example link -> Check legacy_siem_signals fields in flyout

Snapshot telemetry Screenshot 2024-11-20 at 16 38 16

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 29, 2024

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!

@vitaliidm vitaliidm self-assigned this Oct 29, 2024
@vitaliidm vitaliidm added Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Detection Engine Security Solution Detection Engine Area release_note:deprecation backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Oct 29, 2024
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

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 76 77 +1
Unknown metric groups

API count

id before after diff
@kbn/securitysolution-es-utils 87 88 +1

ESLint disabled line counts

id before after diff
securitySolution 558 562 +4

Total ESLint disabled count

id before after diff
securitySolution 642 646 +4

History

cc @vitaliidm

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:deprecation Team:Detection Engine Security Solution Detection Engine Area Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants