identifiers

package
v2.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package identifiers provides functions for sorting vulnerability identifiers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IDSortFunc

func IDSortFunc(a, b string) int

IDSortFunc sorts IDs ascending by CVE < [ECO-SPECIFIC] < GHSA

func IDSortFuncForDescription

func IDSortFuncForDescription(a, b string) int

IDSortFuncForDescription sorts ID ascending by [ECO-SPECIFIC] < GHSA < CVE

func MostUpstreamsOrder added in v2.1.0

func MostUpstreamsOrder(a, b *osvschema.Vulnerability) int

MostUpstreamsOrder orders by which vuln has the most upstreams, thereby finding the furthest downstream vuln identifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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