Integration Architecture
Event Types
SoCMate generates notification events for the following actions:| Event | Trigger | Typical Use |
|---|---|---|
incident-alert | New Medium/High/Critical incident synced from Sentinel | Create a ticket, trigger a SOAR playbook |
investigation-completed | Scheduled investigation finishes | Review results, update case management |
investigation-failed | Scheduled investigation encounters an error | Alert on-call analyst, trigger retry logic |
schedule-disabled | Schedule auto-disabled after 5 consecutive failures | Notify admin for review |
SOAR Integration Pattern
The recommended integration pattern uses SoCMate’s API for pull-based integration:Set up polling or event triggers
Configure your SOAR platform to periodically poll SoCMate for new incidents or investigation results, or use SoCMate’s notification system to receive events.
Trigger investigations
When your SOAR playbook identifies an incident that needs investigation, trigger a SoCMate investigation:
Notification Payload Format
Events delivered through SoCMate’s notification system follow this structure:Incident Alert
Investigation Completed
Investigation Failed
Example: XSOAR Playbook
A typical XSOAR integration flow:Example: Sentinel Playbook (Logic App)
SoCMate can be called from a Microsoft Sentinel Playbook (Azure Logic App) when an incident is created:API Endpoints for Integration
| Endpoint | Method | Description |
|---|---|---|
/api/v1/incidents | GET | List synced Sentinel incidents |
/api/v1/incidents/{number} | GET | Get incident details |
/api/v1/incidents/{number}/enrich | POST | Trigger deterministic enrichment |
/api/v1/investigations/start | POST | Start an investigation |
/api/v1/sessions/{id} | GET | Get investigation results |
/api/v1/search | GET | Search past investigations |
/api/v1/graph/entity/{value} | GET | Query knowledge graph |
Best Practices
- Use dedicated API keys — Create a separate API key for each integration with minimum required scopes
- Handle rate limits — Implement retry logic with exponential backoff for
429responses - Poll efficiently — Use time-based filters (
timespan) to avoid re-processing old data - Check investigation status — Investigations take 30-120 seconds; poll the session endpoint rather than blocking
- Log API key usage — Monitor
last_used_atin the admin panel to track integration activity
