GrypeScanner Class

Summary

Runs a Grype vulnerability scan.
graph BT Type-->Base0["GrypeTool<GrypeScanSettings>"] Base0-->Base1["Tool<GrypeScanSettings>"] Type["GrypeScanner"] class Type type-node

Syntax

public sealed class GrypeScanner : GrypeTool<GrypeScanSettings>

Constructors

Name Summary
GrypeScanner(IFileSystem, ICakeEnvironment, IProcessRunner, IToolLocator) Initializes a new instance of the GrypeScanner class.

Methods

Name Value Summary
Scan(GrypeSource, GrypeScanSettings) void
Scans a source for vulnerabilities.

Extension Methods

Name Value Summary
Dump<GrypeScanner>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GrypeScanner>(GrypeScanner[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GrypeScanner>(string) void
Requires the Cake.Issues addin
NotNull<GrypeScanner>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<GrypeScanner>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GrypeScanner>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin