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 an SBOM (Syft JSON, CycloneDX or SPDX) for vulnerabilities with Grype.
Syntax
public static void GrypeScanSbom(this ICakeContext context, FilePath sbom)
Examples
GrypeScanSbom("./artifacts/bom.cdx.json");
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
| CakeAliasCategoryAttribute |
|
| CakeNamespaceImportAttribute |
|
| CakeNamespaceImportAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| sbom |
FilePath |
The SBOM file. |
Return Value