forked from CycloneDX/cyclonedx-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(spec1-5): add initial support for spec v1.5
This adds the new schemas, `SpecVersion` variables, and updates existing tests to use v1.5. The default `specVersion` set by `NewBOM` is now `SpecVersion1_5`. Signed-off-by: nscuro <[email protected]>
- Loading branch information
Showing
12 changed files
with
9,615 additions
and
15 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -89,7 +89,7 @@ func Example_encode() { | |
|
||
// Output: | ||
// <?xml version="1.0" encoding="UTF-8"?> | ||
// <bom xmlns="http://cyclonedx.org/schema/bom/1.4" version="1"> | ||
// <bom xmlns="http://cyclonedx.org/schema/bom/1.5" version="1"> | ||
// <metadata> | ||
// <component bom-ref="pkg:golang/acme-inc/[email protected]" type="application"> | ||
// <name>ACME Application</name> | ||
|
Oops, something went wrong.