Comments (7)
Hi @wujunhuge, thanks for the report. Unfortunately, most of the fields in the report were not fill out by you, making it hard for us to reproduce what the root cause of you problem is.
Apparently, the, repository
field is missing the ORT result JSON file that you are trying to load. As the ORT analyzer definitely writes this mandatory field, it looks like the ORT result JSON file has been tampered with. Can you share how this is file was created exactly?
from ort.
it looks like the ORT result JSON file has been tampered with.
Or actually, judging from the file name name bom.json
in your title, it looks like the input is not an ORT result file at all. Basically, the input to the ort report
command is the file that gets written by the ort analyze
command. Also see the tutorial.
from ort.
Thank you for your reply. I am trying to use tools to analyze a C++project and convert it into a CycloneDx format BOM. JSON. However, after reading the tutorial, I feel a bit confused. Do I need to add any configurations when analyzing?
from ort.
Do I need to add any configurations when analyzing?
That depends a bit on which, if any, package manager your C++ project is using. Can you share some details on that?
In any case, that does not explain why the repository
field seems to be missing in the ORT result file. Can you please also share the exact command line you're using to run ort analyze
?
from ort.
Can my C++project be scanned without a package manager like Conan?
The command I am using now is: ort -- info analyze - i- o . -f JSON
from ort.
Can my C++project be scanned without a package manager like Conan?
It can be scanned in the meaning of running ort scan
with the analyzer input, but none of its dependencies will be recognized or scanned. Only what's contained in the directory / repository ort analyze
was given as the input will be scanned.
from ort.
And please note that ort analyze
currently expects the input directory to be under version control. If that's not the case for you, you can trick ORT by creating a temporary Git working tree directory in your input directory by running git init
, git add .
, git commit -m "Dummy commit for ORT"
first.
from ort.
Related Issues (20)
- Bazel: Change the identification of registry URLs HOT 3
- Bazel: Multiple registry URLs should be supported
- Bazel: It should be possible to disable the disk cache HOT 8
- Allow "non-repository" input to the analyzer HOT 8
- Make vulnerability icons better distinguishable in web app HOT 1
- Bazel: Support `archive_override` HOT 16
- Bazel: Support `local_path_override`
- Bazel: disable Bazelisk optional wrapper script when fetching the version of Bazel HOT 4
- OutOfMemoryError while generating 'SpdxDocument' report HOT 3
- Migrate the Opossum reporter from Jackson to kotlinx-serialization (KxS) HOT 3
- Add a JTE reporter
- Add Zeiss to `ADOPTERS.md`
- Curations for direct conan dependency are not being applied (but for transitive dependencies they are working) HOT 2
- Please consider adopting OpenSSF Scorecard HOT 4
- CycloneDX SBOM files (XML,JSON) are empty for packages with empty licenses HOT 8
- config.yml is recognized but not used HOT 4
- Add support for Cargo's virtual workspaces
- Drop support for several old versions of ScanCode HOT 3
- Separate the data model storage format from the API that is supposed to be used
- Replacement for `git://` URLs does not seem to be working for submodules
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 ort.