AI agents can autonomously triage cybersecurity incidents by automatically investigating ServiceNow tickets, querying Databricks for relevant logs, researching attack patterns via web search, and generating comprehensive incident reports in seconds—replacing the 30-45 minute manual process that security analysts typically perform.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
Can an AI agent triage cyber security incidents end-to-end?Added:
What if every cybersecurity ticket that hits your team automatically got investigated, [music] analyzed, and answered before a human even opened it?
Secret Agent A here. Today, we're building exactly that. I have with me Anca, cybersecurity analyst. Hello, Anca. Hello, Agent [music] A. Thank you for having me. I've been waiting for this collab for so long because every day a new cybersecurity [music] attack rises and also another vulnerability rises, so I really need your help on this one >> [music] >> because the triage process for those becomes harder and harder each day.
Okay. So, tell me exactly what is hard for your [music] work. What does a security analyst does on a day-to-day basis? So, basically, what we do as security analysts is we have ServiceNow ticketing queue with a lot of tickets. I choose the one that has [music] the highest priority and after that I correlate the logs, do some querying in Databricks to get the relevant data, also use some web browsing for relevant information on the attack pattern.
And after that, I will do summarization on everything that I've done on my investigation [music] and determine if it's malicious or not.
So, essentially, at the end you're going to have an email with your investigation, correct? From Databricks triggered by a ServiceNow ticket. Yeah.
Great. I think I have all the intel that I need. I'll come back with your agent in a few minutes. Okay. So, we're building the agent now. The first step is to create the agent in UiPath Studio.
We head over to cloud.uipath.com and navigate into Studio and create a new [music] project.
Select new agent.
Now, here's where it gets interesting.
[music] UiPath has an autopilot feature that can actually generate a starting point for your agent just from plain language.
So, I paste in my use case. Create an agent that is a cybersecurity [music] analyst. It should trigger on a new service now request. The input is the ticket ID. It will extract [music] data from the ticket, search Databricks for relevant logs, and search the internet for a solution. The output is an email for the impacted person. And then I click generate agent >> [music] >> and watch what happens.
Autopilot generates skeleton.
Essentially, it kicks off and starts building the agent structure automatically.
I switch to the form view so we can [music] see what's being generated in real time. And it's already suggesting integration service activities, a web search and a web summary tool.
Those will be how the agent pulls the solution from the internet.
It also resolves the input and output schema automatically. [music] The input would be the ticket ID and the output email body, recipient, and ticket summary.
Then it generates [music] the system prompt, the agent's operating instructions, and the user prompt that [music] drives each execution.
This is the foundation.
Autopilot gave us maybe 70% of what we actually need. Now we go [music] on and finish the job manually. The agent needs three tools to complete its mission.
Let's [music] configure them.
The first tool is related to Databricks.
Search for Databricks in the activity library [music] and you'll find a query activity that lets the agent [music] hit your Databricks endpoint and pull relevant security logs based on the ticket context.
Add it to [music] your agent. Then for ServiceNow to get the incidents, we are going to search for ServiceNow activity.
We're using get incident.
And this will allow the agent to pull the ticket data from ServiceNow using the incoming ticket [music] ID.
Add it to your agent as well. Then web summary. For internet research, I'm going with [music] the web summary tool.
It handles finding and distilling relevant information from the web.
I'll skip the raw web search activity to keep things clean. Now configure the connection for web [music] summary.
You'll need to create or select an existing connection here. And I've got one ready to go.
Three tools connected and ready. Time to see things in action.
I pull up my ServiceNow [music] instance and grab a real ticket ID.
I'm picking one that is interesting.
[music] A system that cannot reach certain websites.
Classic network cybersecurity [music] incident.
I paste in the ticket ID and [music] hit save and debug and let it run. While the agent is working, let me tell you what's happening under [music] the hood.
It's going to ServiceNow first to get the full incident context. Then it's hitting Databricks to pull relevant logs for the system.
Then it's surfacing solutions from web.
And finally, it's drafting an email.
All of that automatically. [music] Here we go. The execution log tells us the full story.
Step one, the agent called the ServiceNow tool, pulled the ticket title, description, affected user, priority, everything that we need.
Step two, it ran a query in Databricks, surfaced the relevant logs for the system and time window.
And step three, it called the web summary tool, found known solutions for this type of connectivity [music] issue from internet.
And essentially, here's the final output. A complete structured email [music] ready to go to the impacted person.
It summarizes what happened, what the logs show, and what recommended remediation steps [music] are.
This is what a trained cybersecurity analyst would have spent 30-45 minutes producing. The agent did it in seconds.
[music] Okay, Anka, your agent is ready.
You can check the output out here.
So, essentially, what this agent does [music] is [clears throat] whenever there is a ServiceNow ticket, it gets triggered, and then it searches [music] relevant logs in Databricks, does a web search to identify relevant information, and composes an email to [music] the user informing exactly what happened. Okay, so, this agent really does all the heavy lifting like it investigates [music] the ticket automatically and delivers a complete analysis like an analyst does.
Exactly. Okay, that's 30 to 45 minutes of repetitive work. That's great.
That's awesome. I'm glad that it really helps [music] you. You can focus on the meaningful. Yeah, on the investigation part. Thank you, Agent A.
>> [music] >> You're welcome. Now, imagine this running 24/7 on every ticket that comes in across your entire security queue.
That's not science fiction.
>> [music] >> That's what agents do. If you want to see how to take this further, add rag for internal knowledge, route different ticket types to different workflows, or build a full escalation logic. Drop a comment and let me know. Subscribe because we're just [music] getting started. Secret Agent A out.
Related Videos
OpenHuman VS Hermes AI: Who Wins?
JulianGoldieSEO
285 views•2026-05-29
BREAKING: Microsoft’s New Image Generating Model Beat Out GPT 1.5 and Nano Banana 2
aimmediahouse
122 views•2026-06-03
Long-Running Agents — Build an Agent That Never Forgets with Google ADK
suryakunju
142 views•2026-05-30
This computer is made from real human brain cells. And you can buy it.
Talktmsmedia
3K views•2026-05-28
I Made the Same Anime Fight Scene in Every AI Video Generator
NobleGooseAnime
295 views•2026-05-30
Nvidia Bets Big On AI PCs | New Chip To Power Windows Laptops | Technology | AI Updates | N18S
cnnnews18
3K views•2026-06-01
I Tested NEW Opus 4.8 on Four Projects (Updated LLM Leaderboard)
AICodingDaily
298 views•2026-05-29
3D Platformer Update - NO CAPES
SolarLune
294 views•2026-05-30











