Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintJSONResults ¶
func PrintJSONResults(query osv.BatchedQuery, resp *osv.HydratedBatchedResponse, outputWriter io.Writer) error
PrintJSONResults writes results to the provided writer in JSON format
func PrintTableResults ¶
func PrintTableResults(query osv.BatchedQuery, resp *osv.HydratedBatchedResponse, outputWriter io.Writer)
PrintTableResults prints the osv scan results into a human friendly table.
Types ¶
type Package ¶
type Package struct { Name string `json:"name"` Version string `json:"version"` Ecosystem string `json:"ecosystem"` Vulnerabilities []osv.Vulnerability `json:"vulnerabilities"` }
func PURLToPackage ¶
Click to show internal directories.
Click to hide internal directories.