DonutworkHelp Center
Sentinel
Donutwork documentation

Sentinel Risk Configuration

Fine-tuning risk scores, weights, and decision thresholds.

Sentinel Configuration

Sentinel allows you to "train" the risk engine based on your specific security needs. You can decide how much weight to assign to various security events.

Authentication factors

The first settings card controls the delegated authentication services:

  • Time-based OTP enables rotating TOTP verification codes.
  • Passkeys enables phishing-resistant WebAuthn authentication.
  • Email magic links enables delegated passwordless email authentication.

Magic-link details remain collapsed until the factor is enabled. Before saving an enabled configuration, register at least one exact HTTPS callback URL. The allowlist may be empty only while magic links are disabled.

Magic-link settingAllowed valueDefault
Link lifetime120–1800 seconds600 seconds
Resend cooldown0–900 seconds60 seconds
Request limit window300–86400 seconds3600 seconds
Maximum requests per window1–205
Maximum verification attempts3–208
Callback allowlistUp to 20 exact HTTPS URLsEmpty while disabled

See Delegated Email Magic Links for the trust model and application responsibilities.

Score Adjustments (Weights)

Every suspicious event adds a value to the total Risk Score (from 0.0 to 1.0). You can adjust the following parameters:

  • Malware/Threat IP Flag: High risk score for IPs found in global blacklists.
  • TOR/VPN Flag: Risk associated with anonymizing networks.
  • Unknown IP / Country: Extra risk added when a user logs in from a location or IP never seen before.
  • New User Agent: Risk for using a new browser or hardware.

Risk Reduction

  • Session Continuity Reduction: This negative value reduces the risk score if the user maintains a stable, known session. This is vital for avoiding "false positives" during normal app usage.

Decision Thresholds

Define the limits at which Sentinel recommends an action to the integrating application:

ThresholdDescription
Challenge MFA ThresholdIf the score is >= this value, Sentinel recommends a stronger factor.
Deny ThresholdIf the score is >= this value, Sentinel recommends denying access.

Calibration Warning

Setting a Deny threshold too low (e.g., 0.40) may produce deny advice for legitimate users who are traveling or using new devices. Start with conservative thresholds and monitor the dashboard before enforcing advice in your application.


T-OTP Integration

Sentinel allows you to globally enable or disable the Time-Based One-Time Password service. When enabled, you can offer 2FA via apps like Google Authenticator or Authy using Donutwork's native APIs.

On this page