Security Signals
Detection rules over scanner probes, traces and logs raise signals you triage, group into cases and get notified about.
Security Signals watches the data KubeSense already collects for signs of an attack — a scanner probing your services, a source guessing passwords, a service logging authentication failures — and raises a signal when a detection rule's threshold is crossed. You triage signals, related ones are grouped into cases, and the ones that matter reach your alert channels.
How It Works
- Detection rules run every minute. Each detection rule counts matching events in one source over a window (for example, 401 and 403 answers per source IP and service in 5 minutes). A group of events that reaches the rule's threshold is a breach. Built-in rules cover the common cases; you can clone them or write your own.
- A breach raises a signal, or updates the group's signal if one is already open. Before that:
- a suppression can stop it, for traffic you know is harmless, such as your own scanner;
- a critical asset can raise (or lower) its severity one level;
- a grouping strategy can put it in a case with related signals.
- You triage it in the Signals Explorer: assign it, change its severity, mark it under review, comment, and archive it with a reason.
- Notification rules send live signals to your alert notification channels, and resolve the alert when the signal is archived.
Rules read events up to about two minutes old, so a signal usually appears two to three minutes after the events that raised it.
Sources
A rule reads one of three sources:
| Source | What it holds |
|---|---|
| Scanner probes | Requests for paths only scanners ask for (/.env, /.git/config, /wp-login.php, /actuator/env, …), as KubeSense sees them on the server side, with the source IP past any proxy. Every probe counts, whatever the server answered. |
| Traces | Server-side requests: what each service answered, and to whom. |
| Logs | Log lines, matched on their text. |
Scanner probes come from the Kubernetes clusters where the KubeSense sensor runs. Security → Scanner activity shows them over time.
Pages
Open Security → Signals.
| Tab | Description |
|---|---|
| Signals | Every signal, with filters, signals over time by severity, bulk triage and a drawer per signal |
| Cases | Related signals, grouped by a grouping strategy |
| Detection rules | The built-in and custom rules: switch them on or off, clone, create and edit |
| Settings | A left menu: Suppressions, Critical assets, Grouping and Notification rules |
Turning It On
Security Signals is off until it is enabled in two places:
| Component | Setting |
|---|---|
| Web app | ENABLE_SECURITY=true shows the Security menu |
| Rule engine | SECURITY_SIGNALS_ENABLED=true runs the detection rules. SECURITY_SIGNALS_INTERVAL sets how often, as a duration from 1m to 5m (default 1m). |
It also needs:
- traces or logs to be enabled;
- the rule engine's
workflows.api_base_urlandworkflows.relay_token, and the same relay token on the API — the settings Workflows use. Without them the rule engine does not start and the API does not take its results; - Alertmanager enabled, for notifications;
- the dashboard host (
dashboard_host, orDASHBOARD_HOSTon the API), for the links in alerts to open the signal.
Signals are stored in the KubeSense database, which an upgrade sets up.
Permissions
| Permission | What it allows |
|---|---|
| Security Signals — Viewer | See signals, cases, detection rules and settings |
| Security Signals — Editor | Also triage signals (status, assignee, severity, comments), and change detection rules, suppressions, critical assets, grouping strategies and notification rules |
| Notification Channels (under Alerts) | Also needed to pick channels in a notification rule |
Admins grant Security Signals in Settings → Role Access. On upgrade, each role gets the access it has to Traces; Admin always has Editor.