CodeQLAliases.

CodeQLReportGenerate(ICakeContext, CodeQLSecurityReportToolSettings) Method

Summary

Generates an GitHub Advanced Security Code Scan Report
Assembly
Cake.CodeQL.Cli.dll
Namespace
Cake.CodeQL.Cli
Containing Type
CodeQLAliases

Syntax

public static void CodeQLReportGenerate(this ICakeContext context, CodeQLSecurityReportToolSettings settings)

Examples

CodeQLReportGenerate(context, nnew CodeQLReportInstallToolSettings
 {
    WorkingDirectory = "./"
    GitHubToken = "ghp_xxxxxxxxxxxxxxxxxx"
    Repository = "peter-murray/node-hue-api",
    SarifReportDirectory = "../results",
    OutputDirectory = "./",
    GitHubApiUrl = "https://api.github.com"
 }

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings CodeQLSecurityReportToolSettings The settings.

Return Value

Type Description
void