CycloneDX / CycloneDX/cyclonedx-python-lib

[IDEA] feat: importer to make deserialization easier

未关闭
#465 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement idea
主要语言
Python
星标
116
派生
67
平均合并
8 天 2 小时
30 天内合并 PR
2

描述

now taht we have validators, it should be possible to write an importer, like the `outputter`s ...

it should take an arbitrary string,
detect the schema from it, and validate against it
if no schema can be detected, then try trom latest to odest ...

if validaion fails: throw
else: return BOM

tesying: integration test is fine
- load the CDX test data, serialize again, and check for valid data or equalness...

this should imprive the deserialization a lot

贡献指南

打开贡献指南

调研方向

先阅读现有的验证器和输出器,了解如何处理模式和序列化。使用 CDX 测试数据进行集成测试,将数据再次序列化并验证输出有效或等效;模式检测和回退行为仍需定义。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
28/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。