-
Notifications
You must be signed in to change notification settings - Fork 240
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
jf audit - Maven Multi-module not detected correctly #2019
Comments
Sorry for tagging, @sverdlov93, but I was wondering if you could take a look at this, I haven't heard back and it is preventing us from updating to the latest version, we just need to confirm whether it is intentional or a bug to take the appropriate measure (wait on a fix vs change our code ingesting the format), Thanks in advance. |
Updated the ticket with the exact version where it started to happen, In version 2.36.1, due to this: jfrog/jfrog-cli-core#736, this was labeled as an "Improvement" (probably should've been labeled as a breaking change not a revision...). It still doesn't recognize the multi-module maven project as a maven project, but instead as a "Generic", it also doesn't recognize the name of the project and instead shows "Root". Still true in version 2.42.1 |
Hi @marcandre-larochelle-bell, we apologize for the inconvenience caused by this update and for the delayed response. We have changed how we build the graph to significantly improve performance. Now, the graph has an additional level of root and is of type “Generic” to accommodate multiple technologies. |
Hi @omerzi, it seems like it isn't just an additional json level, but rather that all vulnerabilities / licenses were also merged together (and cannot be found under the root node per module). It seems like the "package_type" has entirely disappeared from the json structure as well. It is less convenient to know what are the vulnerabilities of one module as it was entirely flipped up-side down, now it is The simple-json format is definitely not what we are looking for, we do use and parse all the information found in the json format. What I can suggest:
I've started looking into switching to the SARIF format as it is more standard to avoid this kind of issue in the future, however it is missing almost every fields the Json format counterpart has (you can take a look at #2063). Do you know if it is being worked on currently? This is something we are really looking forward to be using, but as is (with all the missing information), it is unusable. Note that while it is more standard, it uses Thanks in advance! |
Hello @marcandre-larochelle-bell, We encourage you to try the outputs in both Additionally, please feel free to let us know if you encounter any issues or have specific feature requests. Your feedback is invaluable to us as we work to enhance our offerings and address user needs. |
Describe the bug
I'm not sure if this is intentional or not, but the JSON output from 2.34.0 to 2.36.1 changed at some point and doesn't display the correct
package_type
anymore (and different structure).Current behavior
Single component named "root" with "Generic" as the package type.
What it used to be:
Multiple components with their module name and "Maven" as their package type.
Reproduction steps
Expected behavior
Either one of:
scan_id
with thecomponent_id
matching the name of the root project andpackage_type
maven.scan_id
with each modules withpackage_type
maven.JFrog CLI version
2.36.1
Operating system type and version
Docker
JFrog Artifactory version
No response
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: