GithubHelp home page GithubHelp logo

ozonru / cyclonedx-go Goto Github PK

View Code? Open in Web Editor NEW
20.0 9.0 3.0 32 KB

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.

License: GNU General Public License v3.0

Go 100.00%
security security-tools component-analysis software-composition-analysis bill-of-materials cyclonedx bom sbom

cyclonedx-go's People

Contributors

oxdef avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

qkos hecg119

cyclonedx-go's Issues

Panic on not JSON output from go list modules

Steps to reproduce

  1. Use private repository for internal modules
  2. Try to run cyclonedx-go

Actual result

$ cyclonedx-go
panic: exit status 1
goroutine 1 [running]:
github.com/ozonru/cyclonedx-go/internal/bom.Generate(0x0, 0x0, 0x590de0, 0xc0000880e0)
	/go/src/github.com/ozonru/cyclonedx-go/internal/bom/bom.go:48 +0x75e
main.main()
	/go/src/github.com/ozonru/cyclonedx-go/cmd/cyclonedx-go/main.go:37 +0x17c

Expected result

Informative error message

Additional information

Sample output

go list -json -m all
go: [email protected]: reading xxx/go.mod at revision v0.15.0: unknown revision v0.15.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.