Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[REQUEST] Ensure external_references' urls are RFC3986 Compliant

未关闭 适合新手
#60 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 内容生成。

描述

enhancement

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mitre-attack/attack-data-model 的其他 Issue

查看 mitre-attack/attack-data-model 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

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