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 container image for vulnerabilities with Grype using the specified settings.
Syntax
public static void GrypeScanImage(this ICakeContext context, string image, GrypeScanSettings settings)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| image |
string |
The image reference, for example myorg/api:1.2.3. |
| settings |
GrypeScanSettings |
The settings. |
Return Value