For the complete documentation index, see llms.txt. This page is also available as Markdown.

Producing reports

Via the SASHA scanner you can generate the following reports:

--report-sarif

Produces a SARIF report file of the analysis

Example: --report-sarif=~/report.sarif

--report-console

Particularly useful on CI/CD pipelines, this flag allows to produce a report that can be viewed directly from the console. At the moment it can be paired to sub-options (color, no-color) to either have a formatted output with colours or one without (the default is the former)

Examples: --report-console, --report-console:no-color

--keep-roslyn-reports

Normally during analysis of .NET project, the Roslyn Analyzers are used to evaluate code analysis rules. This generates SARIF reports that SASHA aggregates and uses as part of the scan. By default these files are automatically removed post-usage. Should you wish to retain them, simply pass this flag to the scanner and they will be retained in a folder within your project

Last updated