Comments (12)
Yes, I would recommend uninstalling the old version.
from sbom-tool.
Nope, this issue was just triaged by the SBOM team and we made that note for when we get to fixing this in the future. If you want to help out and contribute that change feel free, otherwise we have this in our backlog to fix.
from sbom-tool.
Hi @rfalanga, it appears that the version of the tool that is installed by default by winget and our docs are out of sync. When I tried to repro, winget installed version 1.5.2
, but our docs in this repo are reflective of the current version, version 2.2.4
. I have renamed this issue to track updating the version of the tool that winget points to.
In the meantime, you can either run sbom -h
to see the command line arguments supported by the version of the tool that is installed by winget, or you can directly install a newer version of the tool from the releases page
from sbom-tool.
Hi @sfoslund, I've got to admit I hadn't thought of that possibility.
So, should I uninstall the version that WinGet installs, before getting it from the releases page?
from sbom-tool.
@sfoslund I've uninstalled the WinGet version. Then downloaded the Win64 version from the release page. I ran it, twice. It just flashes up briefly, then closes immediately. After that I brought up a new instance of PowerShell, but neither the sbom
not the sbom-tool
commands were recognized.
Am I doing something wrong?
from sbom-tool.
When you download the exe directly it is not added to your PATH automatically, so you'll need to either run the .exe
file directly by navigating to the dir where you downloaded it to and running .\sbom-tool-win-x64.exe
or adding the tool to your PATH manually. There's lots of direction online about how to add a exe to your PATH, including this stackoverflow post.
from sbom-tool.
i believe "-o" is a command for the validate command, not generate. "-b" is a directory where you can have the sbom written to.
This is the command i use to generate sboms.
sbom-tool generate -b ./ -bc ../sbomqs -nsb https://interlynk.io -pn lynk-api -pv v1.0.0 -ps interlynk.io -D true -pm true -cd "--DirectoryExclusionList **/scripts/** **/st
orage/** **/bin/**"
from sbom-tool.
Perhaps you're right, @riteshnoronha. The documentation I was looking at clearly said that -o
was for output path. But according to @sfoslund, the version of sbom-tool I was trying to use, doesn't use that syntax.
BTW, I tried to find the sbom-tool where it was installed but haven't been able to find it. I think it is buried deep within the LocalData
area on my Windows 11 machine.
from sbom-tool.
Perhaps you're right, @riteshnoronha. The documentation I was looking at clearly said that -o
was for output path. But according to @sfoslund, the version of sbom-tool I was trying to use, doesn't use that syntax.
BTW, I tried to find the sbom-tool where it was installed, but haven't been able to find it. I think it is buried deep within the LocalData
area on my Windows 11 machine.
from sbom-tool.
But according to @sfoslund, the version of sbom-tool I was trying to use, doesn't use that syntax.
I didn't look closely at the version of the tool that winget installed, so it's possible that it does use the -o
syntax, I'm not sure, you would have to check the --help
output.
But for the more recent versions, it does look like @riteshnoronha is correct and the -o
syntax corresponds to the validate command, please check the arguments doc here and let me know if there's somewhere else you were looking that needs to be updated.
from sbom-tool.
It appears that this PR added the sbom-tool to winget, so to fix this item we would need to submit another PR: microsoft/winget-pkgs#118723
from sbom-tool.
Sarah, are you asking me to create a PC to fix this item that involves WinGet?
from sbom-tool.
Related Issues (20)
- [Discussion] CycloneDX
- [Discussion] Internet Access Required?
- [Discussion] Types of project files supported by sbom-tool
- [Discussion] Error while generating SBOM
- [Discussion] How to make sbom tool generate build aware sbom for a gradle project
- [Discussion] Welcome to sbom-tool Discussions!
- [Discussion] Is there any intention of adding sample instructions on how to use this tool in your CI/CD on bitbucket?
- [Discussion] License fields
- unexpected input argument will prompt --help but exit_code still be 0 HOT 2
- Improve error when BuildDropPath is a file HOT 1
- Handle filename collisions in validation HOT 1
- SBOM package detector warning. HOT 1
- Bug in `-mi` option and invalid SBOMConfig HOT 1
- SBOM Validation - couldn't find a sign validator for the current OS
- Does this work on Visual Basic 6.0 app? HOT 4
- SPDX version 2.3 support HOT 5
- 2.2.5 release was not completed HOT 2
- sbom-tools dosn't run on kali linux HOT 1
- ","licenseDeclared":"MIT","filesAnalyzed":false,"supplier":"NOASSERTION","externalRefs":[{"referenceCategory":"PACKAGE-MANAGER","referenceType":"purl","referenceLocator":"pkg:github/Satanplay/Satellite-servillance-"}]}],"relationships":[]}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sbom-tool.