Documentation
¶
Overview ¶
tms (Threat Model Spec) is a CLI for creating security threat modeling diagrams.
Usage:
tms generate input.json -o output.d2 # Generate D2 diagram tms generate input.json -o output.d2 --svg # Also render to SVG tms generate input.json --stix -o out.json # Export to STIX 2.1 tms validate input.json # Validate only tms validate input.json --strict # Strict validation tms analyze input.json --stage <s> ... # PDLC stage analysis (plan/apply) tms gate input.json --stage <s> # Read a recorded stage gate result tms report input.json --framework <f> # Derive a framework-specific report
Click to show internal directories.
Click to hide internal directories.