query

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAuth

func CheckAuth(workspace string, apiKey string) (bool, error)

func QueryCves

func QueryCves(sb *types.Sbom, cve string, workspace string, apiKey string) (*[]types.Cve, error)

Types

type CveResult

type CveResult struct {
	Cves []types.Cve `edn:"cves"`
}

type QueryResult

type QueryResult struct {
	Query struct {
		Data []CveResult `edn:"data"`
	} `edn:"query"`
}

Jump to

Keyboard shortcuts

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