03 Teams, compliance and reports · Intermediate

Check the activity log and keep backups

See who changed what in a threat model, take a snapshot before a big change, compare it with today, and restore it if you need to.

Pro Lesson 7 of 10 4 min Updated

In this lesson you will learn

  • What the activity log records and how to filter it
  • How to take a snapshot
  • How to see what changed since a snapshot
  • How restore works, and what keeps it safe

Know what changed, and be able to go back

When several people edit a threat model, you need to know who changed what, and to undo a bad day. The activity log records every change; Backup & Restore keeps point-in-time snapshots of the whole forest.

Steps

  1. Read the activity log

    On the forest page, click Activity log. Newest changes come first. Filter by type (diagrams, elements, connections, risks, assets, mitigations, comments, members, forest, API) or search for a person, item or action.

    ThreatTree's forest activity log showing Priya Shah adding mitigations and assets today, with filters for diagrams, elements, connections, risks, assets, mitigations, comments, members, forest and API.
    Every change, with who made it and when.
  2. Take a snapshot

    Click Backup & Restore, give the snapshot a label such as Before the December release, and click Create snapshot. A forest keeps up to 20 snapshots; the oldest are pruned automatically, and approved versions are always kept.

    ThreatTree's Backup and restore window with a snapshot labeled Before the December release, created by Priya Shah, and a Restore button.
    A labeled snapshot, ready to restore.
  3. See what changed

    Click What changed? next to a snapshot to compare it with the model as it is now: diagrams and elements added, removed or edited, connections, and every risk whose score moved. Use it before approving a new version, or to answer an auditor.

    ThreatTree's What changed dialog for the snapshot Before the December release: 2 diagrams and trees added, the Azure Data and Analytics Platform and Threats from Microsoft Threat Modeling Tool.
    What changed since a snapshot.
  4. Restore safely

    Click Restore next to a snapshot and confirm with your password. ThreatTree first takes an automatic safety snapshot of the current state, then replaces the forest's trees, nodes and edges with the snapshot's. Only the forest owner can restore.

Undo is different. Undo in the editors reverses your recent steps in one diagram; a snapshot restores the whole forest.

Practice

Try it

Take a snapshot of a forest named after your next release. Then open the activity log and filter it to risks.

This lesson covers Pro features. Not on Pro yet? Talk to us about Enterprise.

Open My Forests

Quiz

Check what you learned

Three quick questions. Your answers stay in this browser.

1 Who can restore a snapshot?
2 What happens just before a restore?
3 Does restoring merge the snapshot into the current forest?