Documentation
¶
Index ¶
- func GrypeFile(path string) (*grype.Document, error)
- func GrypeReport(rawJSON []byte) (*grype.Document, error)
- func SyftFile(path string) (*syft.Document, error)
- func SyftSBOM(rawJSON []byte) (*syft.Document, error)
- func WriteGrypeFile(document *grype.Document, path string) error
- func WriteSyftFile(document *syft.Document, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GrypeReport ¶
GrypeReport takes the content of a json file and returns a parsed string
func WriteGrypeFile ¶
WriteGrypeFile takes a grype document and a path and writes the document on disk in json format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.