vulns

package
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package vulns provides utility functions for working with vulnerabilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AffectsEcosystem

func AffectsEcosystem(v osvschema.Vulnerability, ecosystemAffected ecosystem.Parsed) bool

func GetFixedVersions

func GetFixedVersions(v osvschema.Vulnerability) map[osvschema.Package][]string

GetFixedVersions returns a map of fixed versions for each package, or a map of empty slices if no fixed versions are available

func Include

func Include(vs []*osvschema.Vulnerability, vulnerability osvschema.Vulnerability) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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