CycloneDX 0.3.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global CycloneDX --version 0.3.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local CycloneDX --version 0.3.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CycloneDX&version=0.3.1
nuke :add-package CycloneDX --version 0.3.1

CycloneDX module for .NET

The CycloneDX module for .NET creates a valid CycloneDX bill-of-material document containing an aggregate of all project dependencies. CycloneDX is a lightweight BoM specification that is easily created, human readable, and simple to parse. The resulting bom.xml can be used with tools such as OWASP Dependency-Track for the continuous analysis of components.

Usage

Installing
dotnet tool install --global CycloneDX

If you already have a previous version of CycloneDX installed, you can upgrade to the latest version using the following command:

dotnet tool update --global CycloneDX
Options
Usage: cyclonedx [path] -o [outputDirectory]

Arguments:
  Path            The path to a .sln, .csproj, .vbproj, or packages.config file or the path to a directory which will be recursively analyzed for packages.config files.

Options:
  -o|--out <DIR>  The directorty to write the BOM
  -u|--url <URL>  Alternative NuGet repository URL to v3-flatcontainer API (a trailing slash is required).
  -?|-h|--help    Show help information
Examples

To run the CycloneDX tool you need to specify a solution or project file. In case you pass a solution, the tool will aggregate all the projects.

The following will create a BOM from a solution and all projects defined within:

dotnet CycloneDX YourSolution.sln -o /output/path

The following will recursively scan the directory structure for packages.config and create a BOM:

dotnet CycloneDX /path/to/project -o /output/path

License

Permission to modify and redistribute is granted under the terms of the Apache 2.0 license. See the LICENSE file for the full license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.1

    • No dependencies.
Version Downloads Last updated
3.0.6 47,428 3/28/2024
3.0.5 157,101 1/10/2024
3.0.4 13,960 1/2/2024
3.0.3 417 1/2/2024
3.0.2 2,366 12/29/2023
3.0.1 700 12/29/2023
3.0.0 585 12/28/2023
2.10.0 84,469 11/17/2023
2.9.0 81,464 10/1/2023
2.8.1 183,111 7/11/2023
2.8.0 26,112 6/21/2023
2.7.0 464,957 11/30/2022
2.6.0 10,108 11/23/2022
2.5.1 121,428 10/17/2022
2.5.0 5,301 10/17/2022
2.4.1 22,042 10/12/2022
2.3.0 680,232 11/11/2021
2.2.0 4,916 11/7/2021
2.1.2 17,673 10/10/2021
2.1.1 3,034 10/7/2021
2.1.0 1,162 10/6/2021
2.0.1 38,591 9/23/2021
2.0.0 4,022 9/20/2021
1.6.2 14,592 8/28/2021
1.6.1 43,784 6/27/2021
1.6.0 495 6/27/2021
1.5.1 395 6/27/2021
1.5.0 47,748 5/4/2021
1.4.0 23,631 3/12/2021
1.3.0 81,576 11/12/2020
1.2.0 103,793 10/20/2020
1.1.0 1,497 10/10/2020
1.0.3 1,484 10/1/2020
1.0.2 3,851 8/26/2020
1.0.1 2,568 8/4/2020
1.0.0 3,028 7/12/2020
0.11.1 581 7/11/2020
0.11.0 2,848 6/22/2020
0.10.6 548 6/22/2020
0.10.5 2,118 6/5/2020
0.10.4 924 6/3/2020
0.10.3 1,147 5/28/2020
0.10.2 797 5/26/2020
0.10.1 943 5/22/2020
0.10.0 11,111 4/29/2020
0.9.3 2,482 3/30/2020
0.9.2 4,238 2/10/2020
0.9.1 729 2/9/2020
0.9.0 10,343 11/14/2019
0.5.0 44,584 9/18/2019
0.4.0 1,129 7/27/2019
0.3.3 13,902 1/23/2019
0.3.2 752 1/23/2019
0.3.1 744 1/22/2019
0.3.0 732 1/22/2019
0.2.1 879 10/8/2018
0.2.0 874 10/5/2018
0.1.0 896 10/3/2018