update_vulnerability_db
Downloads the latest Go vulnerability database from OSV to a local cache, enabling offline vulnerability scanning for PCI DSS compliance.
Instructions
Download fresh OSV Go vulnerability snapshot to local cache for offline scanning. Downloads from gs://osv-vulnerabilities/Go/all.zip (~7.5MB). This is the ONLY tool that makes network requests. Cache stored at PCI_MCP_CACHE_DIR or ~/.pci-dss-mcp/vuln-cache/ by default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | No | Optional path to save the vulnerability cache. Default: ~/.pci-dss-mcp/vuln-cache/go-osv-{date}.json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_path | Yes | Absolute path to the refreshed OSV cache file | |
| vuln_count | Yes | Number of vulnerabilities indexed in the new cache | |
| download_size_bytes | Yes | Raw download size in bytes | |
| previous_cache_date | No | Date of the previous cache (YYYY-MM-DD), empty when no prior cache existed | |
| custom_path | No | True when the caller supplied a non-default output_path |