epss

package
v0.0.0-...-2450d4a Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(args []string, opts ...Option) error

Types

type CVE

type CVE struct {
	ID         string   `json:"id,omitempty"`
	EPSS       float64  `json:"epss,omitempty"`
	Percentile *float64 `json:"percentile,omitempty"`
}

type EPSS

type EPSS struct {
	Model     string `json:"model,omitempty"`
	ScoreDate string `json:"score_date,omitempty"`
	Data      []CVE  `json:"data,omitempty"`
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithConcurrency

func WithConcurrency(concurrency int) Option

func WithDataURL

func WithDataURL(url string) Option

func WithDir

func WithDir(dir string) Option

func WithRetry

func WithRetry(retry int) Option

func WithWait

func WithWait(wait int) Option

Jump to

Keyboard shortcuts

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