Wazuh icon

Wazuh

Work with the Wazuh Server API and Wazuh Indexer API

Actions15

Vulnerability → Search CVE

AI-generated

Summary

Search vulnerability state documents in Wazuh Indexer by specifying a CVE ID to retrieve details related to that vulnerability.

Inputs

  • CVE ID (required) — The CVE identifier to search for in the vulnerability documents, e.g., 'CVE-2020-14393'.
  • Index Pattern (required) — The Wazuh Indexer index name or pattern storing vulnerability state documents, defaulting to 'wazuh-states-vulnerabilities*'.
  • Size — Maximum number of matching documents to return (default 100).
  • From — Number of matching documents to skip (default 0).

Output shape

a collection of matching vulnerability documents containing details about the specified CVE ID

The output is paginated according to 'Size' and 'From' parameters. Returned data includes matched items, total matches, and related metadata.

Examples

Example 1: Search for details of a specific vulnerability using its CVE ID

Provide the CVE ID (e.g., 'CVE-2020-14393'), specify the index pattern (e.g., 'wazuh-states-vulnerabilities*'), optionally set 'Size' and 'From' for pagination, then execute to retrieve vulnerability state documents from Wazuh Indexer.

Links

Discussion