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

No agent name in vulnerability indexed data after upgrade #23421

Closed
Dwordcito opened this issue May 14, 2024 · 0 comments · Fixed by #23426
Closed

No agent name in vulnerability indexed data after upgrade #23421

Dwordcito opened this issue May 14, 2024 · 0 comments · Fixed by #23426
Assignees
Labels
level/task type/bug Something isn't working

Comments

@Dwordcito
Copy link
Member

Dwordcito commented May 14, 2024

Description

This issue aims to solve a problem when a database upgrade event is triggered. This occurs because, during the event context population, the agent_name field is not populated.

We need to get this information from the global database.

cJSON_AddStringToObject(j_agent_info, "agent_id", wdb->id);

The effect of this is that the name of the agent is not indexed, something key for the user.

Is desired to have other missing fields (agent_ip and agent_version)

@Dwordcito Dwordcito added type/bug Something isn't working level/task labels May 14, 2024
@Dwordcito Dwordcito changed the title No agent name in vulnerability status after upgrade No agent name in vulnerability indexed data after upgrade May 14, 2024
@Dwordcito Dwordcito self-assigned this May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task type/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant