Skip to Content
KubeSense

Grouping

Grouping strategies decide which signals are related and go in one case.

A grouping strategy says which signals are related: the ones that share a value within a lookback. Related signals go in a case, which you triage and get notified about as one. This is Datadog's signal grouping.

Open Security → Signals, then Settings → Grouping. The list shows each strategy, its rules and how many cases it formed. View cases opens the Cases tab.

Creating a Strategy

Click New grouping strategy.

FieldWhat it sets
NameHow it is listed, and how its cases name it
Signals that shareSource IP, Service, Namespace, Domain or Host
WithinThe lookback, 5 minutes to 7 days (6 hours by default): a new signal looks back this far for related ones
Detection rulesThe rules whose signals it groups. Empty: every rule.
EnabledWhen on, it groups each new signal (with earlier related signals that are in no case); its cases stay when it is off

A signal's value for the field is its own group value if its rule groups by that field; for Service, Namespace and Domain it is otherwise where the signal happened. A signal with no value for the field is not grouped by that strategy. Host is a log field, so only custom rules over logs that group by it give signals a host.

Examples

StrategyGroups
Source IP, within 6 hoursOne attacker's brute force, secret-file probes and sweep into one case
Service, within 1 hourEverything that hit the same service in a burst
Namespace, within 1 dayA day's signals about one team's namespace

Several Strategies

A signal goes in one case at most. When several strategies apply to it, the oldest one that finds it related signals decides; the list shows strategies oldest first. See how signals join a case.

Changing a strategy's field or lookback applies to new signals; its existing cases stay as they are. Deleting a strategy stops it grouping; its cases stay.

On this page