sbom-tool icon indicating copy to clipboard operation
sbom-tool copied to clipboard

Documentation error and SBOM format error

Open daneshbadlani opened this issue 2 years ago • 6 comments

Mark Russinovich (Azure CTO) tried the tool and found a minor doc bug where “sbom-tool” is missing in this sample command line:

image001

He also faced the following error when trying to run the guidance:

image002

daneshbadlani avatar Aug 26 '22 16:08 daneshbadlani

For the documentation bug, I suggest we add "sbom-tool" prior to the word generate. I understand that how you invoke "sbom-tool" depends on what environment you are running the tool, so perhaps it would make sense to share a couple different example commands based on different environments?

For the following error message, he is not using the -pn flag, which is required. I tried reproducing this error, but the error that I got was slightly different: image

adriandiglio avatar Aug 29 '22 15:08 adriandiglio

I agree with @adriandiglio , let's add the command needed to execute the tool like other places in the documentation. For the second issue, I've seen it when some binaries are missing.

edgarrs avatar Aug 29 '22 15:08 edgarrs

I confirmed that it is an issue related to our release, I was able to repro it locally. We just moved to .NET 6 which changed the way we need to publish self-contained apps compared to .NET core 3.1, we used before. We are currently investigating how to make our self-contained app work with .NET 6 and in the meantime we removed the affected release in favor of the last working version.

edgarrs avatar Aug 29 '22 19:08 edgarrs

Fixes for both issues are checked in we are doing additional testing for the new release

edgarrs avatar Aug 30 '22 17:08 edgarrs

The new release has been deployed. Please verify by running v0.2.1

aasim avatar Aug 30 '22 20:08 aasim

@daneshbadlani can you please try to repro the issue with the new release?

edgarrs avatar Sep 28 '22 15:09 edgarrs

@daneshbadlani , were you able to repro this issue?

edgarrs avatar Oct 26 '22 01:10 edgarrs

Danesh was not able to repro the issue anymore

edgarrs avatar Nov 08 '22 18:11 edgarrs