Microsoft Sentinel for Visual Studio CodeThe Sentinel for Visual Studio Code extension allows developers and security professionals to build and manage notebooks, custom graphs, and connectors for Microsoft Sentinel. Features
RequirementsThe Jupyter Extension for Visual Studio Code is required and will be installed automatically. Getting startedSign in to the extension with the account you use to access Microsoft Sentinel and Microsoft Defender. To use data lake exploration capabilities, you must set up the Microsoft Sentinel data lake. You also need to ensure that you have the appropriate permissions. Explore data lake tier tablesThe extension enables you to explore data lake tier tables by viewing the schema.
Analyze data using notebooksThe extension enables you to utilize Jupyter notebooks to build advanced analytics solutions for summarizing, transforming, and analyzing data in the Microsoft Sentinel data lake using Python and Spark.
You can also leverage the GitHub Copilot extension to get AI help writing code that’s optimized for your data.
Create scheduled jobs for automationThe extension allows you to schedule your Jupyter notebook and custom graphs to run at specific times or intervals. Jobs are also used to process data and write results to custom tables in the data lake tier or analytics tier.
From the Jobs panel you can select a job to view job details. The details view will allow you to run the job immediately, edit the job, enable and disable the job schedule, view history of job runs, or delete the job.
Investigate with custom graph insightsThe extension provides the capability to build and manage custom graphs for modeling specific attack patterns, investigating threats, and running advanced graph algorithms to uncover hidden relationships within your digital environment. Using notebooks, you define the graph schema and map relevant security data into that schema to build a graph. Then execute graph queries with Graph Query Language (GQL) to visualize the results.
To persist the graph, you can schedule a graph job to rebuild your graph frequently. Custom graphs are displayed in the Graphs panel of the extension.
From the Graphs panel you can select a custom graph to view graph details. The details view will allow you to run the graph job immediately, edit the graph job, or view history of graph job runs.
From the graph details view you can also query the persisted graph and visualize the query result.
Use the
Create Sentinel connectorsUse the
This workflow also supports testing and deployment, helping you build connectors faster and enable data ingestion into Microsoft Sentinel.
Package solutionsThe extension supports packaging a complete Microsoft Sentinel platform solution containing jobs and Security Copilot agents.
After defining the package manifest, you can create a package ZIP file which can be published through the Microsoft Security Store.
Examples and scenariosView Jupyter notebook examples Learn more about using notebooks with the extension:Data and telemetryThe Microsoft Sentinel Extension for Visual Studio Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. This extension respects the |













