GrypeScanner.

Scan(GrypeSource, GrypeScanSettings) Method

Summary

Scans a source for vulnerabilities.
Assembly
Cake.Grype.dll
Namespace
Cake.Grype.Scan
Containing Type
GrypeScanner

Syntax

public void Scan(GrypeSource source, GrypeScanSettings settings)

Remarks

Existing output files are deleted before the scan, so a failed scan cannot leave a stale report behind, and missing output directories are created.

Parameters

Name Type Description
source GrypeSource The source to scan.
settings GrypeScanSettings The settings.

Return Value

Type Description
void