Skip to Content
KubeSense

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

  1. 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.
  2. A breach raises a signal, or updates the group's signal if one is already open. Before that:
  3. You triage it in the Signals Explorer: assign it, change its severity, mark it under review, comment, and archive it with a reason.
  4. 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:

SourceWhat it holds
Scanner probesRequests 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.
TracesServer-side requests: what each service answered, and to whom.
LogsLog 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.

TabDescription
SignalsEvery signal, with filters, signals over time by severity, bulk triage and a drawer per signal
CasesRelated signals, grouped by a grouping strategy
Detection rulesThe built-in and custom rules: switch them on or off, clone, create and edit
SettingsA left menu: Suppressions, Critical assets, Grouping and Notification rules

Turning It On

Security Signals is off until it is enabled in two places:

ComponentSetting
Web appENABLE_SECURITY=true shows the Security menu
Rule engineSECURITY_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_url and workflows.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, or DASHBOARD_HOST on the API), for the links in alerts to open the signal.

Signals are stored in the KubeSense database, which an upgrade sets up.

Permissions

PermissionWhat it allows
Security Signals — ViewerSee signals, cases, detection rules and settings
Security Signals — EditorAlso 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.

On this page