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

Vuln list all #252

Merged
merged 13 commits into from
Jun 25, 2024
Merged

Vuln list all #252

merged 13 commits into from
Jun 25, 2024

Conversation

taylorwalton
Copy link
Contributor

No description provided.

taylorwalton and others added 13 commits June 23, 2024 10:07
The code changes in this commit add a new endpoint to fetch agent vulnerabilities based on their severity. The `get_agent_vulnerabilities` function in the `agents.py` file now accepts a `vulnerability_severity` parameter, allowing users to specify the severity level of the vulnerabilities they want to retrieve. This enhancement improves the flexibility and granularity of vulnerability fetching in the application.
This code change adds a new function, `create_vulnerability_datasource`, to the `grafana.py` file in the `customer_provisioning/services` directory. This function is used to create a Grafana datasource for Wazuh vulnerabilities using the OpenSearch Data Source. It is specifically designed for Wazuh versions 4.8.0 and above.
…sion 4.8.0 or higher

This code change modifies the `get_agent_vulnerabilities` function in the `agents.py` file. It adds a check for the Wazuh Manager version and if it is 4.8.0 or higher, it fetches the vulnerabilities using the new API. This improves the vulnerability fetching process for agents with newer Wazuh Manager versions.
@taylorwalton taylorwalton merged commit 779a31d into main Jun 25, 2024
1 check passed
@taylorwalton taylorwalton deleted the vuln-list-all branch June 25, 2024 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants