capec
Theme
Text size
GitHub Menu

Datasets

  • capec LinkML schema nobody has checked this yet, still a draft
    The LinkML model of CAPEC 3.9 under its XSD 3.5, src/capec/schema/capec.yaml (schema id https://w3id.org/lmodel/capec): an umbrella that holds only the tree root, CapecAttackPatternCatalog, over the modules capec_entries and capec_core.
  • Copy of the upstream nobody has checked this yet, still a draft
    upstream/: MITRE's CAPEC XSD 3.5 and catalogue 3.9, each byte for byte what MITRE serves and pinned by git object hash, with the Terms of Use beside them.
  • Core module checked by automation only, still a draft
    src/capec/schema/capec_core.yaml, the module with the value lists, text types and small records every CAPEC entry shares, and the abstract CapecEntry. It imports only linkml:types.
  • Entries module checked by automation only, still a draft
    src/capec/schema/capec_entries.yaml, the module with CapecAttackPattern, CapecCategory and CapecView, the records an attack pattern holds, and the value lists they use, such as CapecAbstraction and CapecRelatedNature.
  • Example data checked by automation only, still a draft
    The examples tests/test_data.py checks: valid examples of each class, a counter-example for each constraint, and catalogues that break the rules a JSON Schema cannot state, in tests/data/valid/, invalid/ and problem/invalid/.
  • Exploiting Software: How to Break Code nobody has checked this yet, still a draft
    REF-1 from the catalogue, written as a concept of type CapecExternalReference in the adapt copy's keys. It shows that the domain schema admits an external reference as a concept.
  • Generated artefacts checked by automation only, still a draft
    What just gen-project and just gen-doc generate from the capec schema: the projections in project/, the Python models in src/capec/datamodel/, and the merged schema in docs/schema/. None is edited by hand.
  • Mapping term list nobody has checked this yet, still a draft
    tests/upstream/mapping-terms.txt, the classes and properties of Dublin Core, schema.org, SKOS and the SEPSES CAPEC ontology, which scripts/extract_mapping_terms.py writes from each vocabulary's pinned file and tests/test_mappings.py holds each mapping to.
  • Neighbours' adapt copies nobody has checked this yet, still a draft
    The adapt copies of twelve released lmodel repositories (slsa, github-actions, in-toto, oscal, spdx, stix, attack, uco, cve, kev-catalog, nist-nvd and cwe) in tests/neighbours/, each pinned by its SHA-256, against which tests/test_schema_rules.py holds this schema's copy apart and tests/test_mappings.py holds the mappings.
  • The schema's adapt copy checked by automation only, still a draft
    .lokf/schema/capec.yaml, the copy just lokf-adapt writes from the schema so that it sits beside LOKF's lokf.yaml: rooted on CapecEntry and CapecExternalReference, with ID and Reference_ID dropped for LOKF's id, and five keys folded into title and description.