Fix(server): relationship field is missing on pacakge metadata on client/server #8869
Closed
sagic-orca
started this conversation in
Bugs
Replies: 1 comment
-
|
Hello @sagic-orca Created #8871 Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Missing relationship Field in Package Result
The relationship field is absent in the package result when running Trivy in client-server mode.
Reference: relevant code
Observed Behavior:
In client-server mode, the package information retrieved lacks the relationship field:
Expected Behavior:
In regular mode (non-client-server), the package information includes the relationship field:
Impact:
This discrepancy leads to inconsistent package information between modes, which may affect dependency resolution and analysis.
Desired Behavior
The relationship field should be retrieved in a client-server mode
Actual Behavior
Trivy in client/server mode doesn't have the relationship field in the output
Reproduction Steps
trivy fs --scanners vuln . --list-all-pkgs -f json -o vulns.json --no-progress --server http://127.0.0.1:6400 --token xxx --token-header yyyTarget
Filesystem
Scanner
Vulnerability
Output Format
JSON
Mode
Client/Server
Debug Output
Operating System
macOS Sequoia
Version
Checklist
trivy clean --allBeta Was this translation helpful? Give feedback.
All reactions