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
Gets the status of the local Grype vulnerability database. A missing database returns
Valid == false with an Error instead of throwing.
Syntax
public static GrypeDbStatus GrypeDbStatus(this ICakeContext context)
Examples
var status = GrypeDbStatus();
if (!status.Valid)
{
GrypeDbUpdate();
}
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
Return Value