Tracking Logins with Geolocation
Every event sent to Immutable is automatically enriched with IP geolocation data (country and city). Track login events to build a baseline of normal access patterns:- JavaScript
- Python
- cURL
- JavaScript
- Python
- cURL
Configuring Alert Rules
New Country Alert
Triggers when an actor logs in from a country they haven’t been seen in before:Off-Hours Alert
Triggers when logins occur outside of normal business hours:Brute Force Detection with Repeated Action
Triggers when the same action occurs too many times in a short window:Webhook Alert Payload
When an alert fires, Immutable sends a webhook to your configured endpoint. The payload includes the triggering event and alert context:X-Immutable-Signature header for verification:
Always verify the HMAC signature before processing webhook payloads. This prevents attackers from spoofing alert notifications.
Querying Alerts via API
Retrieve recent alerts to build a security dashboard or feed into your incident management system:- JavaScript
- Python
- cURL
Full Security Monitoring Workflow
Here is the complete flow from login to investigation:- Track all logins — both successful and failed, with session IDs
- Alert rules fire — new country, off-hours, and brute force detections run automatically
- Webhook delivers alert — your security team gets a Slack/PagerDuty notification
- Investigate via API — query the actor’s recent events to understand the full context
- Take action — lock the account, require MFA re-enrollment, or confirm it was legitimate
- JavaScript
- Python
- cURL
What’s Next
Alert Rules
Full reference for all alert rule types and configuration.
Geolocation
How IP geolocation enrichment works.
Webhook Signatures
Verify the authenticity of alert webhook payloads.
Activity Intelligence
Learn about the full alert rules engine and delivery system.