Getting Started With ThreatCanvas

Getting Started With ThreatCanvas

What ThreatCanvas is, how to open it, and how to find your way around its screens.

ThreatCanvas is SecureFlag's threat modeling tool. You draw your system as a diagram of components, data flows and trust boundaries, or ask the assistant to draw it for you. Then you track the threats and controls on every component until the model is reviewed and approved. Your team works on the same model with you: comments, sharing, reviews and version history are all built in.

Opening ThreatCanvas

There are three ways in:

  • From the SecureFlag portal: open ThreatCanvas from the portal's navigation.
  • From Jira or Azure DevOps: the SecureFlag issue-tracker apps start a threat model from an issue. You land on a new, unsaved model with the issue's description already in the New model dialog. Review it and press Continue (see Creating a Threat Model). When you first save the model, the issue stays attached to it. A link like this works only for the first person who opens it, and expires after 72 hours.
  • From a link: a model link, a notification or an exported issue's Launch on ThreatCanvas link opens that model directly. Some links also open the model's Share popover or its Review dialog.

The Home Screen

ThreatCanvas opens on Recent: the 30 models you can see that were most recently updated, grouped into Today, Yesterday, Previous 7 days and Older. View all models, below the list, opens All models.

The Recent list with the sidebar on the left

The Recent list with the sidebar on the left

  1. New model starts a new threat model.
  2. The destinations:
    • Recent: your most recently updated models, newest first.
    • Inbox: your notifications, with an unread count.
    • Drafts: models still in the Draft status.
    • All projects: models grouped by project folder.
    • All models: the full list, with filters.
  3. Starred: your favourite models and projects. Star one with the star beside its name in any list or in a model's header. To reorder the list, drag an entry's grip, or focus the grip and use Space and the arrow keys.
  4. Search models opens the search bar (see Find a Model).
  5. Toggle sidebar shrinks the sidebar to a rail of icons, and back. The rail hides Starred and the Inbox count.
  6. Your name opens the user menu (see Your Menu and Help).
  7. The columns of the model list: Name, Project, Owner, Risk score (out of 5) and Updated. Click a model's name to open it.

Projects

All projects lists the project folders. Click one to see its models.

A project's model list

A project's model list

  1. The breadcrumb: click All projects to go back to the folder list.
  2. Status shows where each model is in the review workflow: Draft, In Review, Changes Requested or Approved.

Project lists and All models can be sorted by Name or Updated, and show 30 models per page. All projects has a Search projects box. All models has a filter bar: Name (which also matches tags), Project, and a Changes requested switch. Clear filters resets them. Administrators get more filters, described in Admin Guide. Every search box that filters a list has a × button that clears it.

Find a Model

Press ⌘K (Mac) or Ctrl+K (Windows, Linux), or click the magnifier in the sidebar, from anywhere in ThreatCanvas.

The search bar finding the payments models

The search bar finding the payments models

  1. Type part of a model's name. The search is fuzzy: the letters must appear in order, but not side by side, so "chkout" finds "Checkout".
  2. Matches show their project below the name, best match first. Use the arrow keys and Enter, or click, to open one.

Search matches model names only, not projects, tags or what is inside a model.

The Inbox

Inbox lists your notifications, newest first: mentions, replies to your comments, review requests and outcomes, and access requests.

The Inbox with a mention selected

The Inbox with a mention selected

  1. A notification. Selecting it marks it as read.
  2. A comment notification shows the model read-only, centred on the comment, with its thread open. You can reply right here.
  3. Open takes you into the model.

Inside a Model

A model opens on its Diagram tab.

The workspace header above a diagram

The workspace header above a diagram

  1. The breadcrumb: the model's project, then the model. Click the project to go to its list, or the model's name to rename it.
  2. The star adds the model to Starred.
  3. Model actions (▾) holds the model's commands: review, comments, versions, watchers, import and export, and Model Settings.
  4. Save stores your changes. It is greyed out when there is nothing to save.
  5. The review status, when your organization uses the review workflow, and the risk score. Click the status to open the review.
  6. The three tabs: Diagram, Threats and Summary.
  7. Find in model finds a component, threat or control by name (see Find in a Model).
  8. Filter threats narrows every tab to some risk ratings or templates (see Tracking Threats).
  9. Share opens the sharing settings (see Manage Access).

Your edits are kept until you save. ThreatCanvas does not autosave. Every change waits in your browser tab until you choose Save in the header. If you try to leave a model with unsaved changes, ThreatCanvas asks first, and so does your browser if you reload or close the tab. Unsaved changes survive a reload of the same tab, but not closing it.

Find in a Model

Click Find in model in the header, or press ⌘F on a Mac (Ctrl+F elsewhere), and type part of a name.

Find in model listing what matches "pay"

  1. Type part of a name. Letters match even when they are not side by side.
  2. A component, marked Node.
  3. A threat, with the component it belongs to. A control shows its component and its threat.

Use the arrow keys and Enter, or click a result, to open it. On the Diagram tab it selects the component and opens its details, at the threat or control you picked. On the Threats tab it lists only threats and controls, and opens the one you picked in the register. From the Summary tab it takes you to the Diagram tab. Threats the filter hides are not listed: the search says how many of them match, with Show all to clear the filter. Esc closes the search.

Your Menu and Help

Click your name at the bottom of the sidebar.

The user menu

The user menu

  1. Dark mode switches between the light and dark themes. Until you use it, ThreatCanvas follows your system's setting and the SecureFlag portal's theme.
  2. Help opens a short guide inside the app.
  3. Management portal opens SecureFlag's management portal in a new tab. It is shown to managers and administrators only.
  4. Back to SecureFlag opens the SecureFlag portal in a new tab.

Organization administrators also see Settings (see Admin Guide).

Help lists example prompts for the assistant and the file types it reads. Under Get more help it links to the SecureFlag help center and gives the support email address. At the bottom is the ThreatCanvas build you are using, which is worth quoting to support.

The Help dialog

The Help dialog

When Something Goes Wrong

  • Page not found: the link is mistyped or out of date. Go to Recent takes you home.
  • ThreatCanvas has been updated: a new version was released while you worked. Reload to get it. Your unsaved changes are kept.
  • Your session has expired: Sign in again returns you to the same place, and your unsaved changes are kept.
  • Something went wrong: Reload. Your unsaved changes are kept in the tab.
  • ThreatCanvas isn't available: your licence does not include ThreatCanvas. Contact your organization's administrator.
  • You don't have access to this model: see Ask for Access to a Model.