{"id":39118268,"url":"https://github.com/ozonru/cyclonedx-go","last_synced_at":"2026-01-17T20:23:12.476Z","repository":{"id":57513588,"uuid":"237161189","full_name":"ozonru/cyclonedx-go","owner":"ozonru","description":"Creates CycloneDX Software Bill-of-Materials (SBOM) from Go projects. So you can use it with DependencyTrack to monitor security issues in 3rd party modules.","archived":false,"fork":false,"pushed_at":"2020-02-26T09:50:42.000Z","size":32,"stargazers_count":21,"open_issues_count":4,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-06-20T05:06:43.970Z","etag":null,"topics":["bill-of-materials","bom","component-analysis","cyclonedx","sbom","security","security-tools","software-composition-analysis"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ozonru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-30T07:29:09.000Z","updated_at":"2024-06-19T17:58:53.000Z","dependencies_parsed_at":"2022-08-31T22:01:42.868Z","dependency_job_id":null,"html_url":"https://github.com/ozonru/cyclonedx-go","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ozonru/cyclonedx-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozonru%2Fcyclonedx-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozonru%2Fcyclonedx-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozonru%2Fcyclonedx-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozonru%2Fcyclonedx-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozonru","download_url":"https://codeload.github.com/ozonru/cyclonedx-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozonru%2Fcyclonedx-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28517531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: 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":["bill-of-materials","bom","component-analysis","cyclonedx","sbom","security","security-tools","software-composition-analysis"],"created_at":"2026-01-17T20:23:11.788Z","updated_at":"2026-01-17T20:23:12.469Z","avatar_url":"https://github.com/ozonru.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cyclonedx-go\n\nThe CycloneDX module for Go creates a valid CycloneDX bill-of-material document containing an aggregate of all project dependencies. [CycloneDX](https://cyclonedx.org) is a lightweight BOM specification that is easily created, human readable, and simple to parse.\n\n## Requirements\n\n* Go \u003e= 1.11\n* :warning: It works for projects with [Modules](https://blog.golang.org/using-go-modules) feauture enabled\n\n## Install\n\n### Local Installation\n\n```bash\ngo get github.com/ozonru/cyclonedx-go/cmd/cyclonedx-go\n```\n\n## Usage\n\nNavigate to the project directory and run `cyclonedx-go`. Inside it will read output from `go list -json -m all` command and print result BOM. You can specify destation for result file with option `-o`.\n\n### Sample output\n\n```bash\n$ cyclonedx-go \n```\n```xml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cbom xmlns=\"http://cyclonedx.org/schema/bom/1.1\" version=\"1\" serialNumber=\"urn:uuid:3bb55f5c-80ca-49d7-a68f-0180345a7208\"\u003e\n   \u003ccomponents\u003e\n     \u003ccomponent type=\"library\"\u003e\n       \u003cname\u003egithub.com/google/uuid\u003c/name\u003e\n       \u003cversion\u003e1.1.1\u003c/version\u003e\n       \u003cpurl\u003epkg:golang/github.com/google/uuid@1.1.1\u003c/purl\u003e\n     \u003c/component\u003e\n     \u003ccomponent type=\"library\"\u003e\n       \u003cname\u003egithub.com/package-url/packageurl-go\u003c/name\u003e\n       \u003cversion\u003e0.1.0\u003c/version\u003e\n       \u003cpurl\u003epkg:golang/github.com/package-url/packageurl-go@0.1.0\u003c/purl\u003e\n     \u003c/component\u003e\n   \u003c/components\u003e\n \u003c/bom\u003e\n```\n\n## License\n\nPermission to modify and redistribute is granted under the terms of the GPL-3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozonru%2Fcyclonedx-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozonru%2Fcyclonedx-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozonru%2Fcyclonedx-go/lists"}