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

Migrate API security endpoints to the indexer #28425

Open
2 tasks
Tracked by #27706
GGP1 opened this issue Feb 28, 2025 · 1 comment
Open
2 tasks
Tracked by #27706

Migrate API security endpoints to the indexer #28425

GGP1 opened this issue Feb 28, 2025 · 1 comment
Labels
level/subtask type/enhancement New feature or request

Comments

@GGP1
Copy link
Member

GGP1 commented Feb 28, 2025

Description

The management API /security endpoints rely on the RBAC information provided by the legacy rbac.db SQL database. In #27706, we updated most of the old RBAC implementation to use the indexer.

In this issue, we should update all the /security endpoints controllers and framework to use the new PoliciesIndex, RolesIndex, RulesIndex and UsersIndex classes from the indexer client to get the information required.

Additionally, we should define a plan to carry out the necessary API Integration tests.

Checks

The following elements have been updated or reviewed (should also be checked if no modification is required):

  • Tests (unit tests, API integration tests).
  • Changelog.
@GGP1 GGP1 added level/subtask type/enhancement New feature or request labels Feb 28, 2025
@wazuhci wazuhci moved this to Triage in XDR+SIEM/Release 5.0.0 Mar 5, 2025
@wazuhci wazuhci moved this from Triage to Backlog in XDR+SIEM/Release 5.0.0 Mar 6, 2025
@wazuhci wazuhci moved this from Backlog to Triage in XDR+SIEM/Release 5.0.0 Mar 6, 2025
@fdalmaup
Copy link
Member

Blocked until wazuh/wazuh-indexer-plugins#288 is finished since the final structure of the Indexer indices has not been developed.

@wazuhci wazuhci moved this from Triage to Blocked in XDR+SIEM/Release 5.0.0 Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/subtask type/enhancement New feature or request
Projects
Status: Blocked
Development

No branches or pull requests

2 participants