MITRE ATT&CK version 19.2 schema errors

未关闭
#77 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
22/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
json, python
领域
data

调研方向

The failures are only in the attached zip (enterprise, mobile and ics -19.2_invalid.json files plus README.txt), which the issue text does not summarize, so start by unpacking it and reading the validator output. Reproduce by running the cti-stix-validator with the options listed in the issue against the v19.2 data in attack-stix-data, and compare the errors with the attack-data-model schema. Done means the validator reports no unexpected errors for the three domains, or each remaining error is explained and reported upstream.

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

描述

Schema errors resulting from the validation of MITRE ATT&CK release version 19.2 are attached for your information.

Attachment:
mitre-attack-19.2_invalid.zip containing:
enterprise-attack-19.2._invalid.json
mobile-attack-19.2._invalid.json
ics-attack-19.2._invalid.json
README.txt

References:

  1. schema:
    https://github.com/mitre-attack/attack-data-model

  2. data: v19.2 at
    https://github.com/mitre-attack/attack-stix-data

  3. validator:
    https://github.com/oasis-open/cti-stix-validator/tree/master

  4. validator options:
    VALIDATION_DISABLE_ERROR_CODES = '101,102,401'
    101 - custom-prefix
    102 - custom-prefix-lax
    401 - extensions-use
    VALIDATION_OPTIONS = ValidationOptions(strict=True, strict_properties=False, strict_types=False, version="2.1",
    schema_dir=MITRE_SCHEMA_DIR, disabled=VALIDATION_DISABLE_ERROR_CODES)

mitre-attack-19.2_invalid.zip

主要语言
Python
星标
708
派生
149
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

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

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

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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