Search CPE Dictionary
nvd_search_cpesSearch the NVD CPE (Common Platform Enumeration) dictionary by product keyword or partial match string. Returns CPE names, human-readable titles, and deprecation status. Use before nvd_audit_cpe to resolve the correct CPE name for a product — CPE strings are precise identifiers (e.g., cpe:2.3:a:apache:http_server:2.4.51:::::::*) and must match exactly to audit the right product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of CPE entries to return (default 20, max 10000). | |
| offset | No | Zero-based page offset for pagination. When totalCount exceeds offset + returned, raise offset to reach the rest — a vendor-level keyword has nothing left to narrow toward. | |
| keyword | No | Product name or vendor keyword (e.g., "apache http server", "openssl", "nginx"). At least one of keyword or cpeMatchString is required. | |
| cpeMatchString | No | Partial CPEv2.3 pattern (e.g., "cpe:2.3:a:apache:http_server"). At least one of keyword or cpeMatchString is required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpes | No | Matching CPE dictionary entries. | |
| error | No | Present when the call failed. Absent on success. | |
| notice | No | Guidance when no CPEs matched, the offset ran past the result set, NVD returned an empty page inside a range it says has matches, or entries remain beyond this page. | |
| offset | No | Page offset used in this query. | |
| returned | No | Number of entries returned in this response. | |
| totalCount | No | Total matching CPE entries before the limit was applied. |