User and operator guide · Operations

Configure Detection Rules

Status: currentReviewed: 2026-07-14Audience: operators, security administrators
On this pageThe Three SectionsDefaultsGroup RulesAnomaly PenaltiesGuardrailsVerify

Use this workflow to tune trust-score thresholds, breach actions, and anomaly penalties. A group rule set to terminate_session expresses the desired response after Atlas has accepted current enforcement-grade evidence; it does not turn an advisory or raw numeric score into termination authority.

Important

The repository’s default TrustAI bundle is advisory-only. With that bundle, threshold crossings are recorded and displayed but cannot automatically terminate a session. Do not describe a saved rule as live automatic enforcement until the active bundle is independently evaluated, calibrated, signed, promoted for enforcement, and the deployment enforcement gate is enabled.

Open Security → Detection Rules. Viewing requires configuration.read; editing requires configuration.manage. Saved changes hot-reload into the running evaluator without a restart.

The Three Sections

Defaults

Applied when a session’s user matches no group rule.

Option Effect

Trust threshold (0-100)

Sessions scoring below this receive the default action.

Action on breach

alert_only records the event; terminate_session permits termination only after the enforcement evidence and safety gates pass.

Check interval (seconds)

How often each session’s trust score is re-evaluated.

Group Rules

Most-specific matching group wins. Each rule adds, per directory group:

Option Effect

Group

The directory group the rule applies to.

Threshold (0-100)

Trust-score floor for this group.

Action

alert_only or terminate_session.

Grace (0-300 seconds)

Delay before termination after a breach.

Detail: notification

Enable on-breach notification, choose channels (email, SMS, webhook), and list recipients and an escalation threshold.

Detail: require MFA

Advisory expectation that the group holds multi-factor.

Use Add group rule to add a group and Remove to delete one. Open Detail to edit notification and attribute settings.

Anomaly Penalties

Four fixed anomaly types (impossible_travel, mac_spoofing, lateral_movement, privilege_escalation), each with:

Option Effect

Penalty (-100 to 0)

Score reduction applied when the inference engine flags the anomaly. 0 disables the penalty.

Immediate action

Desired response to a validated anomaly; advisory evidence remains alert-only.

Bypass grace period

Whether validated enforcement evidence may bypass a group grace period; it does not bypass model assurance, corroboration, protected-session, or revocation-budget gates.

Guardrails

Atlas rejects a save, naming the fault, when a threshold is outside 0-100, a grace period is outside 0-300, an anomaly penalty is outside -100 to 0, a notification channel is not email/sms/webhook, or two group rules share a name. The editor runs the same checks before submitting.

Verify

  1. Raise a group threshold and set the group to terminate_session, then save. Expected: the save notice confirms the rule update without claiming that the current model is enforcement-ready.

  2. Cross the threshold with the shipped advisory bundle. Expected: Atlas records the score movement and retains the session in alert-only mode with an explicit reason.

  3. In a controlled validation environment, use a signed enforcement test bundle satisfying the promotion contract and provide corroborated authoritative events. Expected: the decision evidence identifies every passed gate; protected sessions and an exhausted shared revocation budget still prevent automatic termination.

  4. Confirm the platform still starts when the database is unavailable — the evaluator falls back to the shipped embedded defaults rather than failing to boot.