Ask the ThreatCanvas assistant to draw, change and explain your model, and to analyze a single component.
The ThreatCanvas assistant drafts models from a description, changes the diagram when you ask, answers questions about the model, and finds threats for a single component.
On a model's Diagram tab, click the round ThreatCanvas assistant button at the bottom right of the canvas. The chat opens in the right sidebar.
The assistant's chat beside a diagram
The chat and the details panel share the right sidebar: opening a component's details closes the chat, and opening the chat closes the details.
Ask for what you want in plain words: "Add a WAF in front of the API", "Split the order service into its own trust boundary", "What threats does the payment flow face?".
The diagram after asking for a web application firewall
Like every edit, the assistant's changes are kept only when you save.
These are also in Help, in your user menu.
Attach an image or a diagram of an existing system, an export from another threat modeling tool, or infrastructure as code. Any other file is read as text. You can also paste an image, such as a screenshot, straight into the message.
| Kind | Extensions |
|---|---|
| Images | .png .jpg .jpeg .gif .webp .svg |
| draw.io | .drawio |
| Visio | .vsdx |
| IriusRisk | .xml |
| OWASP Threat Dragon | .json |
| Terraform | .tf |
To open an existing ThreatCanvas or Threat Dragon model rather than have the assistant read it, use Upload model instead (see Create a threat model).
To find threats for a single component, select it on the diagram.
The node panel with Analyze node
The new threats are added to the component, and the assistant may also set its component type. Nothing is removed, and the whole analysis is one Undo step. You can keep working while it runs. A message tells you how many threats were added. Analyze node is not offered on a node linked to another model.