NuGroom supports multiple export formats for package analysis results, version warnings, and recommendations.
Human-readable JSON with:
NuGroom --config settings.json --export-packages report.json
Spreadsheet-compatible format with columns:
NuGroom --config settings.json --export-packages packages.csv --export-format csv
When version warnings are configured and the export format is CSV, additional CSV files are automatically generated:
packages-warnings.csv — Contains all version warnings with detailspackages-recommendations.csv — Contains package update recommendations with current and target versions| Column | Description |
|---|---|
| PackageName | Package identifier |
| Repository | Repository name |
| ProjectPath | Path to the project file |
| CurrentVersion | Currently used version |
| RecommendedVersion | Suggested target version |
| RecommendationType | latest-available or latest-used |
| Reason | Human-readable explanation |
Generate a Software Bill of Materials in SPDX 3.0.0 JSON-LD format using --export-sbom or the ExportSbom config field. The SBOM is always written as JSON-LD regardless of --export-format.
The document contains:
SpdxDocument root element with creation metadatasoftware_Package element for every scanned package referencepkg:nuget/Serilog@3.1.1)CLI:
NuGroom --config settings.json --export-sbom sbom.spdx.json
Config file:
{
"ExportSbom": "sbom.spdx.json"
}
Warnings and recommendations can be exported to dedicated files, independent of the main package report:
NuGroom --config settings.json \
--export-warnings warnings.json \
--export-recommendations recommendations.json
The format for all exports is controlled by --export-format (default: Json). The SBOM export always uses JSON-LD.
See also: Features · Configuration