Hello!
In this case, if the label that you assigned to the groups is not present in the vulnerabilities index, as a workaround you can create a custom dashboard to filter out the results that you wish.
Let me share with you our official documentation related to this topic:
I hope this helps.
Regards!
Hello!
You can retrieve Vulnerabilities information by using the Wazuh Indexer API.
For this, you need to go to the top left menu ☰> Dev tools (under Index Management section)
Once here, you can use a query similar to the following, and retrieve the needed information:
GET /wazuh-states-vulnerabilities-*/_search
{
"size": 500,
"query": {
"bool": {
"must": [
{"match": {"agent.name": "Agent-Name"}}
],
"should": [
{"match": {"vulnerability.severity": "Critical"}},
{"match": {"vulnerability.severity": "High"}},
{"match": {"vulnerability.severity": "Medium"}},
{"match": {"vulnerability.severity": "Low"}}
],
"minimum_should_match": 1
}
}
}
In this case, this will get all the vulnerabilities for a particular agent. You can replace agent.name
with a different field to limit your search.
I hope this helps.
Regards!
--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wazuh/0d0bc2e6-0af0-4813-b5c6-98a219d90439n%40googlegroups.com.