Search Vulnerabilities
search_vulnerabilitiesSearch Wazuh vulnerability state detections newest first, using OpenSearch query strings and optional agent ID filters to identify affected agents.
Instructions
Search the wazuh-states-vulnerabilities index, newest detections first. Example query: vulnerability.severity:Critical
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_vulnerabilities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, from 1 to 100 | |
| query | No | OpenSearch query_string. Empty matches the vulnerability state index. | |
| offset | No | Result offset, from 0 to 10000 | |
| agent_id | No | Optional agent id filter |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |