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

Wazuh API usage - Agent inventory data unnecessary query while accessing #5239

Closed
Tracked by #5233
Desvelao opened this issue Mar 3, 2023 · 0 comments · Fixed by #5460, #5507 or #5508
Closed
Tracked by #5233

Wazuh API usage - Agent inventory data unnecessary query while accessing #5239

Desvelao opened this issue Mar 3, 2023 · 0 comments · Fixed by #5460, #5507 or #5508
Assignees
Labels
level/task Task issue type/enhancement Enhancement issue

Comments

@Desvelao
Copy link
Member

Desvelao commented Mar 3, 2023

Description

Analysis: #5233

Agent inventory data

image

Unnecessary query while accessing

2021/11/09 17:33:01 INFO: wazuh-wui 127.0.0.1 "GET /agents" with parameters {"agents_list": "002", "select": "status"} and body {} done in 0.007s: 200
  • Improvements and suggestions
    1. Is it really necessary? It could be obtained from an older GET /agents request.

This request needs a deep analysis. It seems to be related when changing the module. It is defined in the switchSubTab of the agents.js controller.

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