github.com/projectdiscovery/cvemap
Package cvemap provides a robust, idiomatic Go client for interacting with the ProjectDiscovery CVE Map (CVEMap) REST API. The client focuses on the "/v2/vulnerability" endpoints, exposing high-level helper methods that handle authentication, request construction, network-level retries, and JSON decoding so that callers can concentrate on business logic. The snippet below demonstrates a minimal, production-ready workflow. While authentication is optional, using an API key is strongly recommended to avoid rate limiting and ensure better performance: Unauthenticated requests are subject to strict rate limits. If you encounter 429 (Too Many Requests) errors, configure an API key using WithPDCPKey() or WithKeyFromEnv() to get higher rate limits and better service reliability. The client is safe for concurrent use by multiple goroutines. For complete API semantics refer to https://api.projectdiscovery.io/docs. Package cvemap provides types for the /v2/vulnerability API client.
proxy.golang.org
v1.0.0
7 months ago
8
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/projectdiscovery/cvemap
spec |
| License | MIT |
| Namespace | github.com/projectdiscovery |
| First Release | about 2 years ago |
| Last Synced | 19 days ago |
Repository
| Stars | 2,153 on GitHub |
| Forks | 157 on GitHub |
| Commits | 248 |
| Committers | 4 |
| Avg per Author | 62.0 |
| DDS | 0.085 |