Video course · 15 chapters · 713 min · certificate
Build an Agentic AI SOC Analyst with Python for Threat Hunting
Build an agentic AI SOC analyst in Python: Python fundamentals, the OpenAI API with JSON output and tools, querying Log Analytics with KQL, tokens and cost, rate limits, an agent that maps tools to KQL, guardrails, threat-hunt prompting and automated VM isolation.
What you'll learn
- Write Python for security automation
- Call the OpenAI API with JSON output and tools
- Query Log Analytics with KQL from Python
- Manage tokens, cost and rate limits
- Build a baseline threat-hunting agent
- Add guardrails and agentic remediation
Chapters
15 chapters · 712:54-
36:24
01Intro Members
Agentic AI SOC introduction
How AI is changing cybersecurity, an AI SOC agent demo and course objectives.
-
46:41
02Python Members
Python basics
Environment setup, debugging, variables, types, I/O, comments and if statements.
-
60:52
03Python Members
Lists, JSON, dicts, loops and functions
Collections, JSON, strings, loops and functions.
-
27:16
04Python Members
Modules
Built-in and local modules.
-
45:44
05API Members
Error handling and the OpenAI API
Handling errors, installing the OpenAI library and getting an API key.
-
65:46
06API Members
ChatGPT with Python and JSON output
Calling ChatGPT from Python and forcing JSON output.
-
34:05
07Tools Members
The tools parameter
Using the tools parameter so the model can choose functions.
-
45:39
08KQL Members
Querying Log Analytics
Querying the Log Analytics workspace with KQL from Python.
-
56:31
09Cost Members
Structured queries and cost
Querying with functions, and tokens, cost and models.
-
55:48
10Cost Members
Tokens, models and rate limits
More on cost and handling API rate limits.
-
42:27
11Cost Members
Optimize KQL to save cost
Reducing log volume sent to the model.
-
48:32
12Agent Members
Baseline agent
Agentic cyber AI, a baseline agent flowchart and code.
-
42:07
13Agent Members
Mapping tools to KQL
Mapping agent tools to KQL tables and queries.
-
69:08
14Safety Members
Guardrails and threat-hunt prompting
Guardrails to keep decisions aligned, and prompting for hunts.
-
35:54
15Response Members
Agentic remediation: VM isolation
Letting the agent isolate a VM in Defender for Endpoint, and wrap-up.
Jobs this course suits
Our AI checked this course against 500 jobs; these get the most out of it. Each job links to its learning path.