Skip to main content
A vintage metal watering can in side profile with a long spout, drawn in dots

AI alert enrichment: what context an agent needs before a verdict

AI alert enrichment has an agent choose and run the lookups each alert needs: owner, reputation, prevalence, and related activity. What to attach and the limits.

Guide
Updated 10 min read

Summary

Alert enrichment attaches the context a triage verdict depends on, such as who owns the account or host, whether an indicator is known bad, whether the behavior is normal here, and what else happened around it, and AI agents now gather it per alert instead of through fixed lookups. Legacy SIEM and SOAR enrichment runs the same lookups at ingest or in a playbook, so it covers only data the SIEM holds and fields mapped in advance. Agent-native platforms such as Cotool have an AI agent query connected tools directly during each investigation and keep what it learns about the environment in shared memory that later runs read.

Key takeaways

  1. Let an AI agent pick the lookups each alert raises, such as one user's recent sign-ins or a domain's related infrastructure, and keep only cheap, stable context like entity mapping at ingest.
  2. Attach internal context first: asset owner and criticality, the user's manager and employment dates. It changes more verdicts than another reputation score.
  3. Treat reputation as one input. A benign scanner or a clean VirusTotal report lowers priority; it doesn't close an alert on its own.
  4. Budget your lookups. A free VirusTotal key allows 4 requests a minute and bars commercial use, and anything you query joins VirusTotal's dataset.
  5. Write confirmed facts about your environment back where the next investigation reads them, so a known backup job or service account isn't researched twice.

The short version

An alert on its own is a claim: this process ran, this user signed in from there, this host resolved that domain. Enrichment turns the claim into something you can rule on. For every entity in the alert, it should answer four questions:

  1. What is it, and who owns it? The host's owner, business unit, and criticality; the user's role, manager, and whether they still work here.
  2. Is it known bad? Reputation for the IP address, domain, URL, or file hash from threat intelligence.
  3. Is it normal here? How many of your hosts or users touch the entity, and when it was first seen.
  4. What else happened? Activity from the same user, host, or indicator around the alert's time.

Most enrichment programs over-invest in the second question because it's the easiest to automate, and under-invest in the first and third, which decide more verdicts. AWS's Well-Architected guidance gives the pattern: Amazon GuardDuty might rate an instance querying an unexpected domain as low criticality, but correlation that shows several hundred instances were launched by the same identity justifies raising it to high. The reputation lookup didn't change the verdict there; the surrounding context did.

What each question needs

Ownership and criticality come from your asset and identity sources. Splunk Enterprise Security compares events against merged asset and identity lists at search time, matching src, dest, and dvc fields to assets and user fields to identities, and adds the matching fields to the event. The asset lookup carries owner, priority, bunit, and category; the identity lookup carries managedBy, startDate, and endDate, which is how an alert on a departed employee's account gets flagged. Microsoft Sentinel uses watchlists for the same job, with high-value assets and terminated employees as Microsoft's own examples, up to 10 million active items per workspace. Cotool agents pull this context from the systems that own it instead of a copied list: Cotool has added integrations such as ChartHop for people and organization context (v0.56.0) and BlueTally for hardware, license, and asset-assignment history (v0.75.0).

Reputation comes from intelligence services. VirusTotal returns analysis reports for files, URLs, domains, and IP addresses. GreyNoise answers a different question, whether an IP address is mass-scanning the internet: its Community API reports noise: true when the address was seen scanning in the last 90 days, plus a classification such as benign or malicious. Cotool's threat intel enrichment walkthrough shows an agent extracting the indicators from an alert, looking them up, following VirusTotal relationships to related infrastructure, and then searching your own logs for any host that reached them.

Prevalence is the most underused context. Google Security Operations computes it as derived context in its Entity Context Graph: a popularity value for domains, file hashes, and IP addresses in your environment, plus first-seen and last-seen times, because "more popular entities generally pose less risk." A domain one laptop contacted for the first time yesterday deserves a different response than one most of your fleet resolves every day. The catch is that the statistic is calculated from activity the SIEM has ingested, so a source you don't send it has no prevalence. Cotool agents query connected tools and data lakes directly, and each agent has an isolated Linux sandbox with cloud CLIs where it can parse an exported log and count occurrences itself.

Surrounding activity is a scoped log search. Cotool's system prompt examples tell the agent to search Splunk for the affected user and host over the past 24 hours and to check whether the user or host has a history of alerts. Since v0.66.0, Cotool gives response agents prior-alert context and duplicate handling during triage, so related alerts arrive with the investigation instead of in a separate queue.

Fixed lookups at ingest vs AI enrichment during the investigation

Legacy enrichment is configured ahead of time. In Microsoft Sentinel, entity mapping enriches a scheduled analytics rule's alerts and incidents: you map query columns to entity types, with up to 10 mappings per rule and up to three identifiers per mapping. Google Security Operations SOAR packages enrichment as reusable playbook blocks that run on the entities in an alert, with thresholds such as VirusTotal's engine_threshold set in advance. Both designs decide which lookups run before anyone has seen the alert.

That works for context every alert needs, and it has limits worth knowing. Sentinel identifies at most 500 entities in a single alert, divided equally across the rule's mappings, so two mappings get 250 each; entities past the limit are not extracted, and the entities field is truncated at 64 KB. A playbook runs the same blocks whether the alert needs them or not, and it can't ask a follow-up question when a lookup comes back strange.

The better split is to do cheap, stable enrichment at ingest (entity mapping, asset priority, watchlist membership) and leave the alert-specific lookups to the investigation. An analyst does this naturally: a sign-in alert gets a look at the user's recent sign-ins and devices, while a process alert gets the parent process and the file hash. Cotool's response agents work the same way. Its documentation describes an alert enrichment agent that pulls the SentinelOne alert, searches Splunk for related activity, checks hashes in VirusTotal, and writes the findings to the Jira ticket, choosing among the tools it was granted. Agents call over 100 built-in integrations plus custom MCP and CLI tools, so the lookups aren't limited to the SIEM's own data.

Step by step

  1. Map entities with strong identifiers. In Sentinel's entity reference, an account name alone is a weak identifier, while a name plus UPN suffix, a Microsoft Entra user ID (AadUserId), or a SID is strong. Microsoft's guidance is to use multiple strong identifiers where possible, because they enable greater correlation between data sources.
  2. Attach ownership and criticality. Join the host to its owner and priority and the user to their manager, department, and employment dates. Keep the asset list current: Splunk merges assets that share a key field such as an IP address, so two systems that reuse an IP address can end up as one merged asset.
  3. Check reputation within your license. VirusTotal's Public API is limited to 500 requests a day at 4 a minute, and it must not be used in commercial products or business workflows that don't contribute new files. The Premium API's limits follow your license.
  4. Measure prevalence. Count how many hosts or users touched the entity over a baseline window, and note first-seen time. Rare plus new is the combination that should raise priority.
  5. Pull the surrounding window. Search the same user and host for the 24 hours around the alert, and check for earlier alerts on either.
  6. Record the evidence with the verdict. Cotool's triage instructions have the agent add a final summary comment with evidence, conclusion, and gaps before updating status, and escalate confirmed malicious alerts for a person to close as true positive.
  7. Write back what you learned. When the investigation establishes a fact about your environment, store it where the next one reads it. Since v0.73.0, an analyst can confirm a suggested statement about the environment from the alert page or Slack to close an escalated alert, and later triage runs reuse it as context.

Common mistakes

  • Closing on reputation alone. GreyNoise's own guidance is to lower priority for a known benign scanner, not to auto-close, because even known benign actors can be compromised. A clean reputation result reports what a service has seen, not what it hasn't.
  • Querying sensitive indicators. VirusTotal's API documentation says any indicator submitted or queried through the API is scanned and added to its dataset, where the community can see it. Don't look up internal hostnames, internal URLs, or anything containing personal data.
  • Enriching everything. Running every lookup on every entity burns API quota and buries the result that mattered. Cotool's agent docs make the same point about tools: grant only what the task needs, because every tool is described to the model, adds token usage, and can confuse the agent.
  • Losing entities silently. An alert with hundreds of IP addresses can exceed Sentinel's 500-entity limit or its 64 KB entities field, and the dropped entities are never enriched. Split the rule or summarize the list.
  • Forgetting what the team already learned. If a nightly job triggers the same alert every week, each analyst who researches it from scratch is paying for missing enrichment. That fact belongs in a lookup, a watchlist, or agent memory.

How Cotool approaches enrichment

Cotool treats enrichment as part of the investigation rather than a step before it. On Cotool's AI SOC, agents pick up every alert when it lands, gather context across your tools, and close or escalate it with the evidence attached. Outbound traffic from each agent's sandbox is restricted per agent, so the hosts a triage agent can reach are a setting you review, not an open internet connection.

What agents learn carries forward. Cotool keeps what agents learn about your environment in shared global memory files that every agent reads and your team can inspect; its examples include "svc-backup runs rclone nightly on backup hosts" and "Okta is the source of truth for employee status." The next alert on that backup host starts from that fact. What is an AI SOC covers how the rest of an agent investigation fits together, and what is alert fatigue covers where enrichment sits among the other fixes for alert volume.

Checklist

  • Every analytics rule maps users, hosts, IP addresses, and hashes with strong identifiers.
  • Asset owner, criticality, and the user's manager and employment dates are attached to every alert.
  • Reputation sources are licensed for automated use, and internal indicators are never sent to public services.
  • Prevalence and first-seen time are available for the sources your detections depend on, including ones the SIEM doesn't store.
  • Triage pulls a 24-hour window of related activity and prior alerts on the same user and host.
  • Verdicts carry their evidence, conclusion, and gaps, and confirmed malicious alerts go to a person.
  • Confirmed facts about the environment are written back where the next investigation reads them.
  • Rules with large entity lists are checked against your SIEM's per-alert entity limits.

For a worked example of the same steps on a single alert type, see automated phishing analysis, and for the definition, see alert triage.

FAQ

What is alert enrichment in a SOC?
Alert enrichment in a SOC is adding context to an alert's entities (users, hosts, IP addresses, domains, file hashes) before anyone decides the verdict. Typical enrichment covers asset owner and criticality, identity details, threat intelligence reputation, how common the entity is in your environment, and related activity around the same time.
What is the difference between alert enrichment and alert correlation?
Alert enrichment adds facts about the entities in one alert, such as an IP address's reputation or a host's owner. Alert correlation links an alert to other events and alerts that share those entities. AWS's Well-Architected guidance treats them together, because correlated activity can raise or lower an alert's true severity.
Should alert enrichment happen at ingest or during investigation?
Alert enrichment works best split across both. Cheap, stable context such as entity mapping and asset priority belongs at ingest, while lookups that depend on the alert, such as checking a specific user's recent sign-ins or pivoting from a domain to related infrastructure, belong in the investigation, where an analyst or agent decides which questions the alert raises.
Can AI agents do alert enrichment?
AI agents can do alert enrichment by extracting indicators from the alert, calling threat intelligence and identity tools, and searching logs for related activity, then recording the evidence with their verdict. Cotool's documentation describes an alert enrichment agent that pulls a SentinelOne alert, searches Splunk, checks hashes in VirusTotal, and updates the Jira ticket.

Sources

  1. Map Data Fields to Microsoft Sentinel Entities | Microsoft Learn · accessed November 29, 2026
  2. Scheduled analytics rules in Microsoft Sentinel | Microsoft Learn · accessed November 29, 2026
  3. Microsoft Sentinel entity types reference | Microsoft Learn · accessed November 29, 2026
  4. Use Watchlists to Correlate and Enrich Event Data in Microsoft Sentinel | Microsoft Learn · accessed November 29, 2026
  5. Entity Context Graph overview | Google Security Operations · accessed November 29, 2026
  6. Create an enrichment playbook block | Google Security Operations · accessed November 29, 2026
  7. Manage assets and identities to enrich findings in Splunk Enterprise Security · accessed November 29, 2026
  8. Extract asset and identity data in Splunk Enterprise Security · accessed November 29, 2026
  9. SEC04-BP03 Correlate and enrich security alerts - AWS Well-Architected Security Pillar · accessed November 29, 2026
  10. Public vs Premium API | VirusTotal · accessed November 29, 2026
  11. Get a domain report | VirusTotal API · accessed November 29, 2026
  12. VirusTotal API v3 Overview · accessed November 29, 2026
  13. Applying GreyNoise Data to Your Analysis · accessed November 29, 2026
  14. Using the GreyNoise Community API · accessed November 29, 2026
  15. AI SOC Without the Black Box | Cotool · accessed November 29, 2026
  16. AI Alert Triage and Incident Response Agents | Cotool · accessed November 29, 2026
  17. Threat Intel Enrichment in an AI SOC | Cotool · accessed November 29, 2026
  18. Creating Agents - Cotool Documentation · accessed November 29, 2026
  19. System Prompts - Cotool Documentation · accessed November 29, 2026
  20. Working Alerts - Cotool Documentation · accessed November 29, 2026
  21. Alert Triage - Cotool Documentation · accessed November 29, 2026
  22. Cotool Release Notes - Cotool Documentation · accessed November 29, 2026

Keep reading

Attackers are scaling with tokens

Cotool helps defenders operate at machine speed. See how security teams are scaling Detection & Response.

Book a demo