Skip to content

Commit 4a6ef24

Browse files
committed
feat(ISV-5857): SBOM merging helper functions
Ported merger helping functions with few modifications of code style from https://github.com/konflux-ci/build-tasks-dockerfiles/tree/main/sbom-utility-scripts/scripts/merge-sboms-script Signed-off-by: Jakub Gryc <jgryc@redhat.com>
1 parent 5ab1f7b commit 4a6ef24

20 files changed

Lines changed: 84826 additions & 0 deletions

src/mobster/utils/__init__.py

Whitespace-only changes.

src/mobster/utils/merge_sboms.py

Lines changed: 754 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/__init__.py

Whitespace-only changes.

tests/utils/test_data/cyclonedx/cachi2.bom.json

Lines changed: 3132 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/merged.bom.json

Lines changed: 4614 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/syft-sboms/gomod-pandemonium.bom.json

Lines changed: 1058 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/syft-sboms/npm-cachi2-smoketest.bom.json

Lines changed: 3531 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/syft-sboms/pip-e2e-test.bom.json

Lines changed: 603 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/syft-sboms/ubi-micro.bom.json

Lines changed: 1529 additions & 0 deletions
Large diffs are not rendered by default.

tests/utils/test_data/cyclonedx/syft.merged-by-syft.bom.json

Lines changed: 8668 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)