GrypeAliases.

GrypeDbCheck(ICakeContext) Method

Summary

Checks whether a newer Grype vulnerability database is available.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype
Containing Type
GrypeAliases

Syntax

public static GrypeDbCheckResult GrypeDbCheck(this ICakeContext context)

Examples

if (GrypeDbCheck().UpdateAvailable)
{
    GrypeDbUpdate();
}

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The context.

Return Value

Type Description
GrypeDbCheckResult The result.