Skip to content

Conversation

@JordanSh
Copy link
Contributor

@JordanSh JordanSh commented Dec 7, 2025

Summary

This pull request refactors and simplifies the SIEM readiness package to focus on API endpoints related to readiness categories and installed integrations, removing legacy readiness task logic and related types. It also updates the constants and types to reflect the new data structures and removes outdated tests.

API and Data Model Refactor:

  • Removed all readiness task logic, types, and exports from the package, including the readiness_tasks.ts file and related exports in index.ts. The code now focuses on readiness categories and integrations instead of individual tasks.
  • Updated the API constants to remove task-related endpoints and add the new GET_SIEM_READINESS_CATEGORIES_API_PATH for fetching readiness categories.
  • Replaced legacy task types with new types for readiness categories and integrations, including IndexInfo, CategoryGroup, and CategoriesResponse in types.ts.

Hooks and Query Updates:

  • Refactored the main hook to useSiemReadinessApi, which now exposes queries for readiness categories and installed integrations, removing mutation and query logic for readiness tasks.

@cla-checker-service
Copy link

cla-checker-service bot commented Dec 7, 2025

❌ Author of the following commits did not sign a Contributor Agreement:
3b5bba2, 8459426, fc69b5e, ca2cb5f, 389f9c8, ba461d1, c6e3090, 8d1d8c2, ba19100, 26a8972, e782167, 8770de9, 517b83a, 48824a6

Please, read and sign the above mentioned agreement if you want to contribute to this project

@JordanSh JordanSh self-assigned this Dec 7, 2025
@JordanSh JordanSh added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Cloud Security Cloud Security team related labels Dec 7, 2025
@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 7, 2025

🤖 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!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!

@JordanSh JordanSh added the v9.4.0 label Dec 8, 2025
@elasticmachine
Copy link
Contributor

💔 Build Failed

Failed CI Steps

History

cc @JordanSh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants