Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't generate an SBOM for directories containing a space #72

Closed
henning-krause opened this issue Jul 22, 2022 · 0 comments · Fixed by #124
Closed

Can't generate an SBOM for directories containing a space #72

henning-krause opened this issue Jul 22, 2022 · 0 comments · Fixed by #124
Assignees
Labels
z-aa-triaged (Deprecated label) This issue has been triaged by AA z-bug (Deprecated label) Something isn't working z-P1 (Deprecated label) Priority 1 on bugs

Comments

@henning-krause
Copy link

I execute this command on Windows (doesn't matter if I use cmd or PowerShell):

C:\Temp\sbom-tool.exe generate -b "C:\src\core\Build\Service with spaces" -bc "C:\src\core\Solutions\service with spaces\src\" -pn "Foo bar services" -pv "1.0.0.0" -nsb "https://example.com"

The tool runs and creates a manifest, however no depedencies are found.

Program output:

[INFO] Log file: C:\Users\username\AppData\Local\Temp\GovCompDisc_Log_20220722135038.log
[INFO] Run correlation id: 77b85f03-caa7-47b4-bc71-94e9e4b003c1

[INFO] Attempting to load default detectors
[INFO] 19 detectors were found in Microsoft.ComponentDetection.Detectors

[WARN] Provided search path C:\Users\username\AppData\Local\Temp\.net\sbom-tool\lpvnvva1.mst\Plugins does not exist.


[INFO] Finding components...
[INFO] No instructions received to scan docker images.
[ERROR] Root directory doesn't exist: C:\src\core\Solutions\service

If I run the tool on a directory without spaces, everything works fine.

@edgarrs edgarrs added z-bug (Deprecated label) Something isn't working z-P1 (Deprecated label) Priority 1 on bugs z-aa-triaged (Deprecated label) This issue has been triaged by AA labels Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
z-aa-triaged (Deprecated label) This issue has been triaged by AA z-bug (Deprecated label) Something isn't working z-P1 (Deprecated label) Priority 1 on bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants