[REQUEST] Ensure external_references' urls are RFC3986 Compliant
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 冷清
- 技术栈
- typescript
- 领域
- backend
调研方向
从 src/schemas/common/property-schemas/stix-external-references.ts 开始,检查 issue 中的 RFC3986 和 STIX 2.1 引用。检查 attack-stix-data issue 16 中的历史示例,然后验证 external_references 的 URL 值是否根据所要求的 compliance 要求被接受或拒绝。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
STIX 2.1 requires that the Common Data Type of External Reference (external_references) have their url field be RFC3986 compliant (link to STIX 2.1 reference). Ensuring this in the ATT&CK Data Model would help ensure that URLs stay in compliance with STIX 2.1 requirements.
Describe the solution you'd like
This could be added to the zod schema here: https://github.com/mitre-attack/attack-data-model/blob/main/src/schemas/common/property-schemas/stix-external-references.ts
Describe alternatives you've considered
Alternatively we could not bother with this enhancement since it is STIX 2.1 specific, but if not here, then where!?
Additional context
This has bitten the ATT&CK dataset in the past, e.g. here: https://github.com/mitre-attack/attack-stix-data/issues/16
The referenced issue has some good examples of what was historically included in the STIX bundles before they were manually corrected
- 主要语言
- MDX
- 星标
- 93
- 派生
- 25
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mitre-attack/attack-data-model 的其他 Issue
-
mitre-attack/attack-data-model#64 · 已指派 1 人 ·
-
enhancement
难度 3/5 1-2 天 新手友好度 35/100
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
mitre-attack/attack-data-model#52 · 1 条评论 ·
-
enhancement
mitre-attack/attack-data-model#37 · 已指派 1 人 ·
-
bug documentation
mitre-attack/attack-data-model#36 · 已指派 1 人 ·
查看 mitre-attack/attack-data-model 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 80/100
microsoft/magentic-ui#588 ·
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
alexgorbatchev/simple-ptt#3 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
CorrelAid/formtransform#44 ·