Skip to content

Commit 55eafed

Browse files
authored
feat: support CycloneDX 1.6.1 (#742)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 79454d8 commit 55eafed

File tree

93 files changed

+999
-271
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+999
-271
lines changed

cyclonedx/schema/_res/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ some schema for offline use as download via [script](../../../tools/schema-downl
44
original sources: <https://github.com/CycloneDX/specification/tree/master/schema>
55

66
Currently using version
7-
[5f3ee8066491d31ec6a6d02968243d9688d7e49c](https://github.com/CycloneDX/specification/commit/5f3ee8066491d31ec6a6d02968243d9688d7e49c)
7+
[8a27bfd1be5be0dcb2c208a34d2f4fa0b6d75bd7](https://github.com/CycloneDX/specification/commit/8a27bfd1be5be0dcb2c208a34d2f4fa0b6d75bd7)
88

99
| file | note |
1010
|------|------|

cyclonedx/schema/_res/bom-1.6.SNAPSHOT.schema.json

Lines changed: 90 additions & 64 deletions
Large diffs are not rendered by default.

cyclonedx/schema/_res/bom-1.6.SNAPSHOT.xsd

Lines changed: 233 additions & 91 deletions
Large diffs are not rendered by default.

tests/_data/schemaTestData/1.6/invalid-bomformat-1.6.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "AnotherFormat",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",

tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",
@@ -10,12 +11,6 @@
1011
"name": "acme-library",
1112
"version": "1.0.0"
1213
},
13-
{
14-
"type": "library",
15-
"bom-ref": "123",
16-
"name": "acme-library",
17-
"version": "1.0.0"
18-
},
1914
{
2015
"type": "library",
2116
"bom-ref": "",

tests/_data/schemaTestData/1.6/invalid-component-ref-1.6.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
<name>acme-library</name>
1111
<version>1.0.0</version>
1212
</component>
13+
<component type="library" bom-ref="123">
14+
<name>acme-library2</name>
15+
<version>1.0.0</version>
16+
</component>
1317
<component type="library" bom-ref="">
1418
<!-- empty value in attribute `bom-ref` -->
1519
<name>acme-library</name>

tests/_data/schemaTestData/1.6/invalid-component-swid-1.6.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",

tests/_data/schemaTestData/1.6/invalid-component-type-1.6.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",

tests/_data/schemaTestData/1.6/invalid-dependency-1.6.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",

tests/_data/schemaTestData/1.6/invalid-empty-component-1.6.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
23
"bomFormat": "CycloneDX",
34
"specVersion": "1.6",
45
"serialNumber": "urn:uuid:3e671687-395b-41f5-a30f-a58921a69b79",

0 commit comments

Comments
 (0)