CycloneDX / CycloneDX/cyclonedx-python-lib

[FEAT] Add support for Component modelCard field

Open
#912 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted schema 1.5
Dominant language
Python
Stars
116
Forks
67
Avg merge
8d 2h
Merged PRs (30d)
2

Description

### Description
The CycloneDX Python library currently does not support the `modelCard` field on components, as defined in CycloneDX v1.5+.

### Expected behavior
- Ability to create and serialize components with type `MACHINE_LEARNING_MODEL` and the `modelCard` field populated.

### Current behavior
- The `modelCard` field is unsupported.

### Suggested solution
- Extend the Component model to include `modelCard`.
- Update JSON/XML serialization to support this field.

### References
- Parent issue: #911

Contributor guide

Open the contributing guide

Research direction

Start by locating the Component model and the JSON/XML serialization entry points, then review how MACHINE_LEARNING_MODEL components are represented. Add support for the modelCard field in both serialization formats and verify that a component can create and serialize it as described; check parent issue #911 for related context.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.