wordfence

package
v0.0.0-...-5831727 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffectedVersion

type AffectedVersion struct {
	FromVersion   string `json:"from_version"`
	FromInclusive bool   `json:"from_inclusive"`
	ToVersion     string `json:"to_version"`
	ToInclusive   bool   `json:"to_inclusive"`
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewProductionFeedClient

func NewProductionFeedClient(httpClient *http.Client) Client

func NewScannerFeedClient

func NewScannerFeedClient(httpClient *http.Client) Client

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(client Client, searcher composer.Searcher) Generator

func (Generator) Generate

func (g Generator) Generate(ignores []string) (composer.JSON, error)

type Software

type Software struct {
	Type             string                     `json:"type"`
	Slug             softwareSlug               `json:"slug"`
	AffectedVersions map[string]AffectedVersion `json:"affected_versions"`
}

type Vulnerability

type Vulnerability struct {
	ID       string     `json:"id"`
	Software []Software `json:"software"`
	CVE      string     `json:"cve"`
}

Jump to

Keyboard shortcuts

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