forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: validate CycloneDX with the JSON schema (aquasecurity#4956)
* test: validate CycloneDX with the JSON schema * fix(sbom): move licenses to `name` field in Cyclonedx format (aquasecurity#4941) * use license.Name instead of Expression * update tests * test: add uuid package * test: compare UUID --------- Co-authored-by: DmitriyLewen <[email protected]>
- Loading branch information
1 parent
79e34c1
commit 0425fb8
Showing
16 changed files
with
6,970 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.5", | ||
"serialNumber": "urn:uuid:e7d2faf4-1d5f-4cd7-a792-8b9b5f6fe2d7", | ||
"serialNumber": "urn:uuid:3ff14136-e09f-4df9-80ea-000000000001", | ||
"version": 1, | ||
"metadata": { | ||
"timestamp": "2023-08-04T05:57:22+00:00", | ||
"timestamp": "2020-09-10T14:20:30+00:00", | ||
"tools": [ | ||
{ | ||
"vendor": "aquasecurity", | ||
|
@@ -14,7 +14,7 @@ | |
} | ||
], | ||
"component": { | ||
"bom-ref": "a80bd6fc-91e4-4e42-9941-eafc2423d031", | ||
"bom-ref": "3ff14136-e09f-4df9-80ea-000000000002", | ||
"type": "application", | ||
"name": "testdata/fixtures/repo/conda", | ||
"properties": [ | ||
|
@@ -77,7 +77,7 @@ | |
], | ||
"dependencies": [ | ||
{ | ||
"ref": "a80bd6fc-91e4-4e42-9941-eafc2423d031", | ||
"ref": "3ff14136-e09f-4df9-80ea-000000000002", | ||
"dependsOn": [ | ||
"pkg:conda/[email protected]?file_path=miniconda3%2Fenvs%2Ftestenv%2Fconda-meta%2Fopenssl-1.1.1q-h7f8727e_0.json", | ||
"pkg:conda/[email protected]?file_path=miniconda3%2Fenvs%2Ftestenv%2Fconda-meta%2Fpip-22.2.2-py38h06a4308_0.json" | ||
|
Oops, something went wrong.