{
  "id": "capec_id",
  "kind": "datatype",
  "status": "draft",
  "name": "CAPEC identifier",
  "doc": "Identifier of an attack pattern in MITRE's Common Attack Pattern Enumeration and Classification (CAPEC): CAPEC- followed by a number of one to five digits without leading zeros. CVE records use it to describe the impact of a vulnerability, and MITRE ATT&CK techniques refer to related CAPEC entries with it.",
  "is_pii": false,
  "categories": [
    "software"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^CAPEC-[1-9][0-9]{0,4}$",
  "examples": [
    {
      "value": "CAPEC-66",
      "description": "SQL Injection",
      "valid": true
    },
    {
      "value": "CAPEC-13",
      "description": "Subverting Environment Variable Values, referenced by ATT&CK technique HISTCONTROL",
      "valid": true
    },
    {
      "value": "CAPEC-0",
      "description": "Zero is not a valid number",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/CAPEC"
    },
    {
      "type": "doc",
      "url": "https://capec.mitre.org/data/definitions/66.html"
    },
    {
      "type": "doc",
      "url": "https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/capec_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/capec_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/capec_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/capec_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/capec_id.json"
  }
}