-
Notifications
You must be signed in to change notification settings - Fork 61
Add bom document todot
#537
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
base: main
Are you sure you want to change the base?
Conversation
Zeb/find
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: zeb33n The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Hi @zeb33n. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Hi, Is there anything i can do to move this forwards? thanks. |
e5859cd to
67a79e2
Compare
|
hey @justaugustus @puerco If you have the time, I would appreciate your feedback here please. |
67a79e2 to
d33a85c
Compare
d33a85c to
af05818
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds the
todotsub command forbom document. This command dumps the contents of the provided spdx file as a string of dotlang to stdout. This output can then be piped into a file for visualization by graphvis or other related programs. This overcomes the visualization limitations ofbom document outlinedetailed here #530.todotcomes with a few cli arguments to help filter large SBOMs into a more digestible graph.--findfinds the reverse dependencies of a given package--subgraphpromotes a node with the given SPDXID to root ignoring all nodes that aren't descendants of the given node.--depththe recursive depth.for example the sbom.
Will produce the dot
bom document todot file.spdx > file.dotwhich when rendered with graphviz produces the following
.pngdot -Tpng file.dot > file.pngWhich issue(s) this PR fixes:
Fixes #530
Special notes for your reviewer:
Does this PR introduce a user-facing change?