Cake.Grype addin
This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Grype.
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.
Grype
|
GrypeDbCheck Alias from Cake.Grype addin |
Checks whether a newer Grype vulnerability database is available using the specified settings. |
|
GrypeDbCheck Alias from Cake.Grype addin |
Checks whether a newer Grype vulnerability database is available. |
|
GrypeDbDelete Alias from Cake.Grype addin |
Deletes the local Grype vulnerability database using the specified settings. |
|
GrypeDbDelete Alias from Cake.Grype addin |
Deletes the local Grype vulnerability database, for example to start a test from a clean cache. |
|
GrypeDbImport Alias from Cake.Grype addin |
Imports a Grype vulnerability database archive from disk using the specified settings. |
|
GrypeDbImport Alias from Cake.Grype addin |
Imports a Grype vulnerability database archive from disk, for offline or air-gapped builds. |
|
GrypeDbImport Alias from Cake.Grype addin |
Imports a Grype vulnerability database archive from a URL using the specified settings. |
|
GrypeDbImport Alias from Cake.Grype addin |
Imports a Grype vulnerability database archive from a URL. A checksum=sha256:… query parameter is
verified by Grype.
|
|
GrypeDbStatus Alias from Cake.Grype addin |
Gets the status of the local Grype vulnerability database using the specified settings. |
|
GrypeDbStatus Alias from Cake.Grype addin |
Gets the status of the local Grype vulnerability database. A missing database returns
Valid == false with an Error instead of throwing.
|
|
GrypeDbUpdate Alias from Cake.Grype addin |
Downloads and installs the latest Grype vulnerability database using the specified settings. |
|
GrypeDbUpdate Alias from Cake.Grype addin |
Downloads and installs the latest Grype vulnerability database. |
|
GrypeReadJson Alias from Cake.Grype addin |
Reads a Grype JSON report (written with GrypeOutput.Json(file)) for inspection in C#.
|
|
GrypeScan Alias from Cake.Grype addin |
Scans a source for vulnerabilities with Grype using the specified settings. |
|
GrypeScan Alias from Cake.Grype addin |
Scans a source for vulnerabilities with Grype. A string is passed to Grype unchanged, for example
"registry:alpine:3.20".
|
|
GrypeScanDirectory Alias from Cake.Grype addin |
Scans a directory for vulnerabilities with Grype using the specified settings. |
|
GrypeScanDirectory Alias from Cake.Grype addin |
Scans a directory for vulnerabilities with Grype. |
|
GrypeScanFile Alias from Cake.Grype addin |
Scans a single file for vulnerabilities with Grype using the specified settings. |
|
GrypeScanFile Alias from Cake.Grype addin |
Scans a single file for vulnerabilities with Grype. |
|
GrypeScanImage Alias from Cake.Grype addin |
Scans a container image for vulnerabilities with Grype using the specified settings. |
|
GrypeScanImage Alias from Cake.Grype addin |
Scans a container image for vulnerabilities with Grype, using Grype's default image lookup. |
|
GrypeScanRegistry Alias from Cake.Grype addin |
Scans a container image pulled directly from a registry with Grype using the specified settings. |
|
GrypeScanRegistry Alias from Cake.Grype addin |
Scans a container image pulled directly from a registry (no container runtime required) with Grype. |
|
GrypeScanSbom Alias from Cake.Grype addin |
Scans an SBOM (Syft JSON, CycloneDX or SPDX) for vulnerabilities with Grype using the specified settings. |
|
GrypeScanSbom Alias from Cake.Grype addin |
Scans an SBOM (Syft JSON, CycloneDX or SPDX) for vulnerabilities with Grype. |
|
GrypeVersion Alias from Cake.Grype addin |
Gets Grype's version information using the specified settings. |
|
GrypeVersion Alias from Cake.Grype addin |
Gets Grype's version information. |
