Continuous scanning and alerts

Schedules, alert destinations, and security events to Splunk and Microsoft Sentinel.

On this page

Continuous mode

Schedules rescan a target automatically (Team and above). A schedule has an interval or a cron expression. The interval is at least 15 minutes, entered in minutes, hours or days. The cron expression has five fields and an IANA time zone, for example 0 3 * * 1-5 in Europe/Berlin.

Enfoa refuses expressions that never match or would run more often than every 15 minutes. Creating, changing, deleting and running a schedule needs the admin role. Every run is checked against your plan as it stands. It charges the scan and its planned cases to your monthly quota up front, and settles to the real count when it finishes.

After each run Enfoa compares the result with the previous scan of the same schedule and raises alerts. An alert reports new failures with the diff, changes to an MCP server's tools or prompts, a changed model behind the endpoint, a failed scan, or a schedule Enfoa had to disable. The app keeps alerts and you can acknowledge them there. Enfoa delivers them to up to ten destinations per organisation.

An e-mail destination sends at once to members of your organisation. Any other address on it, a team alias for example, is mailed a link first. It receives alerts once its holder has confirmed. Until then the destination shows it as waiting. Every alert e-mail carries a link that stops these e-mails for that address, member or not, until it confirms again. A generic webhook destination receives what the other destinations receive: the alert's type, severity, summary and ids. It never receives the evidence. An organisation sends at most 200 alert e-mails a day.

  • Slack: an incoming webhook on hooks.slack.com. The message lists up to ten alerts with severity, type and summary and links the scan.
  • Microsoft Teams: a webhook URL from the Workflows app in the channel, or an incoming webhook. Alerts arrive as a card with up to ten summaries and a button that opens the scan.
  • Webhook: HTTPS, signed as described under Webhooks and signing.
  • E-mail: one to ten addresses, sent by Enfoa. The form under Account, Integrations tells you whether this destination is available.

Enfoa sends to destinations side by side. One that has not answered within 45 seconds is marked with that as its last error, and it does not hold up the others. An accepted risk is announced once, when it is accepted, and again only if its end date changes.

Each destination has a minimum severity and an optional set of alert types. To retest only the failed cases, POST /api/v1/scans/{id}/replay (or "Retest failed cases" on the scan page) starts a retest of every failed case. It moves the findings it tested, and no rate or trend includes it. Neither a schedule's comparison nor the CI gate takes it as the previous scan.

Splunk and Microsoft Sentinel

On Business and Enterprise, a destination can be your SIEM. Add it under Account, Integrations like any other destination, or with POST /api/v1/alerts/sinks (kind splunk or sentinel). It receives the same things: what a scheduled scan found and what happened to a finding. The form and the guarantee differ. Each alert becomes one structured event, and an event is kept and retried until your SIEM has accepted it or 24 hours have passed.

What an event holds. Each event says what happened, to which agent and target, how severe it is, which finding it concerns and in what state, and who did it. It carries a link back. It never holds a prompt, a reply or evidence.

{
  "schema": "enfoa.event.v1",
  "event_id": "5f0c2a9e-7d1b-4c58-9a51-0c3f6f2b8e44",
  "time": "2026-11-13T09:14:07+00:00",
  "type": "finding.opened",
  "severity": "high",
  "summary": "New finding: Hands over credentials on Billing API",
  "organisation": {"id": "…", "name": "Acme"},
  "agent": {"id": "…", "name": "Billing agent", "environment": "production", "risk_tier": "high", "owner": "dana@acme.example"},
  "target": {"id": "…", "name": "Billing API", "kind": "http"},
  "finding": {"id": "…", "title": "Hands over credentials", "status": "open", "probe": "credential-leak", "strategy": "base64"},
  "scan_id": "…",
  "actor": "system",
  "link": "https://app.enfoa.com/scans/…"
}

type is one of finding.opened, finding.reopened, finding.fixed, finding.accepted, scan.new_failures, scan.mcp_drift, scan.model_drift, scan.failed, schedule.disabled and test. actor is the person's e-mail address when a person did it and system when a scan did. agent and finding are null when the event is not about one.

Delivery. Enfoa writes an event down before sending it, and sends it at once. If your SIEM is busy or unreachable, Enfoa tries again after a minute, then after two, four and so on. The gap grows to at most an hour, and Enfoa keeps trying for 24 hours. It honours a Retry-After from your side. The event_id is the same on every try, so you can recognise a repeat.

After 24 hours Enfoa gives an event up, and the destination shows how many were not delivered. If your SIEM refuses the credential, Enfoa disables the destination, shows the reason on it and records it in the audit log. Events from the last 24 hours are sent once you replace the credential and enable it.

Splunk

Create an HTTP Event Collector token in Splunk (Settings, Data inputs, HTTP Event Collector) and give Enfoa the collector's address and the token. An index and a source type are optional. Without them, Enfoa uses the token's default index and enfoa:event. Events arrive at /services/collector/event with the event above under event, and time, host and source set. Splunk does not drop repeats by itself, so when exact counts matter, remove them in the search:

sourcetype="enfoa:event" | dedup event_id | stats count by type, severity

Microsoft Sentinel

Sentinel receives events through the Azure Monitor Logs Ingestion API. You need three things in Azure: a custom table in the Log Analytics workspace behind Sentinel, a data collection rule that writes to it, and an app registration that has the role Monitoring Metrics Publisher on that rule.

Give Enfoa the directory (tenant) ID, the application (client) ID, a client secret, the logs ingestion endpoint, the rule's immutable ID and the stream name (Custom-EnfoaEvents_CL unless you named it otherwise). A new role assignment can take up to half an hour to apply. Until then Azure answers 403 and Enfoa keeps trying.

Each event is sent as one flat row. Declare these columns in the stream, all as string except TimeGenerated, which is datetime:

ColumnFrom the event
TimeGeneratedtime
EventIdevent_id
EventType, Severity, Summarytype, severity, summary
Organisation, OrganisationIdorganisation.name, organisation.id
Agent, AgentId, Environment, RiskTieragent.name, agent.id, agent.environment, agent.risk_tier
Target, TargetId, TargetKindtarget.name, target.id, target.kind
FindingId, FindingTitle, FindingStatus, Probe, Strategyfinding.id, finding.title, finding.status, finding.probe, finding.strategy
ScanId, Actor, Link, SchemaVersionscan_id, actor, link, schema

To count each event once in a query, summarise by its id:

EnfoaEvents_CL | summarize arg_max(TimeGenerated, *) by EventId | summarize count() by EventType, Severity