{"id":15136906,"url":"https://github.com/nitro/cyclonedx-conan","last_synced_at":"2026-03-06T20:01:44.095Z","repository":{"id":233852426,"uuid":"787426930","full_name":"Nitro/cyclonedx-conan","owner":"Nitro","description":"Nitro fork of archived repo https://github.com/CycloneDX/cyclonedx-conan with changes required to work with our conan version.","archived":false,"fork":false,"pushed_at":"2024-07-13T02:52:24.000Z","size":106,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-22T07:34:12.147Z","etag":null,"topics":["conan","cyclonedx","nitroapp","owner-pro","product-pro-windows","sbom","terraform-managed","type-desktop"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nitro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-16T13:57:20.000Z","updated_at":"2025-01-29T12:33:00.000Z","dependencies_parsed_at":"2024-09-21T11:01:23.469Z","dependency_job_id":null,"html_url":"https://github.com/Nitro/cyclonedx-conan","commit_stats":null,"previous_names":["nitro/cyclonedx-conan"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nitro/cyclonedx-conan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fcyclonedx-conan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fcyclonedx-conan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fcyclonedx-conan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fcyclonedx-conan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nitro","download_url":"https://codeload.github.com/Nitro/cyclonedx-conan/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nitro%2Fcyclonedx-conan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30195529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conan","cyclonedx","nitroapp","owner-pro","product-pro-windows","sbom","terraform-managed","type-desktop"],"created_at":"2024-09-26T06:41:45.554Z","updated_at":"2026-03-06T20:01:44.055Z","avatar_url":"https://github.com/Nitro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CycloneDX Conan SBOM Generation Tool\n\n[![shield_pypi-version]][link_pypi]\n[![shield_gh-workflow-test]][link_gh-workflow-test]\n[![shield_license]][license_file]  \n[![shield_website]][link_website]\n[![shield_slack]][link_slack]\n[![shield_groups]][link_discussion]\n[![shield_twitter-follow]][link_twitter]\n\n----\n\n## Support for Conan v2 and later\n\nCycloneDX support for Conan2 is available as an [offical Conan2 extension](https://github.com/conan-io/conan-extensions#readme).  \nSee the [conan-extensions sbom commands](https://github.com/conan-io/conan-extensions/blob/main/extensions/commands/sbom/README.md).\n\n----\n\nThis project provides a tool for generating CycloneDX bill-of-material JSON documents for C/C++ projects using _Conan v1_.\n\nThe BOM will contain an aggregate of all your current project's dependencies, including a full dependency graph.\n\nCycloneDX is a lightweight BOM specification that is easily created, human-readable, and simple to parse.\n\n_Please note: This tool has only been tested with Conan v1.14 so far._\n\n## Installation\n\nInstall this from [PyPi.org][link_pypi] using your preferred Python package manager.\n\nExample using `pip`:\n\n```shell\npip install cyclonedx-conan\n```\n\nExample using `poetry`:\n\n```shell\npoetry add cyclonedx-conan\n```\n\n## Usage\n\nOnce installed, you can access the full documentation by running `--help`:\n\nThe command line options are aligned to the standard Conan options.\n\n```shellSession\n$ cyclonedx-conan --help\nusage: cyclonedx-conan [-h] [-if INSTALL_FOLDER] [-db [DRY_BUILD]]\n                       [--output FILE_PATH] [--exclude-dev]\n                       [-b [BUILD]] [-r REMOTE] [-u]\n                       [-l LOCKFILE] [--lockfile-out LOCKFILE_OUT]\n                       [-e ENV_HOST] [-e:b ENV_BUILD] [-e:h ENV_HOST]\n                       [-o OPTIONS_HOST] [-o:b OPTIONS_BUILD]\n                       [-o:h OPTIONS_HOST] [-pr PROFILE_HOST]\n                       [-pr:b PROFILE_BUILD] [-pr:h PROFILE_HOST]\n                       [-s SETTINGS_HOST] [-s:b SETTINGS_BUILD]\n                       [-s:h SETTINGS_HOST] [-c CONF_HOST] [-c:b CONF_BUILD]\n                       [-c:h CONF_HOST]\n                       path_or_reference\n\nCycloneDX SBOM Generator\n\npositional arguments:\n  path_or_reference     Path to a folder containing a recipe (conanfile.py or conanfile.txt) or to a recipe file.\n                        e.g., ./my_project/conanfile.txt. It could also be a reference\n\noptions:\n  -h, --help            show this help message and exit\n  -if INSTALL_FOLDER, --install-folder INSTALL_FOLDER\n                        local folder containing the conaninfo.txt and conanbuildinfo.txt files (from a previous conan install execution).\n                        Defaulted to current folder, unless --profile, -s or -o is specified.\n                        If you specify both install-folder and any setting/option it will raise an error.\n  -db [DRY_BUILD], --dry-build [DRY_BUILD]\n                        Apply the --build argument to output the information, as it would be done by the install command\n  --output FILE_PATH\n                        Output file path for your SBOM (set to '-' to output to STDOUT)\n  --exclude-dev         Exclude development dependencies from the BOM\n  -b [BUILD], --build [BUILD]\n                        Given a build policy, return an ordered list of packages that would be built from sources during the install command\n  -r REMOTE, --remote REMOTE\n                        Look in the specified remote server\n  -u, --update          Will check if updates of the dependencies exist in the remotes \n                        (a new version that satisfies a version range, a new revision or a newer recipe if not using revisions).\n  -l LOCKFILE, --lockfile LOCKFILE\n                        Path to a lockfile\n  --lockfile-out LOCKFILE_OUT\n                        Filename of the updated lockfile\n  -e ENV_HOST, --env ENV_HOST\n                        Environment variables that will be set during the package build (host machine).\n                        e.g.: -e CXX=/usr/bin/clang++\n  -e:b ENV_BUILD, --env:build ENV_BUILD\n                        Environment variables that will be set during the package build (build machine).\n                        e.g.: -e:b CXX=/usr/bin/clang++\n  -e:h ENV_HOST, --env:host ENV_HOST\n                        Environment variables that will be set during the package build (host machine).\n                        e.g.: -e:h CXX=/usr/bin/clang++\n  -o OPTIONS_HOST, --options OPTIONS_HOST\n                        Define options values (host machine),\n                        e.g.: -o Pkg:with_qt=true\n  -o:b OPTIONS_BUILD, --options:build OPTIONS_BUILD\n                        Define options values (build machine),\n                        e.g.: -o:b Pkg:with_qt=true\n  -o:h OPTIONS_HOST, --options:host OPTIONS_HOST\n                        Define options values (host machine),\n                        e.g.: -o:h Pkg:with_qt=true\n  -pr PROFILE_HOST, --profile PROFILE_HOST\n                        Apply the specified profile to the host machine\n  -pr:b PROFILE_BUILD, --profile:build PROFILE_BUILD\n                        Apply the specified profile to the build machine\n  -pr:h PROFILE_HOST, --profile:host PROFILE_HOST\n                        Apply the specified profile to the host machine\n  -s SETTINGS_HOST, --settings SETTINGS_HOST\n                        Settings to build the package, overwriting the defaults (host machine).\n                        e.g.: -s compiler=gcc\n  -s:b SETTINGS_BUILD, --settings:build SETTINGS_BUILD\n                        Settings to build the package, overwriting the defaults (build machine).\n                        e.g.: -s:b compiler=gcc\n  -s:h SETTINGS_HOST, --settings:host SETTINGS_HOST\n                        Settings to build the package, overwriting the defaults (host machine).\n                        e.g.: -s:h compiler=gcc\n  -c CONF_HOST, --conf CONF_HOST\n                        Configuration to build the package, overwriting the defaults (host machine).\n                        e.g.: -c tools.cmake.cmaketoolchain:generator=Xcode\n  -c:b CONF_BUILD, --conf:build CONF_BUILD\n                        Configuration to build the package, overwriting the defaults (build machine).\n                        e.g.: -c:b tools.cmake.cmaketoolchain:generator=Xcode\n  -c:h CONF_HOST, --conf:host CONF_HOST\n                        Configuration to build the package, overwriting the defaults (host machine).\n                        e.g.: -c:h tools.cmake.cmaketoolchain:generator=Xcode\n```\n\n## Python Support\n\nWe endeavour to support all functionality for all [current actively supported Python versions](https://www.python.org/downloads/).\nHowever, some features may not be possible/present in older Python versions due to their lack of support.\n\n## Contributing\n\nPull requests are welcome. But please read the\n[CycloneDX contributing guidelines](https://github.com/CycloneDX/.github/blob/master/CONTRIBUTING.md) first.\n\nIt is generally expected that pull requests will include relevant tests.\nTests are automatically run on Windows, MacOS and Linux for every pull request.\n\nThanks to [Gitpod](https://gitpod.io/) there are two really easy ways of\ncreating a ready to go development environment with VS Code.\n\nYou can open a Gitpod hosted development environment in your browser. Or you\ncan start a local instance of the OpenVSCode Server by running the\n`localdev.sh` script (requires Docker).\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/CycloneDX/cyclonedx-conan)\n\n## Copyright \u0026 License\n\nCycloneDX BOM is Copyright (c) OWASP Foundation. All Rights Reserved.  \nPermission to modify and redistribute is granted under the terms of the Apache 2.0 license.  \nSee the [LICENSE][license_file] file for the full license.\n\n[license_file]: https://github.com/CycloneDX/cyclonedx-conan/blob/main/LICENSE\n[chaneglog_file]: https://github.com/CycloneDX/cyclonedx-conan/blob/main/CHANGELOG.md\n\n[link_gh-workflow-test]: https://github.com/CycloneDX/cyclonedx-conan/actions/workflows/ci.yml?query=branch%3Amain\n[link_pypi]: https://pypi.org/project/cyclonedx-conan/\n[link_website]: https://cyclonedx.org/\n[link_slack]: https://cyclonedx.org/slack/invite\n[link_discussion]: https://groups.io/g/CycloneDX\n[link_twitter]: https://twitter.com/CycloneDX_Spec\n\n[shield_gh-workflow-test]: https://img.shields.io/github/actions/workflow/status/CycloneDX/cyclonedx-conan/ci.yml?branch=main\u0026logo=GitHub\u0026logoColor=white \"build\"\n[shield_pypi-version]: https://img.shields.io/pypi/v/cyclonedx-conan?logo=pypi\u0026logoColor=white\u0026label=PyPI \"PyPI\"\n[shield_license]: https://img.shields.io/github/license/CycloneDX/cyclonedx-conan?logo=open%20source%20initiative\u0026logoColor=white \"license\"\n[shield_website]: https://img.shields.io/badge/https://-cyclonedx.org-blue.svg \"homepage\"\n[shield_slack]: https://img.shields.io/badge/slack-join-blue?logo=Slack\u0026logoColor=white \"slack join\"\n[shield_groups]: https://img.shields.io/badge/discussion-groups.io-blue.svg \"groups discussion\"\n[shield_twitter-follow]: https://img.shields.io/badge/Twitter-follow-blue?logo=Twitter\u0026logoColor=white \"twitter follow\"\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitro%2Fcyclonedx-conan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitro%2Fcyclonedx-conan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitro%2Fcyclonedx-conan/lists"}