├── .bandit.yaml ├── .dockerignore ├── .flake8 ├── .github ├── ISSUE_TEMPLATE │ └── new-d3fend-technique-proposal.md └── workflows │ └── ci.yaml ├── .gitignore ├── .gitlab-ci.yml ├── .pre-commit-config.yaml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── CONVENTIONS.md ├── DESIGN.md ├── Dockerfile ├── LICENSE.md ├── Makefile ├── Pipfile ├── Pipfile.lock ├── README.md ├── docker-compose.yml ├── extensions ├── cci │ ├── CCI_Mapping.xlsx │ ├── README.md │ └── create_cci_mappings.py ├── cwe │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── cwe-yarrrml.yaml │ └── package.json └── nist │ ├── README.md │ ├── create_nist_mappings.py │ └── sp800-53r5-control-catalog-d3fend-mapping.xlsx └── src ├── ontology ├── d3fend-protege.ttl ├── extensions │ └── d3fend-catalog.ttl ├── initiatives │ ├── catalog-v001.xml │ └── example-initiative.ttl └── mappings │ ├── d3fend-cco.ttl │ └── d3fend-ontology-mappings.ttl ├── queries ├── bogus-direct-subclassing-of-tactic-technique-profile.txt ├── bogus-direct-subclassing-of-tactic-technique.rq ├── csv_data.rq ├── custom-report-profile.txt ├── default_profile.txt ├── duplicate-labels-profile.txt ├── duplicate-labels.rq ├── inconsistent-iri-profile.txt ├── inconsistent-iri.rq ├── make-has-links-anyURI.rq ├── missing-attack-id-profile.txt ├── missing-attack-id.rq ├── missing-d3fend-definition-profile.txt ├── missing-d3fend-property-comment.rq ├── missing-dao-comment-profile.txt ├── missing-dao-comment.rq ├── missing-def-tech-comment-profile.txt ├── missing-def-tech-definition.rq ├── missing-off-tech-artifacts-profile.txt ├── missing-off-tech-artifacts.rq ├── missing-rdfs-label-profile.txt ├── missing-rdfs-label.rq ├── property-duplication-across-property-types.rq ├── property-duplication-across-property-types.txt ├── restrictions-as-objectproperties.rq ├── trimming.rq ├── unallowed-d3fend-analysis-thing.rq ├── unallowed-draft-thing.rq └── unallowed-thing-profile.txt ├── tests └── test_load_json.py └── util ├── build.py ├── changelog.sh ├── cleancsv.py ├── makecsv.py ├── test_cases.json ├── test_cases.py ├── update_atlas.py ├── update_atlas.sh ├── update_attack.py ├── update_attack.sh ├── update_capec.py ├── update_capec.sh ├── update_sparta.py └── update_sparta.sh /.bandit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.bandit.yaml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | build 3 | dist 4 | docker-compose.yml 5 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.flake8 -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/new-d3fend-technique-proposal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.github/ISSUE_TEMPLATE/new-d3fend-technique-proposal.md -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CONVENTIONS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/CONVENTIONS.md -------------------------------------------------------------------------------- /DESIGN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/DESIGN.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/Makefile -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /extensions/cci/CCI_Mapping.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cci/CCI_Mapping.xlsx -------------------------------------------------------------------------------- /extensions/cci/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cci/README.md -------------------------------------------------------------------------------- /extensions/cci/create_cci_mappings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cci/create_cci_mappings.py -------------------------------------------------------------------------------- /extensions/cwe/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cwe/.gitignore -------------------------------------------------------------------------------- /extensions/cwe/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cwe/Makefile -------------------------------------------------------------------------------- /extensions/cwe/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cwe/README.md -------------------------------------------------------------------------------- /extensions/cwe/cwe-yarrrml.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cwe/cwe-yarrrml.yaml -------------------------------------------------------------------------------- /extensions/cwe/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/cwe/package.json -------------------------------------------------------------------------------- /extensions/nist/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/nist/README.md -------------------------------------------------------------------------------- /extensions/nist/create_nist_mappings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/nist/create_nist_mappings.py -------------------------------------------------------------------------------- /extensions/nist/sp800-53r5-control-catalog-d3fend-mapping.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/extensions/nist/sp800-53r5-control-catalog-d3fend-mapping.xlsx -------------------------------------------------------------------------------- /src/ontology/d3fend-protege.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/d3fend-protege.ttl -------------------------------------------------------------------------------- /src/ontology/extensions/d3fend-catalog.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/extensions/d3fend-catalog.ttl -------------------------------------------------------------------------------- /src/ontology/initiatives/catalog-v001.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/initiatives/catalog-v001.xml -------------------------------------------------------------------------------- /src/ontology/initiatives/example-initiative.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/initiatives/example-initiative.ttl -------------------------------------------------------------------------------- /src/ontology/mappings/d3fend-cco.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/mappings/d3fend-cco.ttl -------------------------------------------------------------------------------- /src/ontology/mappings/d3fend-ontology-mappings.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/ontology/mappings/d3fend-ontology-mappings.ttl -------------------------------------------------------------------------------- /src/queries/bogus-direct-subclassing-of-tactic-technique-profile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/bogus-direct-subclassing-of-tactic-technique-profile.txt -------------------------------------------------------------------------------- /src/queries/bogus-direct-subclassing-of-tactic-technique.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/bogus-direct-subclassing-of-tactic-technique.rq -------------------------------------------------------------------------------- /src/queries/csv_data.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/csv_data.rq -------------------------------------------------------------------------------- /src/queries/custom-report-profile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/custom-report-profile.txt -------------------------------------------------------------------------------- /src/queries/default_profile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/default_profile.txt -------------------------------------------------------------------------------- /src/queries/duplicate-labels-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/duplicate-labels.rq 2 | -------------------------------------------------------------------------------- /src/queries/duplicate-labels.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/duplicate-labels.rq -------------------------------------------------------------------------------- /src/queries/inconsistent-iri-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/inconsistent-iri.rq 2 | -------------------------------------------------------------------------------- /src/queries/inconsistent-iri.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/inconsistent-iri.rq -------------------------------------------------------------------------------- /src/queries/make-has-links-anyURI.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/make-has-links-anyURI.rq -------------------------------------------------------------------------------- /src/queries/missing-attack-id-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/missing-attack-id.rq 2 | -------------------------------------------------------------------------------- /src/queries/missing-attack-id.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-attack-id.rq -------------------------------------------------------------------------------- /src/queries/missing-d3fend-definition-profile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-d3fend-definition-profile.txt -------------------------------------------------------------------------------- /src/queries/missing-d3fend-property-comment.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-d3fend-property-comment.rq -------------------------------------------------------------------------------- /src/queries/missing-dao-comment-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/missing-dao-comment.rq 2 | -------------------------------------------------------------------------------- /src/queries/missing-dao-comment.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-dao-comment.rq -------------------------------------------------------------------------------- /src/queries/missing-def-tech-comment-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/missing-def-tech-comment.rq 2 | -------------------------------------------------------------------------------- /src/queries/missing-def-tech-definition.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-def-tech-definition.rq -------------------------------------------------------------------------------- /src/queries/missing-off-tech-artifacts-profile.txt: -------------------------------------------------------------------------------- 1 | WARN file:./src/queries/missing-off-tech-artifacts.rq 2 | -------------------------------------------------------------------------------- /src/queries/missing-off-tech-artifacts.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-off-tech-artifacts.rq -------------------------------------------------------------------------------- /src/queries/missing-rdfs-label-profile.txt: -------------------------------------------------------------------------------- 1 | ERROR file:./src/queries/missing-rdfs-label.rq 2 | -------------------------------------------------------------------------------- /src/queries/missing-rdfs-label.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/missing-rdfs-label.rq -------------------------------------------------------------------------------- /src/queries/property-duplication-across-property-types.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/property-duplication-across-property-types.rq -------------------------------------------------------------------------------- /src/queries/property-duplication-across-property-types.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/property-duplication-across-property-types.txt -------------------------------------------------------------------------------- /src/queries/restrictions-as-objectproperties.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/restrictions-as-objectproperties.rq -------------------------------------------------------------------------------- /src/queries/trimming.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/trimming.rq -------------------------------------------------------------------------------- /src/queries/unallowed-d3fend-analysis-thing.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/unallowed-d3fend-analysis-thing.rq -------------------------------------------------------------------------------- /src/queries/unallowed-draft-thing.rq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/unallowed-draft-thing.rq -------------------------------------------------------------------------------- /src/queries/unallowed-thing-profile.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/queries/unallowed-thing-profile.txt -------------------------------------------------------------------------------- /src/tests/test_load_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/tests/test_load_json.py -------------------------------------------------------------------------------- /src/util/build.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/build.py -------------------------------------------------------------------------------- /src/util/changelog.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/changelog.sh -------------------------------------------------------------------------------- /src/util/cleancsv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/cleancsv.py -------------------------------------------------------------------------------- /src/util/makecsv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/makecsv.py -------------------------------------------------------------------------------- /src/util/test_cases.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/test_cases.json -------------------------------------------------------------------------------- /src/util/test_cases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/test_cases.py -------------------------------------------------------------------------------- /src/util/update_atlas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_atlas.py -------------------------------------------------------------------------------- /src/util/update_atlas.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_atlas.sh -------------------------------------------------------------------------------- /src/util/update_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_attack.py -------------------------------------------------------------------------------- /src/util/update_attack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_attack.sh -------------------------------------------------------------------------------- /src/util/update_capec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_capec.py -------------------------------------------------------------------------------- /src/util/update_capec.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_capec.sh -------------------------------------------------------------------------------- /src/util/update_sparta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_sparta.py -------------------------------------------------------------------------------- /src/util/update_sparta.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d3fend/d3fend-ontology/HEAD/src/util/update_sparta.sh --------------------------------------------------------------------------------