Commit 3132c89
authored
feat: include path dependencies in SBOM with repository_url=local qua… (#384)
…lifier
## Description
Path dependencies (source == null in cargo metadata) are now included in
the generated SBOM with a repository_url=local qualifier on their PURL,
e.g. pkg:cargo/[email protected]?repository_url=local. This lets the backend
distinguish local crates from registry packages and skip vulnerability
checks for them, while still preserving the full dependency tree in the
SBOM.
**Related issue (if any):** fixes #issue_number_goes_here
## Checklist
- [x] I have followed this repository's contributing guidelines.
- [x] I will adhere to the project's code of conduct.
## Additional information
> Anything else?1 parent 0fef32a commit 3132c89
File tree
3 files changed
+33
-11
lines changed- src/main/java/io/github/guacsec/trustifyda/providers
- rust/model
3 files changed
+33
-11
lines changedLines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
288 | | - | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
336 | | - | |
| 335 | + | |
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
| |||
528 | 527 | | |
529 | 528 | | |
530 | 529 | | |
531 | | - | |
532 | | - | |
| 530 | + | |
533 | 531 | | |
534 | 532 | | |
535 | 533 | | |
| |||
594 | 592 | | |
595 | 593 | | |
596 | 594 | | |
597 | | - | |
598 | | - | |
| 595 | + | |
599 | 596 | | |
600 | 597 | | |
601 | 598 | | |
| |||
641 | 638 | | |
642 | 639 | | |
643 | 640 | | |
644 | | - | |
| 641 | + | |
645 | 642 | | |
646 | 643 | | |
647 | 644 | | |
| |||
821 | 818 | | |
822 | 819 | | |
823 | 820 | | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
824 | 833 | | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments