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.DependencyCheck.
Summary
Contains functionality for running a OWASP Dependency Check analysis on a C# project.
In order to use the commands for this addin, include the following in your build.cake file to download and reference from NuGet.org:
#tool "nuget:?package=DependencyCheck.Runner.Tool&include=./**/dependency-check.sh&include=./**/dependency-check.bat"
#addin "nuget:?package=Cake.DependencyCheck"
- Assembly
- Cake
.DependencyCheck .dll - Namespace
- Cake
.DependencyCheck - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["DependencyCheckAliases"]
class Type type-node
Syntax
public static class DependencyCheckAliases
Examples
Project and Scan attributes required.
Also Format can be (XML, HTML, CSV, JSON, VULN, ALL). The default is HTML.
#tool "nuget:?package=DependencyCheck.Runner.Tool&include=./**/dependency-check.sh&include=./**/dependency-check.bat"
#addin "nuget:?package=Cake.DependencyCheck"
Task("Dependency-Check")
.Does(() => {
DependencyCheck(new DependencyCheckSettings
{
Project = "ExampleProjectName",
Scan = "source/directory/*",
Format = "HTML"
});
});
Attributes
Type | Description |
---|---|
Cake |
Methods
Name | Value | Summary |
---|---|---|
DependencyCheck |
void |
Run the actual OWASP Dependency Check analysis.
static
|
DependencyCheck |
void |
Run the actual OWASP Dependency Check analysis.
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|