nist

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package nist provides functionality to fetch vulnerability data from the NIST NVD API.

Index

Constants

This section is empty.

Variables

View Source
var PIPELEEK_NIST_BASE_URL = "https://services.nvd.nist.gov/rest/json/cves/2.0"

Functions

func FetchVulns

func FetchVulns(client *resty.Client, cpeName string) (string, error)

FetchVulns retrieves all CVE vulnerabilities for a specific CPE name from the NIST NVD API. It automatically handles pagination if the total results exceed the page size. Accepts a resty client, base URL, and full CPE name to allow dependency injection for testing. CPE name should be in format: cpe:2.3:a:vendor:product:version:*:*:*:edition:*:*:*

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL