intel / cve-bin-tool

The CVE Binary Tool helps you determine if your system includes known vulnerabilities. You can scan binaries for over 200 common, vulnerable components (openssl, libpng, libxml2, expat and others), or if you know the components used, you can get a list of known vulnerabilities associated with an SBOM or a list of components and versions.
https://cve-bin-tool.readthedocs.io/en/latest/
GNU General Public License v3.0
1.21k stars 460 forks source link

docs: write a how-to guide for sbom generation #2923

Closed terriko closed 1 year ago

terriko commented 1 year ago

We recently added the ability to do sbom generation in cve-bin-tool. It's not super fancy yet, but it might be nice to have a guide for how to use it with examples and tips.

Edit: this was an issue flagged for hackathon participants that never got claimed; it's open to non-hackathon contributors now.

Swarnlataaa commented 1 year ago

Please assign me this issue I want to contribute.

terriko commented 1 year ago

@Swarnlataaa have fun! Let us know if you have any questions.

terriko commented 1 year ago

This wasn't completed in earlier hackathons so I'm putting it up for hacktoberfest folk to try!

terriko commented 1 year ago

Short tips for new contributors:

Claiming issues:

kishan3 commented 1 year ago

Hi @terriko can you please provide context it like where we can add the guide and if there is any specific format for it? Thanks!

terriko commented 1 year ago

@kishan3 We've got a bunch of how-to guides in this directory if you want to see how the others are done: https://github.com/intel/cve-bin-tool/tree/main/doc/how_to_guides

The format would be markdown (although we can handle RestructuredText too, most of our stuff is in markdown) and you can put it in that same how_to_guides directory. You probably want to add it to the index (https://github.com/intel/cve-bin-tool/blob/main/doc/how_to_guides/index.rst) so that it'll get linked correctly when the docs are built.

kishan3 commented 1 year ago

Thanks @terriko there is already doc https://github.com/intel/cve-bin-tool/blob/main/doc/how_to_guides/sbom_generation.md Not sure what we need to add to it.

terriko commented 1 year ago

Hm, maybe this should have been closed already? But since it wasn't, let's get the sbom creation guide linked into the user manual (doc/MANUAL.md) and potentially the README.md file so it's easier to find, and then we'll declare this closed.

terriko commented 1 year ago

@kishan3 and if you're looking for something else docs-y to do, there's also an open issue for a triage how-to: https://github.com/intel/cve-bin-tool/issues/3219

terriko commented 1 year ago

Okay, going to close this one as good enough for now.

kishan3 commented 12 months ago

Thanks, @terriko unfortunately I couldn't check the other one.