genericosv

package
v0.0.0-...-210767f Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package genericosv provides utilities for working with generic OSV structs (not specialized for Go).

Index

Constants

This section is empty.

Variables

View Source
var EcosystemGo = models.EcosystemGo

Functions

This section is empty.

Types

type Entry

type Entry models.Vulnerability

Entry is a a generic OSV entry, not specialized for Go.

func Fetch

func Fetch(id string) (*Entry, error)

Fetch returns the OSV entry from the osv.dev API for the given ID.

func (*Entry) ToReport

func (osv *Entry) ToReport(goID string, pc *proxy.Client) *report.Report

ToReport converts OSV into a Go Report with the given ID.

Jump to

Keyboard shortcuts

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