-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adapt test resources to ensure consistency between xml and json
Signed-off-by: andreas hilti <[email protected]>
- Loading branch information
1 parent
06f2e77
commit ea066b5
Showing
25 changed files
with
173 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ | |
</component> | ||
<component type="library" bom-ref="pkg:maven/acme/[email protected]"> | ||
<name>Acme Library</name> | ||
<version>2.0</version> | ||
<version>3.0</version> | ||
<purl>pkg:maven/acme/[email protected]</purl> | ||
</component> | ||
</components> | ||
|
@@ -49,9 +49,9 @@ | |
</composition> | ||
<composition> | ||
<aggregate>incomplete_first_party_only</aggregate> | ||
<assemblies> | ||
<assembly ref="vulnerability-1"/> | ||
</assemblies> | ||
<vulnerabilities> | ||
<vulnerability ref="vulnerability-1"/> | ||
</vulnerabilities> | ||
</composition> | ||
</compositions> | ||
<vulnerabilities> | ||
|
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
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 |
---|---|---|
|
@@ -6,18 +6,39 @@ | |
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"type": "Application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"expression": "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0", | ||
"acknowledgement": "declared", | ||
"bom-ref": "my-license" | ||
} | ||
] | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -5,13 +5,32 @@ spec_version: "1.6" | |
version: 1 | ||
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" | ||
components { | ||
type: CLASSIFICATION_LIBRARY | ||
type: CLASSIFICATION_APPLICATION | ||
publisher: "Acme Inc" | ||
group: "com.acme" | ||
name: "tomcat-catalina" | ||
version: "9.0.14" | ||
description: "Modified version of Apache Catalina" | ||
scope: SCOPE_REQUIRED | ||
hashes { | ||
alg: HASH_ALG_MD_5 | ||
value: "3942447fac867ae5cdb3229b658f4d48" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_1 | ||
value: "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_256 | ||
value: "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_512 | ||
value: "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
licenses { | ||
expression: "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0" | ||
acknowledgement: LICENSE_ACKNOWLEDGEMENT_ENUMERATION_DECLARED | ||
} | ||
purl: "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} |
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 |
---|---|---|
|
@@ -15,9 +15,7 @@ | |
<hash alg="SHA-512">e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282</hash> | ||
</hashes> | ||
<licenses> | ||
<expression bom-ref="my-license" acknowledgement="declared"> | ||
EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
</expression> | ||
<expression bom-ref="my-license" acknowledgement="declared">EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0</expression> | ||
</licenses> | ||
<purl>pkg:maven/com.acme/[email protected]?packaging=jar</purl> | ||
</component> | ||
|
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 |
---|---|---|
|
@@ -6,11 +6,31 @@ | |
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"type": "Application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"license": { | ||
|
@@ -19,7 +39,8 @@ | |
"bom-ref": "my-license" | ||
} | ||
} | ||
] | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -5,16 +5,35 @@ spec_version: "1.6" | |
version: 1 | ||
serial_number: "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79" | ||
components { | ||
type: CLASSIFICATION_LIBRARY | ||
type: CLASSIFICATION_APPLICATION | ||
publisher: "Acme Inc" | ||
group: "com.acme" | ||
name: "tomcat-catalina" | ||
version: "9.0.14" | ||
description: "Modified version of Apache Catalina" | ||
scope: SCOPE_REQUIRED | ||
hashes { | ||
alg: HASH_ALG_MD_5 | ||
value: "3942447fac867ae5cdb3229b658f4d48" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_1 | ||
value: "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_256 | ||
value: "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
} | ||
hashes { | ||
alg: HASH_ALG_SHA_512 | ||
value: "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
licenses { | ||
license { | ||
id: "Apache-2.0" | ||
acknowledgement: LICENSE_ACKNOWLEDGEMENT_ENUMERATION_DECLARED | ||
bom_ref: "my-license" | ||
} | ||
} | ||
purl: "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} |
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 |
---|---|---|
|
@@ -6,19 +6,40 @@ | |
"version": 1, | ||
"components": [ | ||
{ | ||
"type": "library", | ||
"type": "Application", | ||
"publisher": "Acme Inc", | ||
"group": "com.acme", | ||
"name": "tomcat-catalina", | ||
"version": "9.0.14", | ||
"description": "Modified version of Apache Catalina", | ||
"scope": "required", | ||
"hashes": [ | ||
{ | ||
"alg": "MD5", | ||
"content": "3942447fac867ae5cdb3229b658f4d48" | ||
}, | ||
{ | ||
"alg": "SHA-1", | ||
"content": "e6b1000b94e835ffd37f4c6dcbdad43f4b48a02a" | ||
}, | ||
{ | ||
"alg": "SHA-256", | ||
"content": "f498a8ff2dd007e29c2074f5e4b01a9a01775c3ff3aeaf6906ea503bc5791b7b" | ||
}, | ||
{ | ||
"alg": "SHA-512", | ||
"content": "e8f33e424f3f4ed6db76a482fde1a5298970e442c531729119e37991884bdffab4f9426b7ee11fccd074eeda0634d71697d6f88a460dce0ac8d627a29f7d1282" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"license": { | ||
"name": "Apache License 2.0", | ||
"bom-ref": "my-license" | ||
} | ||
} | ||
] | ||
], | ||
"purl": "pkg:maven/com.acme/[email protected]?packaging=jar" | ||
} | ||
] | ||
} |
Oops, something went wrong.