Skip to main content

Identity Risk

Plans: Identity Risk is included in Pro, Pay as you go and Enterprise. Compare plans.

Overview​

Identity Risk reads authentication events from your identity provider and raises an alert when a sign-in pattern is not physically or behaviourally plausible. Every alert carries the numbers that produced it, so you can judge it rather than take it on trust.

It is an ingest-driven feature: Dralvia does not connect to your directory and does not read your users. You send sign-in events; Dralvia evaluates them.

What it detects​

Two alert types are raised today. Both are deterministic, the same events always produce the same alert.

Impossible travel​

Two sign-ins from locations far enough apart that the journey between them could not have happened in the time available.

ConditionValue
Minimum distance between the two sign-ins500 km
Minimum implied speed to alert at all600 km/h
Implied speed treated as high severity900 km/h

Both events must carry latitude and longitude. Without coordinates the check is skipped rather than guessed at, so an event with no geolocation never produces a false alert.

The alert records the distance in kilometres, the hours between the two events, the implied speed, both locations, and whether the country changed. The explanation is written out in full, for example:

User j.smith would need to travel 4,812 km in 1.4h (≈3,437 km/h).

Session hijack​

The same session observed with characteristics that changed when they should not have. Four signals are considered: the IP address, the user agent, the country, and the geographic position.

  • One signal alone is not an alert when it is only an IP change with no country or geographic movement, that is ordinary network behaviour, and alerting on it would bury the real ones.
  • Severity is high when the country changed, when position and user agent both changed, or when the user identity on the session differs.
  • Otherwise the alert is medium.

Sending events​

POST https://dralvia.tech/api/identity/events
Authorization: Api-Key <key>

Accepts either a list of events or an object with an events list. Up to 500 events are processed per request, and the endpoint is rate-limited to 240 requests per minute. It takes a workspace API key (not a limited one) or a console session.

{
"events": [
{
"user_id": "j.smith",
"username": "[email protected]",
"session_id": "sess-8c1f",
"event_type": "login",
"ip_address": "203.0.113.10",
"country": "IE",
"city": "Dublin",
"latitude": 53.35,
"longitude": -6.26,
"user_agent": "Mozilla/5.0 ...",
"timestamp": "2026-08-03T09:12:00Z"
}
]
}

user_id is required. The IP address is read from ip_address (ip is accepted too), and event_type defaults to login. Events without a usable shape are counted as invalid and skipped; the response reports how many were saved, how many were invalid, and how many alerts were created, so a malformed integration is visible immediately rather than silently dropping data.

Reviewing alerts​

Alerts are reviewed in Identity Risk, with the contributing context attached to each alert, and OAuth grants in OAuth Risk. The endpoints behind them (/api/admin/identity/alerts, /summary, /events, /alerts/{id}/evidencepack and /api/admin/oauth/risks) take a signed-in console session, not an API key.

Responding​

Revoking a session is done by Dralvia support at your request: contact support with the user and session. Each revocation is recorded and shown in the Recent Revocations table in Identity Risk. A revoke reports revoked when it reached your identity provider, or simulated when it was recorded without an upstream revocation (for example when no provider integration is configured): an action that did not reach your provider is never reported as though it did.

Limitations and assumptions​

  • You supply the events. There is no directory connection and no user enumeration. Coverage is exactly what you send.
  • Geolocation must be in the event. Dralvia does not resolve IP addresses to coordinates for this check, so impossible travel only evaluates events that already carry latitude and longitude.
  • Two alert types today: impossible travel and session hijack. Other identity risk signals are not inferred.
  • Revocation depends on your provider integration. Without it, actions are recorded as simulated, and the audit trail says so.
  • Alerts are workspace-scoped. You can access only alerts belonging to your workspace.