Attack Flow helps executives, SOC managers, and defenders easily understand how attackers compose ATT&CK techniques into attacks by developing a representation of attack flows, modeling attack flows for a small corpus of incidents, and creating visualization tools to display attack flows.
The script is implemented as a new build target for Vue, which is better than creating a standalone .js or .ts script because it integrates natively with the existing code base.
The main browser dependency to work around is the canvas context in Fonts.ts. The solution is to define new interfaces for Font and FontStsore and add stub implementations that are used when we're not running in a browser.
Remove .json files from the corpus (and .gitignore corpus/*.json).
Set GitHub action to generate .json files at build time
Add developer docs showing how to use this command line tool.