Add unit tests for SBOM ingestion and transformation
Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled

- Implement `SbomIngestServiceCollectionExtensionsTests` to verify the SBOM ingestion pipeline exports snapshots correctly.
- Create `SbomIngestTransformerTests` to ensure the transformation produces expected nodes and edges, including deduplication of license nodes and normalization of timestamps.
- Add `SbomSnapshotExporterTests` to test the export functionality for manifest, adjacency, nodes, and edges.
- Introduce `VexOverlayTransformerTests` to validate the transformation of VEX nodes and edges.
- Set up project file for the test project with necessary dependencies and configurations.
- Include JSON fixture files for testing purposes.
This commit is contained in:
master
2025-11-04 07:49:39 +02:00
parent f72c5c513a
commit 2eb6852d34
491 changed files with 39445 additions and 3917 deletions

View File

@@ -0,0 +1,13 @@
{
"generatedAt": "2025-11-03T21:56:23Z",
"artifacts": [
{
"buildId": "0000000000000000000000000000000000000000",
"platform": "linux/amd64",
"kind": "elf-debug",
"debugPath": "debug/dummy.debug",
"sha256": "eff2b4e47e7a104171a2be80d6d4a5bce2a13dc33f382e90781a531aa926599a",
"size": 26
}
]
}

View File

@@ -0,0 +1 @@
d924d25e7b028105a1c7d16cb1d82955edf103a48571a253b474d8ee30a1b577 debug-manifest.json

View File

@@ -0,0 +1 @@
portable-debug-placeholder

19
out/release/release.json Normal file
View File

@@ -0,0 +1,19 @@
{
"version": "2025.11.03-test",
"channel": "airgap",
"releaseDate": "2025-11-03",
"gitSha": "0000000000000000000000000000000000000000",
"components": [],
"charts": [],
"compose": [],
"debugStore": {
"manifest": "debug/debug-manifest.json",
"sha256": "d924d25e7b028105a1c7d16cb1d82955edf103a48571a253b474d8ee30a1b577",
"size": 340,
"generatedAt": "2025-11-03T21:56:23Z",
"artifactCount": 1
},
"checksums": {
"sha256": "72473433eb9cee20e848dd52212d10a2295158359d47c35b823d28de09858f59"
}
}

View File

@@ -0,0 +1 @@
3ee54a8f242b4a52a253e3badb4bf44d6e6ccc54c1c9028268860b8ea6628e3c release.json

18
out/release/release.yaml Normal file
View File

@@ -0,0 +1,18 @@
version: "2025.11.03-test"
channel: airgap
releaseDate: "2025-11-03"
gitSha: 0000000000000000000000000000000000000000
components:
[]
charts:
[]
compose:
[]
debugStore:
manifest: "debug/debug-manifest.json"
sha256: d924d25e7b028105a1c7d16cb1d82955edf103a48571a253b474d8ee30a1b577
size: 340
generatedAt: "2025-11-03T21:56:23Z"
artifactCount: 1
checksums:
sha256: 72473433eb9cee20e848dd52212d10a2295158359d47c35b823d28de09858f59

View File

@@ -0,0 +1 @@
985892ffd6cbebb6278fdaed346711073c533c7e26d4076f1c7f6273fe0678fa release.yaml