D3FEND API Documentation

The D3FEND REST API is used to populate the views on the D3FEND website. This is an alpha version API, please send feedback to help improve this community resource.

Endpoint for retrieving D3FEND ontology inbound bindings.
GET
/api/ontology/inference/d3fend-full-mappings.csv
Example API
/api/ontology/inference/d3fend-full-mappings.csv
Returns
TypeDescription
OntologyBindings200 - success response - application/json
Endpoint for retrieving D3FEND ontology inbound bindings.
GET
/api/ontology/inference/d3fend-full-mappings.json
Example API
/api/ontology/inference/d3fend-full-mappings.json
Returns
TypeDescription
OntologyBindings200 - success response - application/json
Endpoint for retrieving SPARQL DESCRIBE results for D3FEND Ontology entities.
GET
/api/ontology/describe/[subject].json
Example API
/api/ontology/describe/d3f:SystemCall.json
Parameters
NameTypeDescription
subjectstringSingle D3FEND object/artifact id
Returns
TypeDescription
OntologyBindings200 - success response - application/json
Endpoint for retrieving D3FEND ontology inbound bindings.
GET
/api/ontology/describe/inbound/[subject].json
Example API
/api/ontology/describe/inbound/d3f:SystemCall.json
Parameters
NameTypeDescription
subjectstringSingle D3FEND object/artifact id
Returns
TypeDescription
OntologyBindings200 - success response - application/json
Endpoint for retrieving single artifact properties
GET
/api/dao/artifact/[artifact].json
Example API
/api/dao/artifact/d3f:AccessToken.json
Parameters
NameTypeDescription
artifactstringName of D3FEND Artifact
Returns
TypeDescription
DAOArtifact200 - success response - application/json
Endpoint for retrieving all D3FEND artifacts.
GET
/api/dao/artifacts.json
Example API
/api/dao/artifacts.json
Returns
TypeDescription
ArtifactsGraph200 - success response - application/json
Endpoint for retrieving D3FEND Matrix in JSON-LD format.
GET
/api/matrix-graph.json
Example API
/api/matrix-graph.json
Returns
TypeDescription
Taxonomy200 - success response - application/json
Endpoint for retrieving D3FEND Matrix in a custom json structure.
GET
/api/matrix.json
Example API
/api/matrix.json
Returns
TypeDescription
DAOMatrix[]200 - success response - application/json
Endpoint for retrieving all ATT&CK-techniques in the D3FEND Ontology.
GET
/api/offensive-technique/all.json
Example API
/api/offensive-technique/all.json
Returns
TypeDescription
ATTACKTechniques200 - success response - application/json
Endpoint for retrieving single ATT&CK technique properties.
GET
/api/offensive-technique/attack/[technique].json
Example API
/api/offensive-technique/attack/T1571.json
Returns
TypeDescription
OffensiveTechnique200 - success response - application/json
Endpoint for retrieving single tactic properties.
GET
/api/tactic/[tactic].json
Example API
/api/tactic/d3f:Harden.json
Parameters
NameTypeDescription
tacticstringName of D3FEND tactic Artifact
Returns
TypeDescription
Tactic200 - success response - application/json
Endpoint for retrieving all D3FEND Tactics.
GET
/api/tactic/all.json
Example API
/api/tactic/all.json
Returns
TypeDescription
Tactics200 - success response - application/json
Endpoint for retrieving single technique properties.
GET
/api/technique/[technique].json
Example API
/api/technique/d3f:DataInventory.json
Parameters
NameTypeDescription
techniquestringName of D3FEND technique Artifact
Returns
TypeDescription
Technique200 - success response - application/json
Endpoint for retrieving all D3FEND Techniques.
GET
/api/technique/all.json
Example API
/api/technique/all.json
Returns
TypeDescription
Techniques200 - success response - application/json
Endpoint for retrieving version and release date of D3FEND.
GET
/api/version.json
Example API
/api/version.json
Returns
TypeDescription
VersionData200 - success response - application/json
Endpoint for retrieving all CWE Weaknesses in D3FEND Ontology.
GET
/api/weakness/all.json
Example API
/api/weakness/all.json
Returns
TypeDescription
Weaknesses200 - success response - application/json
Endpoint for retrieving Taxonomies.
GET
/api/weakness/cwe/[weakness_id].json
Example API
/api/weakness/cwe/CWE-78.json
Parameters
NameTypeDescription
weakness_idstringCWE Identifier
Returns
TypeDescription
Weakness200 - success response - application/json