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
Imports a Grype vulnerability database archive from disk, for offline or air-gapped builds.
Syntax
public static void GrypeDbImport(this ICakeContext context, FilePath archive)
Examples
GrypeDbImport("./cache/vulnerability-db.tar.zst");
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| archive |
FilePath |
The archive, for example downloaded from https://grype.anchore.io/databases. |
Return Value