CycloneDX / CycloneDX/cyclonedx-python-lib

[FEAT] Add support for Component data field

Open
#913 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 `data` field on components, as defined in CycloneDX v1.5+.

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

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

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

### References
- Parent issue: #911

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by locating the Component model and the JSON/XML serialization paths, then review the CycloneDX v1.5+ definition for DATA components. Done means DATA components can be created with a populated data field and that field is represented in both JSON and XML output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.