- Install Node.js which includes Node Package Manager
Package can be installed with the following commands:
npm install mitre-importer
yarn add mitre-importer
import MitreMatrix from 'mitre-importer';
const Mitre = new MitreAttack('enterprise-attack');
const enterprise = Mitre.getDomainTable();
- You can pass configs for techniques and tactics when initializing a class object. By default configs are [name, type]
- You can use
new MitreAttack( matrix, tacticConfig?, techniqueConfig?, siemData? )
- Initial class object
.getTypeData( typeName, config? )
- Getting a list of the selected type
.getTechniques()
- Getting a techniques with sub-techniques list in json format
.getDomainTable()
- Getting a full matrix data