Skip to content

Commit 5987bd6

Browse files
author
Paulinhx
committed
Inject simulated IOC hash into SBOM for OTX test
1 parent 1ccf1fd commit 5987bd6

1 file changed

Lines changed: 9 additions & 33 deletions

File tree

sbom/sbom.json

Lines changed: 9 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,12 @@
11
{
2-
"artifacts": [
3-
{
4-
"name": "eicar-test-file",
5-
"version": "1.0.0",
6-
"type": "file",
7-
"locations": [ { "path": "/eicar.txt" } ],
8-
"licenses": ["Test-License"],
9-
"cpes": [],
10-
"purl": "pkg:file/eicar-test@1.0.0",
11-
"hashes": {
12-
"SHA256": "44d88612fea8a8f36de82e1278abb02f"
13-
}
14-
}
15-
],
16-
"artifactRelationships": [],
17-
"source": {
18-
"id": "a172cedc...",
19-
"name": "app/",
20-
"version": "",
21-
"type": "directory",
22-
"metadata": {
23-
"path": "app/"
24-
}
25-
},
26-
"distro": {},
27-
"descriptor": {
28-
"name": "syft",
29-
"version": "1.25.1",
30-
"configuration": { ... }
31-
},
32-
"schema": {
33-
"version": "16.0.33",
34-
"url": "https://raw.githubusercontent.com/anchore/syft/main/schema/json/schema-16.0.33.json"
2+
"name": "eicar-test-file",
3+
"version": "1.0.0",
4+
"type": "file",
5+
"locations": [ { "path": "/eicar.txt" } ],
6+
"licenses": ["Test-License"],
7+
"cpes": [],
8+
"purl": "pkg:file/eicar-test@1.0.0",
9+
"hashes": {
10+
"SHA256": "44d88612fea8a8f36de82e1278abb02f"
3511
}
3612
}

0 commit comments

Comments
 (0)