GrypeScanSettings.

FailOn Property

Summary

Gets or sets the severity at or above which Grype exits with code 2 (-f). The exit code throws a CakeException after the outputs are written; accept it with HandleExitCode to continue. Unknown is not allowed.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype.Scan
Containing Type
GrypeScanSettings

Syntax

public Nullable<GrypeSeverity> FailOn { get; set; }

Value

Type Description
Nullable<GrypeSeverity>