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.
Summary
Scans a source for vulnerabilities with Grype. A string is passed to Grype unchanged, for example
"registry:alpine:3.20".
Syntax
public static void GrypeScan(this ICakeContext context, GrypeSource source)
Examples
GrypeScan(GrypeSource.Sbom("./artifacts/bom.cdx.json"));
GrypeScan("registry:alpine:3.20");
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| source |
GrypeSource |
The source to scan. |
Return Value