Managing Threats and Controls

Managing Threats and Controls

Review a component's threats, rate and mitigate them, add threats and controls from the library or your own, and keep notes.

Every component on the diagram carries its threats: what could go wrong. Each threat carries its controls: what stops it. You manage them from the component's details, which open in the right sidebar when you select a node.

A Component's Details

The details of the Payment orchestrator

The details of the Payment orchestrator

  1. In scope / Out of scope (see Out-of-scope nodes in Editing the Diagram).
  2. Icon sets the technology icon.
  3. Component: what kind of component this is, from your organization's library. The pencil changes it.
  4. Trust boundary (see Trust Boundaries).
  5. Notes: free text about the component. Click to edit. Enter saves, Shift+Enter starts a new line, Esc cancels.
  6. + adds a threat.
  7. A threat's circle marks it mitigated. The threats are grouped by their stage (see Tracking Threats), and each shows its risk rating. Click the arrow beside a threat to list its controls, or click its name to open it.

A Threat's Details

The details of a threat

The details of a threat

  1. Back to node returns to the component.
  2. Delete threat removes it, with its controls and notes, once you confirm. Undo brings it back.
  3. Not mitigated / Mitigated: click to switch.
  4. The risk rating. Each click moves it through Low, Moderate, High and unrated.
  5. Play Lab opens SecureFlag's hands-on labs for this kind of threat in a new tab. It appears on library threats that have labs.
  6. Notes: why you rated it this way, what was decided, who is on it.

Below the notes, a small map shows the component and its neighbours. A threat exported to Jira or Azure Boards also shows a link to its issue. A control's details work the same way, with Implemented / Not implemented in place of Mitigated, and Back to threat returns to the threat the control belongs to.

To rename a threat or control you added yourself, click its title. Threats and controls from the library keep their library name.

Add a Threat From the Library

Click + next to Threats. The picker first lists the risk templates selected for this model. Pick one to browse its threats, or type to search all of them.

Picking a threat from the PCI DSS template

Picking a threat from the PCI DSS template

  1. Back to the list of templates. The template you are browsing is named beside it.
  2. Search across every selected template.
  3. Threats already on this component are marked Added.
  4. Select threat adds the threat you are previewing.

A new threat starts in the first stage, not mitigated, with the library's risk rating, and brings its usual controls with it. Adding a control works the same way, from the + in a threat's Controls.

If you can't find a template, check Risk templates in Model Settings (see Managing Your Models).

Add Your Own Threat

When the library has nothing that fits, type its name in the search box.

Adding a custom threat

Adding a custom threat

  1. Add "…" as a custom threat adds it with no risk rating. Rate it from its details.

Custom controls work the same way.

Change the Component

The component decides which threats the library suggests and what the assistant analyzes. Click the pencil next to Component.

Picking a component

Picking a component

  1. A component, selected for preview. The node's current one is marked Current.
  2. Select component applies the one you are previewing. The preview shows its shape, description, threats and controls.

Your organization's own components (made by administrators in the Library, see Admin Guide) also fill in the node's name, notes, icon and threats when you pick them. This is a one-time copy: one Undo reverts it, and later changes in the Library don't update the node.