LLM-Powered Security Incident Response and Automation
agoda · Tech · 2025 · source Agentic: yes · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)
Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.
Problem
Domain: Security incident response operations
Agoda needed to reduce repetitive security-operations workload across alert triage, phishing reports, and incident documentation while preserving conservative human oversight for high-stakes incident response.
Constraints:
- The platform serves millions of users and processes sensitive data including PII, payment credentials, and booking histories.
- Security operations span hundreds of microservices, distributed systems, and multiple cloud environments.
- Level 1-2 alert investigations previously took 20 to 40 minutes each.
- Hundreds of weekly phishing reports required analyst review despite fewer than 2% being true phishing.
- Incident reports took 5 to 7 hours to compile from scattered Slack, Jira, Confluence, Teams, and email context.
- Security workflows must prefer over-escalation to missed threats.
Architecture
Agoda built three targeted LLM-powered security workflows: a RAG-backed alert triage system that retrieves similar incidents and produces summaries, impact assessments, and escalation verdicts; a fully autonomous phishing classifier that enriches reports with header and metadata intelligence before responding in real time; and a human-reviewed incident-report generator that consolidates investigation context into structured reports. The systems are integrated into existing security pipelines and tuned toward conservative escalation.
Diagram confidence: explicit (topology described by the source).
flowchart LR Alert["Security alert pipeline"] --> Context["Alert context collector"] Context --> Retriever["Historical incident retriever"] Retriever --> Triage["Alert triage LLM"] Context --> Triage Triage --> Escalation["Human escalation review"] Parser["Phishing enrichment parser"] --> Phish["Phishing classifier LLM"] Phish --> Response["Automated response sender"] Incident["Incident context collector"] --> Report["Incident report LLM"] Report --> Reviewer["Human report reviewer"]
Components
| Component | Role | Interacts with |
|---|---|---|
Security alert pipeline |
Receives recurring security alerts and triggers triage automation from Agoda's existing monitoring flow. | Alert context collector |
Alert context collector |
Gathers event timelines and metadata needed to analyze an alert. | Security alert pipeline, Historical incident retriever, Alert triage LLM |
Historical incident retriever |
Queries a vector database of past incidents and root-cause analyses for relevant cases. | Alert context collector, Alert triage LLM |
Alert triage LLM |
Generates security-alert summaries, impact assessments, and escalation verdicts. | Alert context collector, Historical incident retriever, Human escalation review |
Phishing enrichment parser |
Parses reported emails and enriches them with header, metadata, and threat-intelligence signals. | Phishing classifier LLM |
Phishing classifier LLM |
Classifies submitted emails as phishing, spam, or safe and triggers real-time reporter responses. | Phishing enrichment parser, Automated response sender |
Incident context collector |
Collects investigation context from communication and work-tracking systems after an incident is resolved. | Incident report LLM |
Incident report LLM |
Drafts structured incident timelines, detection signals, impacts, and resolution steps. | Incident context collector, Human report reviewer |
Human escalation review |
Reviews over-escalated or high-stakes cases to avoid missed threats. | Alert triage LLM, Incident report LLM |
Human report reviewer |
Validates drafted incident reports before publication to internal documentation. | Incident report LLM |
Automated response sender |
Sends real-time classification responses to phishing reporters. | Phishing classifier LLM |
Data flow
Security alerts enter Agoda's existing pipeline, have timelines and metadata collected, retrieve similar historical cases from a vector database of past incidents and root-cause analyses, and are summarized by an LLM into impact and escalation judgments. Phishing reports are parsed, enriched with threat intelligence, classified by an LLM, and answered automatically. Resolved incidents gather context from investigation systems and communication channels, then an LLM drafts structured reports for human validation.
"Trigger: Alerts enter the system through Agoda’s existing security pipeline.
- Context Collection: The system gathers a timeline of events and metadata related to the alert."
3 supporting quotes
- An LLM summarizes the incident timeline, detection signals, impact, and resolution steps"
— article, stated
Why this architecture
Agoda avoided a single broad security automation system and instead built narrow workflows around repeatable, measurable operational bottlenecks. RAG gives alert triage organization-specific historical context, autonomous phishing classification is used where the process is structured and monitored, and report generation retains human review because post-incident documentation must be accurate and compliant.
4 supporting quotes
Models used: LLMs · retrieval-augmented LLM workflow
Scale
- Agoda serves millions of users and processes sensitive data at scale.“Agoda operates a global travel platform that serves millions of users and processes sensitive data at scale, including personally identifiable information (PII), payment credentials, and booking histories.”article, stated
- The infrastructure spans hundreds of microservices and multiple cloud environments.“Our infrastructure spans hundreds of microservices, distributed systems, and multiple cloud environments.”article, stated
- Alert triage handles over 400 alerts every 15 days.“enabling the team to handle over 400 alerts every 15 days more efficiently.”article, stated
- The phishing workflow handles hundreds of user-reported emails each week.“We also receive hundreds of user-reported phishing emails each week.”article, stated
- Phishing automation responds in under 25 seconds compared with 2-3 minutes manually.“It classifies emails and responds in under 25 seconds, compared to 2–3 minutes with manual analysis.”article, stated
- Incident report drafting dropped from 5-7 hours to under 10 minutes plus review.“This approach has reduced report drafting time to under 10 minutes, with another 30 minutes allocated for review.”article, stated
Alternatives considered (roads not taken)
Comprehensive automation of all security operations
Rejected because: The team chose targeted high-impact workflows with clear structure and measurable outcomes instead.
Manual analyst triage for recurring Level 1-2 alerts
Rejected because: Manual triage took 20 to 40 minutes per alert and consumed analyst capacity on repetitive investigations.
Manual review of every user-submitted phishing report
Rejected because: Most reports were harmless, yet every report still required analyst time and delayed user feedback.
Rely solely on the model when context is incomplete
Rejected because: For high-stakes security, Agoda routes incomplete-context cases to human review and favors over-escalation.
Patterns
rag-retrieval (retrieval)
The alert triage workflow retrieves similar past incidents and root-cause analyses to ground LLM analysis in Agoda-specific security history.
human-in-the-loop-gate (safety)
Agoda keeps humans in high-stakes decision paths: cases with incomplete context are over-escalated, and incident reports are validated before publication.
tool-use-orchestration (orchestration)
The systems connect LLM calls to security pipelines, vector databases, email parsing/enrichment, threat intelligence, documentation, and response-sending workflows.
eval-driven-development (evaluation)
The workflows are measured through human-alignment, phishing precision/false-negative, factual-accuracy, speed, and workload metrics.
safety-policy-enforcement (safety)
The alert triage system is deliberately conservative, minimizing missed threats by favoring over-escalation for human review.
Tradeoffs
Automate targeted security workflows instead of all incident response
Chose three focused systems for alert triage, phishing classification, and incident reports over attempting comprehensive security-operations automation.
Rationale: The narrower approach matched high-volume repeatable pain points with measurable outcomes and workflow integration.
Favor over-escalation for alert triage
Chose conservative escalation and human review when context is incomplete over maximizing automation by trusting limited-context model judgments.
Rationale: False positives are cheaper to close than missed high-impact security incidents.
Fully automate phishing responses but review incident reports
Chose 24/7 autonomous phishing classification and human-reviewed report generation over using the same automation level for every security workflow.
Rationale: Phishing classification had strong precision and immediate-response benefits, while incident reports remain compliance and knowledge-sharing artifacts that need validation.
Gotchas (what bit them)
Security LLMs can make conflicting or variable judgments.
Root cause: LLMs are non-deterministic, so the same input can produce different or conflicting outputs.
Resolution: Use cross-checking where helpful and keep human oversight for high-stakes decisions.
Incomplete context can turn automation into unsafe under-escalation.
Root cause: The LLM may lack prior alerts or historical signals needed to judge a security event.
Resolution: Favor over-escalation and route incomplete-context cases to human review.
Dumping too much data into the model can degrade incident analysis.
Root cause: LLMs can lose context and make mistakes when supplied with excessive data.
Resolution: Provide accurate, concise, well-documented, structured, and enriched input instead of exhaustive data dumps.
Incident documentation quality can vary when analysts must manually consolidate scattered sources.
Root cause: Security context is distributed across communication, ticketing, meeting, and email systems.
Resolution: Use an LLM workflow to collect and summarize the timeline, detection signals, impact, and resolution steps, then have a reviewer validate the report.
Evaluation
Agoda evaluated each workflow with operational metrics: alert triage time and human-alignment, phishing precision and false negatives, report drafting time and factual accuracy, plus conservative incident-misclassification monitoring.
Metrics: average alert analysis time · alerts handled per 15 days · human analyst alignment · high-impact incident misclassification · phishing classification precision · false negatives · phishing response time · incident report drafting time · incident report factual accuracy
4 supporting quotes
Outcomes
- Alert triage analysis time dropped from 20-40 minutes to under 5 minutes.
- Alert triage reached 97%+ alignment with human analyst conclusions over three months of peer review.
- Phishing classification maintained over 99% precision with no known false negatives.
- Phishing response queues were virtually eliminated.
- Incident report drafting fell to under 10 minutes plus about 30 minutes of human review.
- Incident reports maintained over 95% factual accuracy in production.
The workflows operate across a global travel platform with millions of users, sensitive data, hundreds of microservices, multiple cloud environments, over 400 alerts per 15 days, and hundreds of weekly phishing reports.