feat: Add support for TLP marking in metadata (fixes #595)#603
feat: Add support for TLP marking in metadata (fixes #595)#603anthonyharrison wants to merge 1 commit intoCycloneDX:masterfrom anthonyharrison:master
Conversation
Signed-off-by: anthonyharrison <anthony.p.harrison@gmail.com>
|
thanks for the implementation, @anthonyharrison Could you port these changes to schema 1.7 based on branch thank you in advance. PS: i am sorry that i did not communicate these things earlier. Please bear with me. |
|
I'll set this PR to "draft", until the proposed changes were ported to the "next" version. |
jkowalleck
left a comment
There was a problem hiding this comment.
please port to "next" version.
v1.6 will not get any new features, but upcoming v1.7 will.
|
This is resulting in a string attribute called "distribution" under metadata and the phrase "tlp" is no where to be found. {
"metadata": {
"timestamp": "2025-06-14T10:45:57Z",
"tools": {
"components": [
{
"group": "@cyclonedx",
"name": "cdxgen",
"version": "11.4.0",
"purl": "pkg:npm/%40cyclonedx/cdxgen@11.4.0",
"type": "application",
"bom-ref": "pkg:npm/@cyclonedx/cdxgen@11.4.0",
"publisher": "OWASP Foundation",
"authors": [
{
"name": "OWASP Foundation"
}
]
}
]
},
"authors": [
{
"name": "OWASP Foundation"
}
],
"lifecycles": [
{
"phase": "build"
}
],
"distribution": "AMBER"
}
}Can we make |
|
@CycloneDX/core-team, what do you think about #603 (comment) ? |
|
re: #603 (comment) PS: see the draft: #653 |
Refactored `metadata.distribution` to be more verbose in its name, and made it more versatile by converting it to an "object" with "TLP" as a property. caused by #603 (comment)
Refactored `metadata.distribution` to be more verbose in its name, and made it more versatile by converting it to an "object" with "TLP" as a property. caused by CycloneDX/specification#603 (comment)
As discussed in ticket CycloneDX#595, this PR adds TLP marking in the BOM metadata. This PR superseeds CycloneDX#603 fixes CycloneDX#595
Refactored `metadata.distribution` to be more verbose in its name, and made it more versatile by converting it to an "object" with "TLP" as a property. caused by CycloneDX#603 (comment)
As discussed in ticket #595 this PR adds TLP marking to the metadata to indicate the sharing and distribution constraints for the BOM.
fixes #595