Cake.Grype Namespace

Class Types

Class Summary
GrypeAliases Contains functionality for running Anchore Grype, a vulnerability scanner for SBOMs, container images and file systems. Grype must be installed (for example winget install Anchore.Grype) or ToolPath must be set.
GrypeSettings Contains the settings shared by all Grype commands (Grype's global flags).
GrypeSeverity A vulnerability severity as Grype reports it. Values are ordered, so severity >= GrypeSeverity.High works.
GrypeSource What Grype scans: an SBOM, a directory, a file, a container image, package URLs or CPEs. Relative paths are made absolute when the scan runs. A string converts implicitly and is passed to Grype unchanged, for example "registry:alpine:3.20".
GrypeTool<TSettings> Base class for the Grype commands.
GrypeVerbosity Grype's log verbosity (-v, -vv). Logs are written to standard error.
GrypeVersion Version information reported by grype version -o json.
GrypeVersionReader Runs grype version and returns the parsed version information.
GrypeVersionSettings Contains the settings for grype version.

Namespaces