Why this fired
When a watcher fires, Huntbase records the rule behind the alert at that moment. Later, you can see exactly what ran, even after the rule has changed. This is called detection provenance. It works for every watcher: rules from TruePattern and SigmaHQ, Huntbase's own watchers, rules your team wrote and rules Scout drafted.
What every alert records
Each alert a watcher raises keeps:
| Item | What it tells you |
|---|---|
| The watcher and its version | The watcher that fired and the exact version of its rule that ran. If the rule has been edited since, you still see the version that fired, not today's. |
| Where the rule came from | TruePattern, SigmaHQ, a Huntbase watcher, a rule your team wrote, a copy your team customised from the Content library, or a rule Scout drafted. |
| The upstream rule | For rules from TruePattern or SigmaHQ: the rule's upstream name, the revision you ran and a link to its source. |
| Its licence | The licence the rule is published under, with a link. |
| The latest change | The change note for the revision that ran, when the source publishes one. TruePattern change notes say what changed and why. |
| ATT&CK techniques | The techniques the rule is tagged with. |
| Whether you tuned it | Whether your organisation had edited the rule since it was imported. An alert from a tuned rule says so, so nobody mistakes your change for the upstream rule. |
What matched is shown alongside: the conditions that matched, where the watcher recorded them.
Where you see it
- Insights. Open a detection in Activity › Insights and look at Why this fired on its Information tab. It shows the rule, the version that fired, its source, licence and change note, next to the conditions that matched.
- Hunts started by a watcher. The hunt's header names the watcher that started it, with the version that fired.
- Customer reports. When a report covers an alert, it includes a line on the detection source, with the rule's licence and attribution.
The watcher's Source section
Open a watcher and go to Looks for. For a rule with an upstream source, such as TruePattern or SigmaHQ, the Source section shows:
- From: the source, with a link to the upstream rule;
- Revision in use and Licence;
- Last checked, and the change note for the revision you run;
- Tuned by your org when your organisation has edited the rule. Upstream updates never overwrite your edits;
- <Source> has a newer version of this rule when a newer revision is waiting for review, with its change note under What changed and why it's waiting: your organisation edited the rule, the new revision failed to compile or failed a test, or your connection is set to Review each update;
- whether the rule was withdrawn upstream (and so turned off), or is no longer upstream.
Anyone who can manage watchers in your organisation can click Adopt update, which saves the waiting revision as the watcher's next version through the same checks as any edit, or Dismiss. A dismissed update comes back if the upstream rule changes again. See TruePattern › How updates work.
Ask Scout to explain an alert
Ask Scout about an alert and it uses the same record. It can tell you, or a client, which rule fired and which version, what the rule looks for, where it came from and under which licence, what the latest upstream change was, and whether your team tuned it. Use Ask Scout on the insight, or ask in a hunt the alert started.
This helps when you run detection for others: Scout can explain an alert to a client in plain words, with the rule's source and attribution.
Alerts raised before this feature
Huntbase started recording the rule behind each alert when this feature was released. Alerts raised before then don't have this record. Why this fired says Source not recorded for alerts raised before this was added., and Scout says so rather than guessing. The watcher's current rule is still shown on the watcher, but it may not be the version that raised an older alert.
Next steps
- TruePattern: import maintained detection rules
- Insights: judge what watchers raise
- Watchers › History: every version of a watcher's rule
- Chatting with Scout