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 - Unnecessary queries while accessing agent operations #5237

Closed
Tracked by #5233
Desvelao opened this issue Mar 3, 2023 · 0 comments · Fixed by #5453, #5504 or #5503
Closed
Tracked by #5233

Wazuh API usage - Unnecessary queries while accessing agent operations #5237

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

Comments

@Desvelao
Copy link
Member

Desvelao commented Mar 3, 2023

Analysis: #5233

Description

Unnecessary queries while accessing agent operations

image

2021/11/09 14:08:26 INFO: wazuh-wui 127.0.0.1 "GET //" with parameters {} and body {} done in 0.001s: 308
2021/11/09 14:08:26 INFO: wazuh-wui 127.0.0.1 "GET /" with parameters {} and body {} done in 0.005s: 200
2021/11/09 14:22:52 INFO: wazuh-wui 127.0.0.1 "GET /agents/summary/status" with parameters {} and body {} done in 0.010s: 200
2021/11/09 14:22:52 INFO: wazuh-wui 127.0.0.1 "GET /agents/summary/status" with parameters {} and body {} done in 0.006s: 200
  • Improvements and suggestions
    1. What's the purpose of these queries? they should be removed.

I found these requests when accessing to Integrity monitoring module from the agent info/welcome page. I think we should review these requests.

@Desvelao Desvelao added type/bug Bug issue type/enhancement Enhancement issue and removed type/bug Bug issue labels Mar 3, 2023
@Desvelao Desvelao changed the title Wazuh API usage - Wazuh API usage - Unnecessary queries while accessing agent operations Mar 3, 2023
@gdiazlo gdiazlo added the level/task Task issue label Mar 16, 2023
@wazuhci wazuhci moved this to Backlog in Release 4.6.0 Apr 21, 2023
@yenienserrano yenienserrano self-assigned this May 17, 2023
@yenienserrano yenienserrano linked a pull request May 17, 2023 that will close this issue
6 tasks
@wazuhci wazuhci removed this from Release 4.6.0 May 19, 2023
@wazuhci wazuhci moved this to Done in Release 4.6.0 Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment