Skip to content

feat: add support for Service.trustZone#980

Open
VanL wants to merge 2 commits into
CycloneDX:mainfrom
modelmonster:feat/service-trust-zone
Open

feat: add support for Service.trustZone#980
VanL wants to merge 2 commits into
CycloneDX:mainfrom
modelmonster:feat/service-trust-zone

Conversation

@VanL
Copy link
Copy Markdown

@VanL VanL commented May 19, 2026

Adds the optional trust_zone field to Service, available in CycloneDX v1.5 and later. Serializes as trustZone in JSON and <trustZone> in XML for schemas 1.5, 1.6, and 1.7; omitted for earlier versions.

Implements part of issue #578.

Description

Adds the optional trust_zone field to Service, available in
CycloneDX v1.5 and later. Serializes as trustZone in JSON and
<trustZone> in XML for schemas 1.5/1.6/1.7; omitted for earlier
versions.

Resolves a part of: #578

AI Tool Disclosure

  • My contribution does not include any AI-generated content
  • My contribution includes AI-generated content, as disclosed below:
    • AI Tools: Codex, Claude Code
    • LLMs and versions: Opus 4.7, Codex 5.5 (XHigh)
    • Prompts: Reviewed the existing TODO in cyclonedx/model/service.py:242-251,
      drafted an implementation plan, and implemented per the CycloneDX 1.5+
      service.trustZone schema. Implemented multiple agent adversarial review.

Affirmation

Adds the optional `trust_zone` field to `Service`, available in
CycloneDX v1.5 and later. Serializes as `trustZone` in JSON and
`<trustZone>` in XML for schemas 1.5, 1.6, and 1.7; omitted for earlier
versions.

Implements part of issue CycloneDX#578.

Signed-off-by: VanL <van@ospo.co>
@VanL VanL requested a review from a team as a code owner May 19, 2026 17:13
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 19, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 19, 2026

Documentation build overview

📚 CycloneDX Python Library | 🛠️ Build #32763311 | 📁 Comparing 94e1e43 against latest (0daf3f9)

  🔍 Preview build  

2 files changed
± genindex.html
± autoapi/cyclonedx/model/service/index.html

Signed-off-by: VanL <van@ospo.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant