Creating your first Microsoft Sentinel Notebook

Published Nov 17 2021 06:52 PM 4,126 Views
Microsoft

This installment is part of a broader learning series to help you become a Jupyter Notebook ninja in Microsoft SentinelThe installments will be bite-sized to enable you to easily digest the new content. 

 

 

Jupyter Notebooks are a fantastic resource for security analysts, providing a range of powerful and flexible capabilities. Microsoft Sentinel’s integration with Notebooks can provide a quick and straightforward way for security analysts to use Notebooks, however for those new to Notebooks and coding they can be a little daunting. 

In this blog we will cover some of the basics of creating your first Microsoft Sentinel Notebook using Python, including how to troubleshoot some common issues you may come across.  

  • Installing and importing packages in Python 
  • Installing and importing MSTICPy 
  • Setting up MSTICPy’s config file 
  • Getting data from Microsoft Sentinel 
  • Working with data 
  • Enriching results with external data sources 
  • Visualizations with MSTICPy 

Before we begin, make sure to familiarize yourself with Notebooks in Microsoft Sentinel via Azure Machine Learning.  

Use Jupyter Notebooks to hunt for security threats   

 

If you wish to learn more about this topic, we are running introductory training on December 16th, 2021: Become a Jupyter Notebooks Ninja – MSTICPy Fundamentals to Build Your Own Notebooks. Sign Up Here 

 

Installing and Importing Packages in Python 

One of the important things about using Python in Notebooks is that you can install and use code libraries (referred to as packages) created by others, allowing you to access the functionality they provide without having to code them yourself. 

There are several ways to install Python packages depending on how you want to find and access the packages, however the simplest and easiest is using pip. Pip (https://pypi.org/project/pip/) is the package installer for Python and makes finding and installing Python packages simple. 

You can use pip to install packages via the command line, or if you are using a Notebook, directly in a Notebook cell. Installing directly in a Notebook is often preferred as it ensures that you are installing the package in the same Python environment the Notebook is being executed in. To install via a Notebook code cell, we need to use `%pip` followed by install and the package name. e.g.: 

 

 

%pip install requests

 

 

Notebook output of running %pip install requestsNotebook output of running %pip install requests

Note: `%pip` is what is called a magic function in Jupyter. This tells the Notebook to use pip to install the package in the Notebooks compute environment.

If you already have a package installed but you want to update to the latest version, you can add the `--upgrade` parameter to the command used: 

 

 

%pip install –upgrade requests

 

 

You may also want to install a specific version of a package. This can be done by specifying the version number. 

 

 

%pip install requests==2.22.0

 

 

Output of running %pip install requests==2.22.0Output of running %pip install requests==2.22.0

Note:  Once you have installed a package it is recommended to restart the Notebook kernel, this will ensure that when you import the package you will be using the latest version. This is not necessary with newly installed packages but is important when

 

Note:  During installation of packages you may see some warnings related to package dependencies. This is because some packages have requirements on other packages being installed and sometimes these requirements can have conflicts (i.e., package 1 requires package A version 1.1 but package 2 also requires package A but version 1.2). We try to avoid conflicts as much as possible with our Notebooks but sometimes these can occur. You can usually run the Notebook without the conflicts affecting you. However, if you encounter a problem with a pre-made Microsoft Sentinel Notebook, please report this at via GitHub.

Once a package is installed, you need to import the package before it can be used. This is done with the `import` statement. 

There are 2 ways to import things in Python: 

- `import <package>` - this will do a standard import of the package 

- `from <package> import <item>` - this imports a specific item from the package 

 

You can also import packages and rename them for ease when calling them later: 

`import <package> as <alias>` 

 

 

import pandas as pd

 

 

Troubleshooting Tip: Some packages do not use the same name for installation and import. You many need to check package documentation to ensure you are importing correctly.

For example, the popular Machine Learning tool package scikit-learn is installed with: 

 

 

%pip install scikit-learn

 

 

However, it is imported with: 

 

 

import sklearn

 

 

Installing and Importing MSTICPy 

Now that we know how to install and import packages, we can install packages that will be useful to us in creating our Notebook. MSTICPy is a package created by the Microsoft Threat Intelligence Center (MSTIC) and provides a range of tools to make security analysis and investigations in Notebooks quicker and easier. You cand find out more about MSTICPy here: 

ReadTheDocs - MSTICPy 

We can now install MSTICPy. To make sure we get the latest version if we already have it installed, we are going to use the –upgrade parameter. 

 

 

%pip install --upgrade msticpy 

 

 

Now we could import MSTICPy with `import msticpy` however it is a big package with a lot of features, so to make it easier we have a function called `init_notebook` that conducts several checks to make sure the environment is good, handles key imports and set up for us. 

 

 

import msticpy
msticpy.init_notebook(globals())

 

 

Notebook output of running previous code cell.Notebook output of running previous code cell.

Setting up MSTICPy’s Config File 

MSTICPy can handle connections to a variety of data sources and services, including Microsoft Sentinel. As such it needs to handle several configuration details and credentials, things such as the Microsoft Sentinel workspaces you want to get data from, or API (Application Programming Interfaces) keys for external services such as Virus Total. 

To make it easier to manage and re-use the configuration and credentials for these things MSTICPy has its own config file that holds these items - `msticpyconfig.yaml`. 

The first time you use MSTICPy you need to populate your msticpyconfig.yaml file. This is a one-time activity once you have created it, you can simply re-use in future. To help with the set-up we have created several Notebook widgets to help you populate the file. 

PeteBryan_3-1637180304684.png

Note: If using Azure Machine Learning then you may notice this config widget can take some time to load. We are working to improve this but if you run the notebook in Jupyter, JupyterLab or VSCode you will not have these performance issues.

We have also created a Notebook to help you create to file. Once you have run the Getting Started Notebook it is recommended that you run the Configuring your Notebook Environment Notebook before creating your first Notebook, you can find this in the Microsoft Sentinel portal.

 

Microsoft Sentinel Notebook feature blade highlighting the Configuring you Notebook Environment NotebookMicrosoft Sentinel Notebook feature blade highlighting the Configuring you Notebook Environment Notebook

 You can also find more documentation on the config file and creation of it, in the MSTICPy docs  

 

Getting Data from Microsoft Sentinel  

Querying data from Microsoft Sentinel is handled by MSTICPy's `QueryProvider`. The first step is to initialize a QueryProvider and tell it we want to use the Microsoft Sentinel Query provider. 

Note: MSTICPy contains several QueryProviders for other data sources as well.

The other thing we want to provide the QueryProvider with is some details of the workspace we want to connect to. We *could* do this manually, but it is much easier to get details from the configuration we set up earlier. We can do this with `WorkspaceConfig` 

 

 

from msticpy.nbtools import nbinit
nbinit.init_Notebook(namespace=globals())
qry_prov=QueryProvider("MicrosoftSentinel")
ws_config = WorkspaceConfig(workspace="MyWorkspace") 

 

 

What WorkspaceConfig is doing is creating the connection string used by the QueryProvider. We can see what that connection string looks like with: 

 

 

ws_config.code_connect_str 

 

 

Notebook output showing the connection string generated by code_connect_strNotebook output showing the connection string generated by code_connect_str

Once set up we can tell the `QueryProvider` to `connect` which will kick off the authentication process. There are several ways that we can handle that authentication but when starting off we can use the default options that prompts the user to log in using a Device Code. 

 

 

qry_prov.connect(ws_config) 

 

 

This will then display a code in the Notebook cell output and prompt you to open a browser and end the code shown. You will then login as normal using your Azure AD (Azure Active Directory) credentials.  

Screenshots of the Device Code authentication flowScreenshots of the Device Code authentication flow

 You can then go back to the Notebook and see that the authentication has been completed: 

Notebook output showing the completed authentication flowNotebook output showing the completed authentication flow

Built-in Queries 

Now that we are connected to Microsoft Sentinel, we can start to look at running some queries to get some data. MSTICPy comes with several built-in Microsoft Sentinel queries to get some common datasets into the Notebook. These are different to the queries included in the Microsoft Sentinel GitHub and are more focused on collecting common sets of data that users might need to answer analytical questions. 

You can see a list of the MSTICPy queries with `.list_queries.` 

Notebook output of the list_queries commandNotebook output of the list_queries command

Note: MSTICPy also includes queries for its other Data Providers, and not just Microsoft Sentinel.

You can also use `.browse_queries()` to see the available queries in an interactive browser widget. 

Notebook output of browse_queriesNotebook output of browse_queries

Running a query 

Now that we have found a query that we want to run we simply pass its name to the `QueryProvider` and that in turn returns to results of the query in a Pandas Data Frame. Most queries support additional parameters, but we are showing one here that does not need any parameters. 

Note: the queries are attached to the QueryProvider as methods (functions) and grouped into categories based on the data source being queried. You can use tab completion or IntelliSense to help you navigate to the query you need.

 

 

qry_prov.Azure.list_all_signins_geo() 

 

 

Output of the list_all_signins_geo queryOutput of the list_all_signins_geo query

Troubleshooting tip: If a query does not execute at first make sure you have run `qry_prov.connect()` to authenticate to Microsoft Sentinel first. Notebook cells do not have to be run in order so you can go back and run any that you missed. However, many notebooks do have cells that rely on previous cells being executed first so be careful about jumping ahead if you have not created the notebook yourself.

 

Troubleshooting tip: If a query is not returning the results you expect, pass ‘print’ along as a parameter when calling the query to print out the KQL query being executed.

More typically the query function will expect parameters such as the host name or IP address that you are searching for.  

 

 

qry_prov.LinuxSyslog.user_logon(host_name="mylxhost") 

 

 

If you try to run a query without supplying the required parameter, it will return an error message including the help for the query with the parameter definitions. 

Most queries also require date/time parameters for the beginning/ending bounds of the query. By default, these are supplied by a time range set in the query provider. Each instance of a query provider has its own time range. You can change the default query range by running the following. 

 

 

qry_prov.query_time 

 

 

This brings up a widget letting you change the defaults for this query provider. You can also supply "start” and “end” parameters to the query function – either as Python datetimes or as time strings:  

 

 

from datetime import datetime
qry_prov.LinuxSyslog.user_logon(
    host_name="mylxhost",
    start="2021-11-19 20:30",
    end=datetime.utcnow()
)  

 

 

Customizing Your Queries 

In addition to the stock query, we can customize certain elements of the query. 

For example, if we want to append a line with `| take 10` to the query we have selected to limit the number of results returned we can pass that in with the `add_query_items` parameter: 

 

 

qry_prov.SecurityAlert.list_alerts(add_query_items="| take 10") 

 

 

The output of the list_alerts queryThe output of the list_alerts query

Tip: You can also use KQLMagic to query Sentinel data using KQL queries within notebooks. KQLMagic also returns data in a Pandas Data Frame.

 

Working With Data 

Data returned by the `QueryProvider` comes back in a Pandas Data Frame. This provides us with a powerful and flexible way to access our data. 

One of the core things we want to do is look at specific rows in our table. Each table has an index that can be used to call a row using `.loc`, alternatively we can return a row by its position in the table with `.iloc` 

 

 

alert_df.loc[1] 

 

 

Selecting a row with ilocSelecting a row with iloc

We can also choose just to return specific columns by providing a list of them to the Data Frame (note the "[:5]” means return the last 5 rows): 

 

 

 

alert_df.iloc[:5][["AlertName", "AlertSeverity", "Description"]] 

 

 

Filtering columns of a DataFrameFiltering columns of a DataFrame

We can also do things such as search for rows with specific data: 

 

 

alert_df[alert_df["AlertName"].str.contains("credential theft")] 

 

 

Searching for rows of a DataFrame matching a criteriaSearching for rows of a DataFrame matching a criteria

Tip: Pandas has loads and loads of features to help you find, analyze, transform, and visualize data. As Pandas data structures are key to Microsoft Sentinel Notebooks, we recommended you spend some time getting familiar with some of their features they offer - https://pandas.pydata.org/ 

 

Enriching data using external data sources 

One of the powerful elements of Notebooks is combining data from Microsoft Sentinel with data from other sources. One of the most common sources of this data in security is Threat Intelligence (TI) data. MSTICPy has support for several Threat Intelligence data sources including: 

  • VirtusTotal 
  • GreyNoise 
  • AlienVault OTX 
  • IBM XForce 
  • Microsoft Sentinel TI data 
  • OPR (for PageRank details) 
  • ToR ExitNode information. 

The first step in using these TI sources is to create a `TILookup` object. This can then be used to perform lookups against the various supported providers. 

Lookups can be done against individual items via `.lookup_ioc` or against multiple items with `.lookup_iocs` and you can configure things such as which Threat Intelligence sources are used. 

 

 

ti = TILookup()
ti.lookup_iocs(signin_df, obs_col="IPAddress", providers=["GreyNoise"]) 

 

 

Lookup_iocs resultsLookup_iocs results

To make viewing results easier there is a widget to allow you to interactively browse results: 

 

 

ti.browse_results(ti_df) 

 

 

TI results browser widgetTI results browser widget

Azure API Access 

MSTICPy also has integration with a range of Azure APIs that can be used to retrieve additional information or perform actions such as get Microsoft Sentinel incidents. 

 

 

from msticpy.data.azure_sentinel import AzureSentinel
azs = AzureSentinel()
azs.connect()
azs.get_incident(incident_id = "7c768f11-31f1-46ca-8a5c-25df2e6b7021", sub_id = "8df49d90-99eb-4c31-985d-64b3f33caa93", res_grp= "sent", ws_name="workspace") 

 

 

Output of Azure APIsOutput of Azure APIs

You can find out more about MSTICPy’s support for Azure APIs in the documentation: https://msticpy.readthedocs.io/en/latest/data_acquisition/AzureData.html & https://msticpy.readthedocs.io/en/latest/data_acquisition/AzureSentinel.html  

 

Visualizations with MSTICPy   

The ability to create complex, interactive visualizations is one of the key benefits of Notebooks, allowing analysts to see data in a unique way and use it to identify patterns of anomalies that may not otherwise be possible to identify.  

Creating these visualizations from scratch can be quite a complex task and involve a lot of code if starting from nothing. To make the process easier MSTICPy contains several common visualizations work out the box with common data sources from Microsoft Sentinel, and that can quickly and easily be called with minimal code. 

 

Timelines 

Understanding when events occurred and in what order is a key component of many security investigations. MSTICPy can plot diverse types of timelines with several types of data. 

 

 

user_df = qry_prov.Azure.list_aad_signins_for_account(account_name="pdemo@seccxpninja.onmicrosoft.com")
timeline.display_timeline(user_df, source_columns=["UserPrincipalName", "ResultType"] 

 

 

Timeline visualizationTimeline visualization

Troubleshooting Tip: If you are defining columns from a DataFrame as a parameter in another function (as we do above with source_columns) you can sometimes run into issues if you specify a column that does not exist. If you want to see what columns a DataFrame has you can call `DataFrame.columns` to get a list of all the columns.

We can also plot time lines showing events with a duration rather than a single time stamp with ` display_timeline_duration`: 

 

 

timeline_duration.display_timeline_duration(alert_df, group_by="AlertName", time_column="StartTimeUtc", end_time_column="EndTimeUtc") 

 

 

Timeline duration visualizationTimeline duration visualization

Tip: You can also call the timeline visualization directly from a DataFrame with ‘mp_plot’

 

 

alert_df.mp_plot.timeline(group_by="Severity", source_columns=["AlertName", "TimeGenerated"]) 

 

 

Grouped timeline visualizationGrouped timeline visualization

Matrix Plots 

The Matrix Plot graph in MSTICPy allows you to plot the interactions between two elements in your data. This can be useful for seeing the relationships between points in a dataset, for example if you wanted to see how often certain IP addresses are communicating with each other in a network you can create a matrix plot with a source IP address on one axis, and a destination IP address on the other axis. 

As with the timeline plots, the matrix plot can be created directly from a DataFrame using `mp_plot`: 

 

 

network_data.mp_plot.matrix(x="SourceIP", y="DestinationIP", title="IP Interaction") 

 

 

Matrix visualizationMatrix visualization

Widgets 

We have seen a couple of widgets already in the query and threat intelligence result browsers. These widgets make Notebooks much more accessible by providing a visual way to interact and customize them without having to write any code. MSTICPy includes a number visual, interactive widgets to allow users to select various parameters to customize the Notebook. 

 

 

network_vendor_data_q = "CommonSecurityLog | summarize by DeviceVendor"
network_vendor_data = qry_prov.exec_query(network_vendor_data_q)
network_selector = nbwidgets.SelectItem(
    item_list=network_vendor_data["DeviceVendor"].to_list(),
    description='Select a vendor',
    action=print,
    auto_display=True
); 

 

 

Using the SelectItem widget to select a network vendor from dataUsing the SelectItem widget to select a network vendor from data

 

 

q_times = nbwidgets.QueryTime(units='day', max_before=20, before=5, max_after=1)
q_times.display() 

 

 

Time range selection widgetTime range selection widget

 

 

security_alerts = qry_prov.SecurityAlert.list_alerts(add_query_items="| take 10")
alert_select = nbwidgets.SelectAlert(alerts=security_alerts, action=nbdisplay.display_alert)
display(Markdown('### Alert selector with action=DisplayAlert'))
display(HTML("<b> Alert selector with action=DisplayAlert </b>"))
alert_select.display() 

 

 

Alert selector widgetAlert selector widget

What to do Next 

What you have seen here is just a tiny taster of what Microsoft Sentinel Notebooks can do. However, luckily, we have a lot of additional resources to help you learn what you need and get started with Notebooks. 

We recommend that you do the following: 

%3CLINGO-SUB%20id%3D%22lingo-sub-2977745%22%20slang%3D%22en-US%22%3ECreating%20your%20first%20Microsoft%20Sentinel%20Notebook%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2977745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3E%3CSPAN%20class%3D%22TextRun%20Highlight%20SCXW109037511%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3EThis%20installment%20is%20part%20of%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20CommentStart%20%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3Ea%20broader%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3Elearning%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3Eseries%20to%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3Ehelp%20you%20become%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3E%26nbsp%3Ba%20Jupyter%20Notebook%20ninja%20in%20Microsoft%20Sentinel%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3E.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20SCXW109037511%20BCX8%22%20data-ccp-charstyle%3D%22Emphasis%22%3EThe%20installments%20will%20be%20bite-sized%20to%20enable%20you%20to%20easily%20digest%20the%20new%20content.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FEM%3E%3CSPAN%20class%3D%22EOP%20SCXW109037511%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%229%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%221%22%20data-aria-level%3D%221%22%3E%3CSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3EPart%201%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fcda.ms%2F2wn%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EWhat%20are%20notebooks%20and%20when%26nbsp%3Bdo%20you%20need%20them%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%3F%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%229%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%222%22%20data-aria-level%3D%221%22%3E%3CSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3EPart%202%3A%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcda.ms%2F3dj%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EHow%20to%20get%20started%20with%20notebooks%20and%20tour%26nbsp%3Bthe%20features%3C%2FA%3E%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%229%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%223%22%20data-aria-level%3D%221%22%3E%3CSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3EPart%203%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fcda.ms%2F2HG%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOverview%20of%20the%20pre-built%20notebooks%20and%20how%20to%20use%20them%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EPart%203.5%3A%3C%2FSTRONG%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcda.ms%2F3b0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EUsing%20Code%20Snippets%20to%20build%20your%20own%20Sentinel%20Notebooks%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%229%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%224%22%20data-aria-level%3D%221%22%3E%3CSTRONG%3E%3CSPAN%20data-contrast%3D%22auto%22%3EPart%204%3A%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3EHow%20to%20create%20your%20own%20notebooks%20from%20scratch%20and%20how%26nbsp%3Bto%20customize%20the%20existing%20ones%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%26nbsp%3B%3CSTRONG%3E%3CEM%3E-%20this%20post%3C%2FEM%3E%3C%2FSTRONG%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EJupyter%26nbsp%3BNotebooks%20are%20a%20fantastic%20resource%20for%20security%20analysts%2C%26nbsp%3Bproviding%26nbsp%3Ba%20range%20of%20powerful%20and%20flexible%20capabilities.%26nbsp%3BMicrosoft%20Sentinel%E2%80%99s%20integration%20with%26nbsp%3BNotebooks%26nbsp%3Bcan%26nbsp%3Bprovide%26nbsp%3Ba%20quick%20and%26nbsp%3Bstraightforward%20way%26nbsp%3Bfor%20security%20analysts%20to%20use%26nbsp%3BNotebooks%2C%20however%20for%20those%20new%20to%26nbsp%3BNotebooks%20and%20coding%20they%20can%20be%20a%20little%20daunting.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIn%26nbsp%3Bthis%20blog%20we%20will%20cover%20some%20of%20the%20basics%26nbsp%3Bof%20creating%20your%20first%20Microsoft%20Sentinel%26nbsp%3BNotebook%26nbsp%3Busing%20Python%2C%20including%20how%20to%20troubleshoot%20some%20common%20issues%20you%20may%20come%20across.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%221%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EInstalling%20and%20importing%20packages%20in%20Python%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%222%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EInstalling%20and%20importing%26nbsp%3BMSTICPy%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%223%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3ESetting%20up%26nbsp%3BMSTICPy%E2%80%99s%26nbsp%3Bconfig%20file%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%224%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EGetting%20data%20from%20Microsoft%20Sentinel%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%225%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWorking%20with%20data%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%226%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EEnriching%26nbsp%3Bresults%26nbsp%3Bwith%20external%20data%20sources%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%227%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EVisualizations%20with%26nbsp%3BMSTICPy%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EBefore%20we%20begin%2C%26nbsp%3Bmake%20sure%20to%20familiarize%20yourself%20with%26nbsp%3BNotebooks%20in%20Microsoft%20Sentinel%20via%20Azure%20Machine%20Learning.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsentinel%2Fnotebooks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EUse%20Jupyter%26nbsp%3BNotebooks%20to%20hunt%20for%20security%20threats%26nbsp%3B%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559731%26quot%3B%3A720%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIf%20you%20wish%20to%20learn%20more%20about%20this%26nbsp%3Btopic%2C%26nbsp%3Bwe%20are%20running%26nbsp%3Bintroductory%20training%20on%20December%2016th%2C%26nbsp%3B2021%3A%20Become%20a%26nbsp%3BJupyter%26nbsp%3BNotebooks%20Ninja%20%E2%80%93%26nbsp%3BMSTICPy%26nbsp%3BFundamentals%20to%20Build%20Your%20Own%26nbsp%3BNotebooks%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3E.%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%2Fpages%2Fresponsepage.aspx%3Fid%3Dv4j5cvGGr0GRqy180BHbR2HneBfpDd1Mj3-yGKE5Q-xUNkVRQkNPTlFXSzVFRzZFSURFWkRKM0hWUi4u%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ESign%20Up%20Here%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId--293249455%22%20id%3D%22toc-hId--293220685%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EInstalling%20and%20Importing%20Packages%20in%20Python%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOne%20of%20the%26nbsp%3Bimportant%20things%26nbsp%3Babout%20using%20Python%20in%26nbsp%3BNotebooks%20is%20that%20you%20can%20install%20and%20use%20code%20libraries%20(referred%20to%20as%20packages)%20created%20by%20others%2C%20allowing%20you%20to%20access%20the%20functionality%20they%20provide%20without%20having%20to%20code%20them%20yourself.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThere%20are%20several%20ways%20to%20install%26nbsp%3BPython%20packages%26nbsp%3Bdepending%20on%20how%20you%20want%20to%26nbsp%3Bfind%20and%26nbsp%3Baccess%20the%26nbsp%3Bpackages%2C%20however%20the%20simplest%20and%20easiest%20is%20using%20pip.%20Pip%26nbsp%3B(%3CA%20href%3D%22https%3A%2F%2Fpypi.org%2Fproject%2Fpip%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpypi.org%2Fproject%2Fpip%2F%3C%2FA%3E)%20is%20the%26nbsp%3Bpackage%26nbsp%3Binstaller%20for%20Python%20and%20makes%20finding%20and%20installing%20Python%26nbsp%3Bpackages%26nbsp%3Bsimple.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EYou%20can%20use%20pip%20to%20install%20packages%20via%20the%20command%20line%2C%20or%20if%20you%20are%20using%20a%26nbsp%3BNotebook%2C%20directly%20in%20a%26nbsp%3BNotebook%26nbsp%3Bcell.%26nbsp%3BInstalling%20directly%20in%20a%26nbsp%3BNotebook%26nbsp%3Bis%20often%20preferred%20as%20it%20ensures%20that%20you%20are%20installing%20the%20package%20in%20the%20same%20Python%20environment%20the%26nbsp%3BNotebook%26nbsp%3Bis%20being%20executed%20in.%26nbsp%3BTo%26nbsp%3Binstall%20via%20a%26nbsp%3BNotebook%26nbsp%3Bcode%26nbsp%3Bcell%2C%26nbsp%3Bwe%26nbsp%3Bneed%20to%20use%20%60%25pip%60%20followed%20by%20install%20and%20the%26nbsp%3Bpackage%26nbsp%3Bname.%20e.g.%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3E%25pip%20install%20requests%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_0-1637179707416.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327756i0F01EC2FF08EF0AE%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_0-1637179707416.png%22%20alt%3D%22Notebook%20output%20of%20running%20%25pip%20install%20requests%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20of%20running%20%25pip%20install%20requests%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3E%20%60%25pip%60%20is%20what%20is%20called%20a%20magic%20function%20in%20Jupyter.%20This%20tells%20the%20Notebook%20to%20use%20pip%20to%20install%20the%20package%20in%20the%20Notebooks%20compute%20environment.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW210062414%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW210062414%20BCX8%22%3EIf%20you%20already%20have%20a%20package%20installed%20but%20you%20want%20to%20update%20to%20the%20latest%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW210062414%20BCX8%22%3Eversion%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW210062414%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eyou%20can%20add%20the%20%60--upgrade%60%20parameter%20to%20the%20command%20used%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW210062414%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3E%25pip%20install%20%E2%80%93upgrade%20requests%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW210062414%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW260976833%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW260976833%20BCX8%22%3EYou%20may%20also%20want%20to%20install%20a%20specific%20version%20of%20a%20package.%20This%20can%20be%20done%20by%20specifying%20the%20version%20number.%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW260976833%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3E%25pip%20install%20requests%3D%3D2.22.0%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PeteBryan_1-163717993upgrading%20a%20package.0921.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327758i2FEC8B14B9A1EA52%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_1-1637179930921.png%22%20alt%3D%22Output%20of%20running%20%25pip%20install%20requests%3D%3D2.22.0%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOutput%20of%20running%20%25pip%20install%20requests%3D%3D2.22.0%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3E%20%26nbsp%3BOnce%20you%20have%20installed%20a%20package%26nbsp%3Bit%20is%26nbsp%3Brecommended%26nbsp%3Bto%20restart%20the%26nbsp%3BNotebook%26nbsp%3Bkernel%2C%20this%20will%20ensure%20that%20when%20you%20import%20the%20package%20you%20will%20be%20using%20the%20latest%20version.%20This%26nbsp%3Bis%20not%26nbsp%3Bnecessary%20with%20newly%20installed%20packages%20but%20is%20important%20when%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3E%20%26nbsp%3BDuring%20installation%20of%20packages%20you%20may%20see%20some%20warnings%20related%20to%20package%20dependencies.%20This%20is%20because%20some%20packages%20have%20requirements%20on%20other%20packages%20being%20installed%20and%20sometimes%20these%20requirements%20can%20have%20conflicts%20(i.e.%2C%20package%201%20requires%20package%20A%20version%201.1%20but%20package%202%20also%20requires%20package%20A%20but%20version%201.2).%20We%20try%20to%20avoid%20conflicts%20as%20much%20as%20possible%20with%20our%20Notebooks%20but%20sometimes%20these%20can%20occur.%20You%20can%20usually%20run%20the%20Notebook%20without%20the%20conflicts%20affecting%20you.%20However%2C%20if%20you%20encounter%20a%20problem%20with%20a%20pre-made%20Microsoft%20Sentinel%20Notebook%2C%20please%20report%20this%20at%20via%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel-Notebooks%2Fissues%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOnce%20a%20package%20is%20installed%2C%26nbsp%3Byou%26nbsp%3Bneed%26nbsp%3Bto%26nbsp%3Bimport%26nbsp%3Bthe%20package%26nbsp%3Bbefore%20it%20can%20be%20used.%20This%20is%20done%20with%20the%20%60import%60%20statement.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThere%26nbsp%3Bare%202%20ways%20to%20import%20things%20in%20Python%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E-%20%60import%20%3CPACKAGE%3E%60%20-%26nbsp%3Bthis%26nbsp%3Bwill%26nbsp%3Bdo%20a%20standard%20import%20of%20the%26nbsp%3Bpackage%3C%2FPACKAGE%3E%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E-%20%60from%20%3CPACKAGE%3E%20import%20%3CITEM%3E%60%20-%20this%20imports%20a%20specific%20item%20from%20the%20package%3C%2FITEM%3E%3C%2FPACKAGE%3E%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EYou%20can%20also%20import%20packages%20and%20rename%20them%20for%20ease%20when%20calling%20them%20later%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%60import%20%3CPACKAGE%3E%20as%20%3CALIAS%3E%60%3C%2FALIAS%3E%3C%2FPACKAGE%3E%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eimport%20pandas%20as%20pd%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETroubleshooting%20Tip%3A%20%3C%2FSTRONG%3E%20Some%20packages%20do%20not%20use%20the%20same%20name%20for%20installation%20and%20import.%20You%20many%20need%20to%20check%20package%20documentation%20to%20ensure%20you%20are%20importing%20correctly.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW230817682%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW230817682%20BCX8%22%3EFor%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW230817682%20BCX8%22%3Eexample%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW230817682%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ethe%20popular%20Machine%20Learning%20tool%20package%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW230817682%20BCX8%22%3Escikit-learn%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW230817682%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20installed%20with%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW230817682%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3E%25pip%20install%20scikit-learn%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW187946870%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW187946870%20BCX8%22%3EHowever%2C%20it%20is%20imported%20with%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW187946870%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eimport%20sklearn%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId--2100703918%22%20id%3D%22toc-hId--2100675148%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EInstalling%20and%20Importing%26nbsp%3BMSTICPy%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ENow%20that%26nbsp%3Bwe%20know%20how%20to%20install%20and%20import%26nbsp%3Bpackages%2C%26nbsp%3Bwe%20can%20install%20packages%20that%20will%20be%20useful%20to%20us%20in%20creating%20our%26nbsp%3BNotebook.%26nbsp%3BMSTICPy%26nbsp%3Bis%20a%20package%20created%20by%20the%20Microsoft%20Threat%20Intelligence%20Center%20(MSTIC)%20and%20provides%20a%20range%20of%20tools%20to%20make%20security%20analysis%20and%20investigations%20in%26nbsp%3BNotebooks%20quicker%20and%20easier.%20You%20cand%20find%20out%20more%20about%26nbsp%3BMSTICPy%26nbsp%3Bhere%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2FGettingStarted.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EReadTheDocs%20-%20MSTICPy%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWe%20can%20now%20install%26nbsp%3BMSTICPy.%20To%20make%20sure%20we%20get%20the%20latest%20version%20if%20we%20already%20have%20it%26nbsp%3Binstalled%2C%26nbsp%3Bwe%20are%20going%20to%20use%20the%20%E2%80%93upgrade%20parameter.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3E%25pip%E2%80%AFinstall%E2%80%AF--upgrade%20msticpy%E2%80%AF%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW144367884%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3ENow%20we%20could%20import%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW144367884%20BCX8%22%3EMSTICPy%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3Ewith%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%60import%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW144367884%20BCX8%22%3Emsticpy%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%60%20however%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3Eit%20is%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ea%20big%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3Epackage%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%20a%20lot%20of%20features%2C%20so%20to%20make%20it%20easier%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3Ewe%20have%20a%20function%20called%20%60%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW144367884%20BCX8%22%3Einit_notebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%60%20that%20conducts%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3Eseveral%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW144367884%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Echecks%20to%20make%20sure%20the%20environment%20is%20good%2C%20handles%20key%20imports%20and%20set%20up%20for%20us.%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW144367884%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A2%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A255%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eimport%20msticpy%0Amsticpy.init_notebook(globals())%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PeteBryan_2-1637180256693.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327759i639873F4EC2B3451%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_2-1637180256693.png%22%20alt%3D%22Notebook%20output%20of%20running%20previous%20code%20cell.%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20of%20running%20previous%20code%20cell.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId-386808915%22%20id%3D%22toc-hId-386837685%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ESetting%20up%26nbsp%3BMSTICPy%E2%80%99s%26nbsp%3BConfig%20File%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMSTICPy%26nbsp%3Bcan%20handle%20connections%20to%20a%20variety%20of%20data%20sources%20and%20services%2C%20including%20Microsoft%20Sentinel.%20As%20such%20it%20needs%26nbsp%3Bto%20handle%26nbsp%3Bseveral%26nbsp%3Bconfiguration%20details%20and%20credentials%2C%20things%20such%20as%20the%20Microsoft%20Sentinel%20workspaces%20you%20want%20to%20get%20data%20from%2C%20or%26nbsp%3BAPI%20(Application%20Programming%20Interfaces)%26nbsp%3Bkeys%20for%20external%20services%20such%20as%26nbsp%3BVirus%20Total.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ETo%20make%20it%20easier%20to%20manage%20and%20re-use%20the%20configuration%20and%20credentials%20for%20these%20things%26nbsp%3BMSTICPy%26nbsp%3Bhas%20its%20own%20config%20file%20that%20holds%20these%20items%20-%20%60msticpyconfig.yaml%60.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThe%20first%20time%20you%20use%26nbsp%3BMSTICPy%26nbsp%3Byou%20need%20to%20populate%20your%26nbsp%3Bmsticpyconfig.yaml%26nbsp%3Bfile.%20This%20is%20a%26nbsp%3Bone-time%26nbsp%3Bactivity%26nbsp%3Bonce%26nbsp%3Byou%20have%20created%20it%2C%26nbsp%3Byou%20can%20simply%20re-use%26nbsp%3Bin%20future.%20To%20help%20with%20the%26nbsp%3Bset-up%26nbsp%3Bwe%20have%20created%26nbsp%3Bseveral%26nbsp%3BNotebook%26nbsp%3Bwidgets%20to%20help%20you%20populate%20the%20file.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PeteBryan_3-1637180304684.png%22%20style%3D%22width%3A%20926px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327760i5B9C12FD25A727B9%2Fimage-dimensions%2F926x412%3Fv%3Dv2%22%20width%3D%22926%22%20height%3D%22412%22%20role%3D%22button%22%20title%3D%22PeteBryan_3-1637180304684.png%22%20alt%3D%22PeteBryan_3-1637180304684.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3EIf%20using%20Azure%20Machine%20Learning%20then%20you%20may%20notice%20this%20config%20widget%20can%20take%20some%20time%20to%20load.%20We%20are%20working%20to%20improve%20this%20but%20if%20you%20run%20the%20notebook%20in%20Jupyter%2C%20JupyterLab%20or%20VSCode%20you%20will%20not%20have%20these%20performance%20issues.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW111946729%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20CommentStart%20SCXW111946729%20BCX8%22%3EWe%20have%20also%20created%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3ENotebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eto%20help%20you%20create%20to%20file%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E.%20Once%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Eyou%20have%20run%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%E2%80%98%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3EGetting%20Started%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%E2%80%99%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3EN%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Eotebook%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Eit%20is%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Erecommended%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ethat%20you%20run%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Ethe%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%E2%80%98%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3EConfiguring%20your%20Notebook%20Environmen%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3Et%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%E2%80%99%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3ENotebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ebefore%20creating%20your%20first%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3ENotebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW111946729%20BCX8%22%3E%2C%20you%20can%20find%20this%20in%20the%20Microsoft%20Sentinel%20portal.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW111946729%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PeteBryan_4-1637180355578.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327761i5D99106AEAAC860B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_4-1637180355578.png%22%20alt%3D%22Microsoft%20Sentinel%20Notebook%20feature%20blade%20highlighting%20the%20Configuring%20you%20Notebook%20Environment%20Notebook%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMicrosoft%20Sentinel%20Notebook%20feature%20blade%20highlighting%20the%20Configuring%20you%20Notebook%20Environment%20Notebook%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW35822288%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3E%26nbsp%3BYou%20can%20also%20find%20more%20documentation%20on%20the%20config%20file%20and%20creati%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3Eon%20of%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3Eit%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3E%2C%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3Ein%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW35822288%20BCX8%22%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fgetting_started%2FSettingsEditor.html%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20nofollow%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW35822288%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3EMSTICPy%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Edocs%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW35822288%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW35822288%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW35822288%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20aria-level%3D%222%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId--1420645548%22%20id%3D%22toc-hId--1420616778%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EGetting%20Data%20from%20Microsoft%20Sentinel%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EQuerying%20data%20from%26nbsp%3BMicrosoft%20Sentinel%26nbsp%3Bis%20handled%20by%26nbsp%3BMSTICPy's%26nbsp%3B%60QueryProvider%60.%20The%20first%20step%20is%20to%20initialize%20a%26nbsp%3BQueryProvider%26nbsp%3Band%20tell%20it%20we%20want%20to%20use%20the%26nbsp%3BMicrosoft%26nbsp%3BSentinel%20Query%20provider.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3EMSTICPy%20contains%20several%20QueryProviders%20for%20other%20data%20sources%20as%20well.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW124740381%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW124740381%20BCX8%22%3EThe%20other%20thing%20we%20want%20to%20provide%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW124740381%20BCX8%22%3EQueryProvider%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW124740381%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%20is%20some%20details%20of%20the%20workspace%20we%20want%20to%20connect%20to.%20We%20*could*%20do%20this%20manually%2C%20but%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW124740381%20BCX8%22%3Eit%20is%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW124740381%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Emuch%20easier%20to%20get%20details%20from%20the%20configuration%20we%20set%20up%20earlier.%20We%20can%20do%20this%20with%20%60%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW124740381%20BCX8%22%3EWorkspaceConfig%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW124740381%20BCX8%22%3E%60%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW124740381%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Efrom%E2%80%AFmsticpy.nbtools%E2%80%AFimport%E2%80%AFnbinit%0Anbinit.init_Notebook(namespace%3Dglobals())%0Aqry_prov%3DQueryProvider(%22MicrosoftSentinel%22)%0Aws_config%E2%80%AF%3D%E2%80%AFWorkspaceConfig(workspace%3D%22MyWorkspace%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW29079112%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW29079112%20BCX8%22%3EWhat%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW29079112%20BCX8%20SpellingErrorHighlight%22%3EWorkspaceConfig%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW29079112%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW29079112%20BCX8%22%3Edoing%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW29079112%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eis%20creating%20the%20connection%20string%20used%20by%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW29079112%20BCX8%22%3EQueryProvider%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW29079112%20BCX8%22%3E.%20We%20can%20see%20what%20that%20connection%20string%20looks%20like%20with%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW29079112%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Ews_config.code_connect_str%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PeteBryan_5-1637180517161.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327763i9C18DC4AE8749A64%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_5-1637180517161.png%22%20alt%3D%22Notebook%20output%20showing%20the%20connection%20string%20generated%20by%20code_connect_str%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20showing%20the%20connection%20string%20generated%20by%20code_connect_str%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW29079112%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW54064775%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3EOnce%20set%20up%20we%20can%20tell%20the%20%60%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW54064775%20BCX8%22%3EQueryProvider%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3E%60%20to%20%60connect%60%20which%20will%20kick%20off%20the%20authentication%20process.%20There%20are%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3Eseveral%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eways%20that%20we%20can%20handle%20that%20authentication%20but%20when%20starting%20off%20we%20can%20use%20the%20default%20options%20that%20prompts%20the%20user%20to%20log%20in%20using%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW54064775%20BCX8%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Factive-directory%2Fdevelop%2Fmsal-authentication-flows%23device-code%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW54064775%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3EDevice%20Code%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW54064775%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW54064775%20BCX8%22%3E.%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW54064775%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eqry_prov.connect(ws_config)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW29079112%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%3CSPAN%20class%3D%22EOP%20SCXW54064775%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%3CSPAN%20class%3D%22TextRun%20SCXW83964423%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3EThis%20will%20then%20display%20a%20code%20in%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3ENotebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecell%20output%20and%20prompt%20you%20to%20open%20a%20browser%20and%20end%20the%20code%20shown.%20You%20will%20then%20login%20as%20normal%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3Eusing%20your%20Azure%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3EAD%20(Azure%20Active%20Directory)%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW83964423%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ecredentials.%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW83964423%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_6-1637180682556.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327764iCBB1842A664CE178%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_6-1637180682556.png%22%20alt%3D%22Screenshots%20of%20the%20Device%20Code%20authentication%20flow%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EScreenshots%20of%20the%20Device%20Code%20authentication%20flow%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW75116665%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3EYou%20can%20then%20go%20back%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3ENotebook%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Eand%20see%20that%20the%20authentication%20has%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3Ebeen%20completed%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW75116665%20BCX8%22%3E%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW75116665%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_7-1637180719500.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327765i5297644B194E3684%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_7-1637180719500.png%22%20alt%3D%22Notebook%20output%20showing%20the%20completed%20authentication%20flow%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20showing%20the%20completed%20authentication%20flow%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%223%22%20id%3D%22toc-hId--730084074%22%20id%3D%22toc-hId--730055304%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EBuilt-in%20Queries%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ENow%20that%20we%20are%20connected%20to%20Microsoft%26nbsp%3BSentinel%2C%26nbsp%3Bwe%20can%20start%20to%20look%20at%20running%20some%20queries%20to%20get%20some%20data.%26nbsp%3BMSTICPy%26nbsp%3Bcomes%20with%26nbsp%3Bseveral%26nbsp%3Bbuilt-in%26nbsp%3BMicrosoft%26nbsp%3BSentinel%20queries%20to%20get%20some%20common%20datasets%20into%20the%26nbsp%3BNotebook.%20These%20are%20different%20to%20the%20queries%20included%20in%20the%20Microsoft%20Sentinel%20GitHub%20and%20are%20more%20focused%20on%20collecting%20common%20sets%20of%20data%20that%20users%20might%26nbsp%3Bneed%26nbsp%3Bto%20answer%20analytical%20questions.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EYou%20can%20see%20a%20list%20of%20the%26nbsp%3BMSTICPy%26nbsp%3Bqueries%20with%26nbsp%3B%60.list_queries.%60%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_0-1637185073766.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327780iFE866905FA18F1A8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_0-1637185073766.png%22%20alt%3D%22Notebook%20output%20of%20the%20list_queries%20command%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20of%20the%20list_queries%20command%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3EMSTICPy%20also%20includes%20queries%20for%20its%20other%20Data%20Providers%2C%20and%20not%20just%20Microsoft%20Sentinel.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW257183314%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW257183314%20BCX8%22%3EYou%20can%20also%20use%20%60.%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW257183314%20BCX8%22%3Ebrowse_queries%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW257183314%20BCX8%22%3E()%60%20to%20see%20the%20available%20queries%20in%20an%20interactive%20browser%20widget.%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW257183314%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_1-1637185277131.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327781i833FF86AC71E3379%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_1-1637185277131.png%22%20alt%3D%22Notebook%20output%20of%20browse_queries%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ENotebook%20output%20of%20browse_queries%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%223%22%20id%3D%22toc-hId-1757428759%22%20id%3D%22toc-hId-1757457529%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ERunning%20a%20query%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ENow%20that%20we%20have%20found%20a%20query%20that%20we%20want%20to%20run%20we%20simply%20pass%20its%20name%20to%20the%20%60QueryProvider%60%20and%20that%20in%20turn%20returns%20to%20results%20of%20the%20query%20in%20a%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fpandas.pydata.org%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EPandas%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3BData%20Frame.%26nbsp%3BMost%20queries%26nbsp%3Bsupport%26nbsp%3Badditional%26nbsp%3Bparameters%2C%26nbsp%3Bbut%20we%20are%20showing%20one%20here%20that%20does%20not%20need%20any%20parameters.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ENote%3A%20%3C%2FSTRONG%3Ethe%20queries%20are%20attached%20to%20the%20QueryProvider%20as%20methods%20(functions)%20and%20grouped%20into%20categories%20based%20on%20the%20data%20source%20being%20queried.%20You%20can%20use%20tab%20completion%20or%20IntelliSense%20to%20help%20you%20navigate%20to%20the%20query%20you%20need.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eqry_prov.Azure.list_all_signins_geo()%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_2-1637185753495.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327782i6CCB132D6FBB3AD5%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_2-1637185753495.png%22%20alt%3D%22Output%20of%20the%20list_all_signins_geo%20query%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOutput%20of%20the%20list_all_signins_geo%20query%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETroubleshooting%20tip%3A%20%3C%2FSTRONG%3EIf%20a%20query%20does%20not%20execute%20at%20first%20make%20sure%20you%20have%20run%20%60qry_prov.connect()%60%20to%20authenticate%20to%20Microsoft%20Sentinel%20first.%20Notebook%20cells%20do%20not%20have%20to%20be%20run%20in%20order%20so%20you%20can%20go%20back%20and%20run%20any%20that%20you%20missed.%20However%2C%20many%20notebooks%20do%20have%20cells%20that%20rely%20on%20previous%20cells%20being%20executed%20first%20so%20be%20careful%20about%20jumping%20ahead%20if%20you%20have%20not%20created%20the%20notebook%20yourself.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETroubleshooting%20tip%3A%20%3C%2FSTRONG%3EIf%20a%20query%20is%20not%20returning%20the%20results%20you%20expect%2C%20pass%20%E2%80%98print%E2%80%99%20along%20as%20a%20parameter%20when%20calling%20the%20query%20to%20print%20out%20the%20KQL%20query%20being%20executed.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20%20BCX8%20SCXW110925588%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX8%20SCXW110925588%22%3EMore%20typically%20the%20query%20function%20will%20expect%20parameters%20such%20as%20the%20host%20name%20or%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX8%20SCXW110925588%22%3EIP%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX8%20SCXW110925588%22%3E%26nbsp%3Baddress%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20%20BCX8%20SCXW110925588%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ethat%20you%20are%20searching%20for.%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20%20BCX8%20SCXW110925588%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eqry_prov.LinuxSyslog.user_logon(host_name%3D%22mylxhost%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIf%20you%20try%20to%20run%20a%20query%20without%20supplying%26nbsp%3Bthe%20required%26nbsp%3Bparameter%2C%20it%20will%20return%20an%20error%20message%20including%20the%20help%20for%20the%20query%20with%20the%20parameter%20definitions.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMost%20queries%20also%20require%20date%2Ftime%20parameters%20for%20the%20beginning%2Fending%20bounds%20of%20the%20query.%20By%26nbsp%3Bdefault%2C%26nbsp%3Bthese%20are%20supplied%20by%20a%20time%26nbsp%3Brange%20set%20in%20the%20query%20provider.%20Each%20instance%20of%20a%20query%20provider%20has%20its%20own%20time%20range.%20You%20can%20change%20the%20default%20query%20range%26nbsp%3Bby%20running%20the%20following.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eqry_prov.query_time%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThis%20brings%20up%20a%20widget%20letting%20you%20change%20the%20defaults%20for%20this%20query%20provider.%20You%20can%20also%20supply%20%22start%E2%80%9D%20and%20%E2%80%9Cend%E2%80%9D%20parameters%20to%20the%20query%20function%20%E2%80%93%20either%20as%20Python%20datetimes%20or%20as%20time%20strings%3A%3C%2FSPAN%3E%20%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Efrom%20datetime%20import%20datetime%0Aqry_prov.LinuxSyslog.user_logon(%0A%20%20%20%20host_name%3D%22mylxhost%22%2C%0A%20%20%20%20start%3D%222021-11-19%2020%3A30%22%2C%0A%20%20%20%20end%3Ddatetime.utcnow()%0A)%20%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%223%22%20id%3D%22toc-hId-1746925655%22%20id%3D%22toc-hId-1746954425%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ECustomizing%20Your%20Queries%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIn%20addition%20to%20the%20stock%26nbsp%3Bquery%2C%26nbsp%3Bwe%20can%20customize%20certain%20elements%20of%20the%20query.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EFor%26nbsp%3Bexample%2C%26nbsp%3Bif%20we%20want%20to%20append%20a%26nbsp%3Bline%20with%26nbsp%3B%60%7C%20take%2010%60%20to%20the%20query%20we%20have%26nbsp%3Bselected%26nbsp%3Bto%20limit%20the%20number%20of%20results%20returned%20we%20can%20pass%20that%20in%20with%20the%20%60add_query_items%60%26nbsp%3Bparameter%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eqry_prov.SecurityAlert.list_alerts(add_query_items%3D%22%7C%E2%80%AFtake%E2%80%AF10%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_0-1637201558398.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327849iE23F14BBC9E1E565%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_0-1637201558398.png%22%20alt%3D%22The%20output%20of%20the%20list_alerts%20query%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EThe%20output%20of%20the%20list_alerts%20query%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETip%3A%20%3C%2FSTRONG%3EYou%20can%20also%20use%20KQLMagic%20to%20query%20Sentinel%20data%20using%20KQL%20queries%20within%20notebooks.%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fjupyter-Kqlmagic%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EKQLMagic%3C%2FA%3E%20also%20returns%20data%20in%20a%20Pandas%20Data%20Frame.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId--60528808%22%20id%3D%22toc-hId--60500038%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EWorking%20With%20Data%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EData%20returned%20by%20the%20%60QueryProvider%60%20comes%20back%20in%20a%20Pandas%26nbsp%3BData%20Frame.%20This%20provides%20us%20with%20a%20powerful%20and%20flexible%20way%20to%20access%20our%20data.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOne%20of%20the%20core%20things%20we%20want%20to%20do%20is%20look%20at%20specific%20rows%20in%20our%20table.%20Each%20table%20has%20an%20index%20that%20can%20be%20used%20to%20call%20a%20row%20using%26nbsp%3B%60.loc%60%2C%20alternatively%20we%20can%20return%20a%20row%20by%20its%20position%20in%20the%20table%20with%20%60.iloc%60%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Ealert_df.loc%5B1%5D%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_1-1637201636603.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327850i82CB96FDEAD7636D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_1-1637201636603.png%22%20alt%3D%22Selecting%20a%20row%20with%20iloc%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESelecting%20a%20row%20with%20iloc%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW242056362%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3EWe%20can%20also%20choose%20just%20to%20return%20specific%20columns%20by%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3Eproviding%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ea%20list%20of%20them%20to%20the%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3EData%20Frame%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3E%26nbsp%3B(note%20the%20%22%5B%3A5%5D%E2%80%9D%20means%20return%20the%20last%205%20rows)%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW242056362%20BCX8%22%3E%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW242056362%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22EOP%20SCXW242056362%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Ealert_df.iloc%5B%3A5%5D%5B%5B%22AlertName%22%2C%E2%80%AF%22AlertSeverity%22%2C%E2%80%AF%22Description%22%5D%5D%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_2-1637201671343.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327851i59D81B98850108E6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_2-1637201671343.png%22%20alt%3D%22Filtering%20columns%20of%20a%20DataFrame%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EFiltering%20columns%20of%20a%20DataFrame%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW184641036%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW184641036%20BCX8%22%3EWe%20can%20also%20do%20things%20such%20as%20search%20for%20rows%20with%20specific%20data%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW184641036%20BCX8%22%3E%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW184641036%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Ealert_df%5Balert_df%5B%22AlertName%22%5D.str.contains(%22credential%E2%80%AFtheft%22)%5D%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_3-1637201699571.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327852i898F03FB09D87AC0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_3-1637201699571.png%22%20alt%3D%22Searching%20for%20rows%20of%20a%20DataFrame%20matching%20a%20criteria%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESearching%20for%20rows%20of%20a%20DataFrame%20matching%20a%20criteria%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETip%3A%20%3C%2FSTRONG%3EPandas%20has%20loads%20and%20loads%20of%20features%20to%20help%20you%20find%2C%20analyze%2C%20transform%2C%20and%20visualize%20data.%20As%20Pandas%20data%20structures%20are%20key%20to%20Microsoft%20Sentinel%20Notebooks%2C%20we%20recommended%20you%20spend%20some%20time%20getting%20familiar%20with%20some%20of%20their%20features%20they%20offer%20-%20%3CA%20href%3D%22https%3A%2F%2Fpandas.pydata.org%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fpandas.pydata.org%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1867983271%22%20id%3D%22toc-hId--1867954501%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EEnriching%20data%20using%20external%20data%20sources%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOne%20of%20the%20powerful%20elements%20of%26nbsp%3BNotebooks%20is%26nbsp%3Bcombining%26nbsp%3Bdata%20from%26nbsp%3BMicrosoft%20Sentinel%26nbsp%3Bwith%20data%20from%20other%20sources.%20One%20of%20the%20most%20common%20sources%20of%20this%20data%20in%20security%20is%20Threat%20Intelligence%20(TI)%20data.%26nbsp%3BMSTICPy%26nbsp%3Bhas%26nbsp%3Bsupport%26nbsp%3Bfor%26nbsp%3Bseveral%26nbsp%3BThreat%20Intelligence%20data%20sources%20including%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EVirtusTotal%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EGreyNoise%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EAlienVault%20OTX%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIBM%26nbsp%3BXForce%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMicrosoft%20Sentinel%26nbsp%3BTI%20data%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CUL%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EOPR%20(for%20PageRank%20details)%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22-%22%20data-font%3D%22Calibri%22%20data-listid%3D%224%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%220%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EToR%26nbsp%3BExitNode%26nbsp%3Binformation.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThe%20first%20step%20in%20using%20these%20TI%20sources%20is%20to%20create%20a%20%60%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fdata_acquisition%2FTIProviders.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ETILookup%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%60%20object.%26nbsp%3BThis%26nbsp%3Bcan%20then%20be%20used%20to%20perform%20lookups%20against%20the%20various%20supported%20providers.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ELookups%20can%20be%20done%20against%20individual%20items%20via%20%60.lookup_ioc%60%20or%20against%20multiple%20items%20with%20%60.lookup_iocs%60%20and%20you%20can%20configure%20things%20such%20as%20which%20Threat%20Intelligence%20sources%20are%20used.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eti%E2%80%AF%3D%E2%80%AFTILookup()%0Ati.lookup_iocs(signin_df%2C%E2%80%AFobs_col%3D%22IPAddress%22%2C%E2%80%AFproviders%3D%5B%22GreyNoise%22%5D)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_4-1637201760699.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327853iF8171B9351F08D59%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_4-1637201760699.png%22%20alt%3D%22Lookup_iocs%20results%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ELookup_iocs%20results%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW132078103%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW132078103%20BCX8%22%3ETo%20make%20viewing%20results%20easier%20there%20is%20a%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW132078103%20BCX8%22%3Ewidget%20to%20allow%20you%20to%20interactively%20browse%20results%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW132078103%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eti.browse_results(ti_df)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_5-1637201816779.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327854i5A4BBA4AA768FC84%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_5-1637201816779.png%22%20alt%3D%22TI%20results%20browser%20widget%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETI%20results%20browser%20widget%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%223%22%20id%3D%22toc-hId--1177421797%22%20id%3D%22toc-hId--1177393027%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EAzure%20API%26nbsp%3BAccess%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EMSTICPy%26nbsp%3Balso%20has%20integration%20with%20a%20range%20of%20Azure%20APIs%20that%20can%20be%20used%20to%20retrieve%20additional%20information%20or%20perform%20actions%26nbsp%3Bsuch%20as%20get%20Microsoft%20Sentinel%20incidents.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Efrom%E2%80%AFmsticpy.data.azure_sentinel%E2%80%AFimport%E2%80%AFAzureSentinel%0Aazs%E2%80%AF%3D%E2%80%AFAzureSentinel()%0Aazs.connect()%0Aazs.get_incident(incident_id%E2%80%AF%3D%E2%80%AF%227c768f11-31f1-46ca-8a5c-25df2e6b7021%22%2C%E2%80%AFsub_id%E2%80%AF%3D%E2%80%AF%228df49d90-99eb-4c31-985d-64b3f33caa93%22%2C%E2%80%AFres_grp%3D%E2%80%AF%22sent%22%2C%E2%80%AFws_name%3D%22workspace%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_6-1637201875147.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327855iFFFC2F124192DB72%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_6-1637201875147.png%22%20alt%3D%22Output%20of%20Azure%20APIs%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOutput%20of%20Azure%20APIs%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW113191619%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%3EYou%20can%20find%20out%20more%20about%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW113191619%20BCX8%22%3EMSTICPy%E2%80%99s%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esupport%20for%20Azure%20APIs%20in%20the%20documentation%3A%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW113191619%20BCX8%22%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fdata_acquisition%2FAzureData.html%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20nofollow%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW113191619%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3Ehttps%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fdata_acquisition%2FAzureData.html%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW113191619%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%26amp%3B%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CA%20class%3D%22Hyperlink%20SCXW113191619%20BCX8%22%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fdata_acquisition%2FAzureSentinel.html%22%20target%3D%22_blank%22%20rel%3D%22noreferrer%20noopener%20nofollow%22%3E%3CSPAN%20class%3D%22TextRun%20Underlined%20SCXW113191619%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%20data-ccp-charstyle%3D%22Hyperlink%22%3Ehttps%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2Fdata_acquisition%2FAzureSentinel.html%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20class%3D%22TextRun%20SCXW113191619%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW113191619%20BCX8%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW113191619%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId-485844838%22%20id%3D%22toc-hId-485873608%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EVisualizations%20with%26nbsp%3BMSTICPy%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThe%20ability%20to%20create%20complex%2C%20interactive%20visualizations%20is%20one%20of%20the%20key%20benefits%20of%26nbsp%3BNotebooks%2C%20allowing%20analysts%20to%20see%20data%20in%26nbsp%3Ba%20unique%20way%26nbsp%3Band%20use%20it%20to%26nbsp%3Bidentify%26nbsp%3Bpatterns%20of%26nbsp%3Banomalies%26nbsp%3Bthat%20may%20not%20otherwise%20be%20possible%20to%26nbsp%3Bidentify.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3ECreating%20these%26nbsp%3Bvisualizations%26nbsp%3Bfrom%20scratch%20can%20be%20quite%26nbsp%3Ba%26nbsp%3Bcomplex%26nbsp%3Btask%26nbsp%3Band%20involve%20a%20lot%20of%20code%26nbsp%3Bif%26nbsp%3Bstarting%20from%20nothing.%26nbsp%3BTo%20make%20the%20process%20easier%26nbsp%3BMSTICPy%26nbsp%3Bcontains%26nbsp%3Bseveral%26nbsp%3Bcommon%26nbsp%3Bvisualizations%26nbsp%3Bwork%20out%20the%20box%20with%20common%20data%20sources%20from%20Microsoft%20Sentinel%2C%20and%26nbsp%3Bthat%20can%20quickly%20and%20easily%20be%20called%20with%20minimal%20code.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%223%22%20id%3D%22toc-hId--1192526906%22%20id%3D%22toc-hId--1192498136%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ETimelines%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EUnderstanding%20when%20events%20occurred%20and%20in%20what%20order%20is%26nbsp%3Ba%20key%26nbsp%3Bcomponent%26nbsp%3Bof%20many%20security%20investigations.%26nbsp%3BMSTICPy%26nbsp%3Bcan%26nbsp%3Bplot%26nbsp%3Bdiverse%20types%26nbsp%3Bof%20timelines%26nbsp%3Bwith%26nbsp%3Bseveral%20types%26nbsp%3Bof%20data.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Euser_df%E2%80%AF%3D%E2%80%AFqry_prov.Azure.list_aad_signins_for_account(account_name%3D%22pdemo%40seccxpninja.onmicrosoft.com%22)%0Atimeline.display_timeline(user_df%2C%E2%80%AFsource_columns%3D%5B%22UserPrincipalName%22%2C%E2%80%AF%22ResultType%22%5D%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_0-1637202590462.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327857i805FD07468F512E4%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_0-1637202590462.png%22%20alt%3D%22Timeline%20visualization%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETimeline%20visualization%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETroubleshooting%20Tip%3A%20%3C%2FSTRONG%3E%20If%20you%20are%20defining%20columns%20from%20a%20DataFrame%20as%20a%20parameter%20in%20another%20function%20(as%20we%20do%20above%20with%20source_columns)%20you%20can%20sometimes%20run%20into%20issues%20if%20you%20specify%20a%20column%20that%20does%20not%20exist.%20If%20you%20want%20to%20see%20what%20columns%20a%20DataFrame%20has%20you%20can%20call%20%60DataFrame.columns%60%20to%20get%20a%20list%20of%20all%20the%20columns.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22TextRun%20SCXW227979487%20BCX8%22%20data-contrast%3D%22auto%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW227979487%20BCX8%22%3EWe%20can%20also%20plot%20time%20lines%20showing%20events%20with%20a%20duration%20rather%20than%20a%20single%20time%20stamp%20with%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW227979487%20BCX8%22%3E%60%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22TextRun%20SCXW227979487%20BCX8%22%20data-contrast%3D%22none%22%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW227979487%20BCX8%22%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SpellingErrorV2%20SCXW227979487%20BCX8%22%3Edisplay_timeline_duration%3C%2FSPAN%3E%3CSPAN%20class%3D%22NormalTextRun%20SCXW227979487%20BCX8%22%3E%60%3A%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22EOP%20SCXW227979487%20BCX8%22%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A2%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A255%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Etimeline_duration.display_timeline_duration(alert_df%2C%E2%80%AFgroup_by%3D%22AlertName%22%2C%E2%80%AFtime_column%3D%22StartTimeUtc%22%2C%E2%80%AFend_time_column%3D%22EndTimeUtc%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_1-1637202649447.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327858i7660F54BA68225DB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_1-1637202649447.png%22%20alt%3D%22Timeline%20duration%20visualization%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETimeline%20duration%20visualization%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20style%3D%22border%3A%20solid%201px%3B%20padding%3A%2010px%3B%20background-color%3A%20%23fafaff%3B%22%3E%3CSTRONG%3ETip%3A%20%3C%2FSTRONG%3E%20You%20can%20also%20call%20the%20timeline%20visualization%20directly%20from%20a%20DataFrame%20with%20%E2%80%98mp_plot%E2%80%99%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Ealert_df.mp_plot.timeline(group_by%3D%22Severity%22%2C%E2%80%AFsource_columns%3D%5B%22AlertName%22%2C%E2%80%AF%22TimeGenerated%22%5D)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_2-1637202709464.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327859iFEA511F870DD8F85%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_2-1637202709464.png%22%20alt%3D%22Grouped%20timeline%20visualization%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EGrouped%20timeline%20visualization%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%223%22%20id%3D%22toc-hId-1294985927%22%20id%3D%22toc-hId-1295014697%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EMatrix%20Plots%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThe%20Matrix%20Plot%20graph%20in%26nbsp%3BMSTICPy%26nbsp%3Ballows%20you%20to%20plot%20the%20interactions%20between%20two%20elements%20in%20your%20data.%26nbsp%3BThis%20can%20be%20useful%20for%20seeing%20the%20relationships%20between%20points%20in%20a%20dataset%2C%20for%20example%20if%20you%20wanted%20to%20see%20how%20often%20certain%20IP%20addresses%20are%26nbsp%3Bcommunicating%26nbsp%3Bwith%20each%20other%26nbsp%3Bin%20a%20network%20you%20can%20create%20a%20matrix%20plot%20with%20a%20source%20IP%20address%20on%20one%20axis%2C%20and%20a%20destination%20IP%20address%20on%20the%20other%20axis.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EAs%20with%20the%20timeline%20plots%2C%26nbsp%3Bthe%20matrix%20plot%20can%20be%20created%20directly%20from%20a%26nbsp%3BDataFrame%26nbsp%3Busing%20%60mp_plot%60%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Enetwork_data.mp_plot.matrix(x%3D%22SourceIP%22%2C%E2%80%AFy%3D%22DestinationIP%22%2C%E2%80%AFtitle%3D%22IP%E2%80%AFInteraction%22)%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_3-1637202744371.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327860i5335A08995B79DDF%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_3-1637202744371.png%22%20alt%3D%22Matrix%20visualization%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMatrix%20visualization%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20aria-level%3D%222%22%20id%3D%22toc-hId--512468536%22%20id%3D%22toc-hId--512439766%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EWidgets%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWe%20have%20seen%20a%20couple%20of%20widgets%20already%20in%20the%20query%20and%20threat%20intelligence%20result%20browsers.%20These%20widgets%20make%26nbsp%3BNotebooks%20much%20more%20accessible%20by%20providing%20a%20visual%20way%20to%26nbsp%3Binteract%20and%26nbsp%3Bcustomize%20them%20without%20having%20to%20write%20any%20code.%26nbsp%3BMSTICPy%26nbsp%3Bincludes%20a%20number%20visual%2C%20interactive%20widgets%20to%20allow%20users%20to%20select%20various%20parameters%20to%20customize%20the%26nbsp%3BNotebook.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Enetwork_vendor_data_q%E2%80%AF%3D%E2%80%AF%22CommonSecurityLog%E2%80%AF%7C%E2%80%AFsummarize%E2%80%AFby%E2%80%AFDeviceVendor%22%0Anetwork_vendor_data%E2%80%AF%3D%E2%80%AFqry_prov.exec_query(network_vendor_data_q)%0Anetwork_selector%E2%80%AF%3D%E2%80%AFnbwidgets.SelectItem(%0A%E2%80%AF%E2%80%AF%E2%80%AF%E2%80%AFitem_list%3Dnetwork_vendor_data%5B%22DeviceVendor%22%5D.to_list()%2C%0A%E2%80%AF%E2%80%AF%E2%80%AF%E2%80%AFdescription%3D'Select%E2%80%AFa%E2%80%AFvendor'%2C%0A%E2%80%AF%E2%80%AF%E2%80%AF%E2%80%AFaction%3Dprint%2C%0A%E2%80%AF%E2%80%AF%E2%80%AF%E2%80%AFauto_display%3DTrue%0A)%3B%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_4-1637202793259.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327861i0393F4B180361E4E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_4-1637202793259.png%22%20alt%3D%22Using%20the%20SelectItem%20widget%20to%20select%20a%20network%20vendor%20from%20data%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EUsing%20the%20SelectItem%20widget%20to%20select%20a%20network%20vendor%20from%20data%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Eq_times%E2%80%AF%3D%E2%80%AFnbwidgets.QueryTime(units%3D'day'%2C%E2%80%AFmax_before%3D20%2C%E2%80%AFbefore%3D5%2C%E2%80%AFmax_after%3D1)%0Aq_times.display()%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_5-1637202823185.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327862i105D0CA968F2031D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_5-1637202823185.png%22%20alt%3D%22Time%20range%20selection%20widget%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ETime%20range%20selection%20widget%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-python%22%3E%3CCODE%3Esecurity_alerts%E2%80%AF%3D%E2%80%AFqry_prov.SecurityAlert.list_alerts(add_query_items%3D%22%7C%E2%80%AFtake%E2%80%AF10%22)%0Aalert_select%E2%80%AF%3D%E2%80%AFnbwidgets.SelectAlert(alerts%3Dsecurity_alerts%2C%E2%80%AFaction%3Dnbdisplay.display_alert)%0Adisplay(Markdown('%23%23%23%E2%80%AFAlert%E2%80%AFselector%E2%80%AFwith%E2%80%AFaction%3DDisplayAlert'))%0Adisplay(HTML(%22%3CB%3E%E2%80%AFAlert%E2%80%AFselector%E2%80%AFwith%E2%80%AFaction%3DDisplayAlert%E2%80%AF%3C%2FB%3E%22))%0Aalert_select.display()%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22PeteBryan_6-1637202855302.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327863iE45D8D2E66A77043%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PeteBryan_6-1637202855302.png%22%20alt%3D%22Alert%20selector%20widget%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAlert%20selector%20widget%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20aria-level%3D%222%22%20id%3D%22toc-hId-1845961578%22%20id%3D%22toc-hId-1845990348%22%3E%3CSPAN%20data-contrast%3D%22none%22%3EWhat%20to%20do%20Next%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559738%26quot%3B%3A40%2C%26quot%3B335559739%26quot%3B%3A0%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWhat%20you%20have%20seen%20here%20is%20just%20a%20tiny%20taster%20of%20what%20Microsoft%20Sentinel%26nbsp%3BNotebooks%20can%20do.%20However%2C%26nbsp%3Bluckily%2C%26nbsp%3Bwe%20have%20a%20lot%20of%20additional%20resources%20to%20help%20you%20learn%26nbsp%3Bwhat%20you%20need%20and%20get%20started%20with%26nbsp%3BNotebooks.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWe%20recommend%20that%20you%20do%20the%20following%3A%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3ESign%20up%26nbsp%3Bfor%26nbsp%3Bthe%26nbsp%3Bwebinar%26nbsp%3Bbelow%26nbsp%3Bwhere%20we%20will%20cover%26nbsp%3Bthe%26nbsp%3Btopics%20in%20this%20blog%20in%20an%20interactive%20manner%2C%26nbsp%3Bwhere%20you%20can%20see%20the%20code%20being%20executed%20and%20learn%20some%20extra%20hints%20and%20tips%20about%20running%26nbsp%3BNotebooks.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3EDecember%2016%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3Eth%3C%2FSPAN%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B2021%26nbsp%3B-%20Become%26nbsp%3Ba%26nbsp%3BJupyter%26nbsp%3BNotebooks%20Ninja%20%E2%80%93%26nbsp%3BMSTICPy%26nbsp%3BFundamentals%20to%20Build%20Your%20Own%26nbsp%3BNotebooks%26nbsp%3B-%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fforms.office.com%2Fpages%2Fresponsepage.aspx%3Fid%3Dv4j5cvGGr0GRqy180BHbR2HneBfpDd1Mj3-yGKE5Q-xUNkVRQkNPTlFXSzVFRzZFSURFWkRKM0hWUi4u%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3ESign%20Up%20Here%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3ERun%20the%20Getting%20Started%26nbsp%3BNotebook%26nbsp%3Bin%26nbsp%3BMicrosoft%20Sentinel%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CUL%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThis%20will%20help%20you%20get%20your%20config%20set%20up%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThis%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsentinel%2Fnotebook-get-started%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3EDocumentation%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3Bwill%20help%20you%20in%20running%20this%20notebook%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3EThere%20is%20also%20an%20online%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSaEQJfoe8Io%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%3Etutorials%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3ETry%20the%26nbsp%3Binteractive%26nbsp%3BMSTICPy%26nbsp%3BLab%20%E2%80%93%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmsticpy-demo%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3Ehttps%3A%2F%2Faka.ms%2Fmsticpy-demo%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3EGo%20and%20read%20the%26nbsp%3BMSTICPy%26nbsp%3Bdocs%20%E2%80%93%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2FGettingStarted.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3Ehttps%3A%2F%2Fmsticpy.readthedocs.io%2Fen%2Flatest%2FGettingStarted.html%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3ELearn%20more%20about%20Pandas%20-%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fpandas.pydata.org%2Fdocs%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3Ehttps%3A%2F%2Fpandas.pydata.org%2Fdocs%2F%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%20data-contrast%3D%22auto%22%3ECheck%20out%20our%20other%26nbsp%3BNotebooks%20for%20ideas!%20-%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel-Notebooks%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%20data-contrast%3D%22none%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel-Notebooks%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%20data-contrast%3D%22auto%22%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2977745%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EJupyter%26nbsp%3BNotebooks%20are%20a%20fantastic%20resource%20for%20security%20analysts%2C%26nbsp%3Bproviding%26nbsp%3Ba%20range%20of%20powerful%20and%20flexible%20capabilities.%26nbsp%3BMicrosoft%20Sentinel%E2%80%99s%20integration%20with%26nbsp%3BNotebooks%26nbsp%3Bcan%26nbsp%3Bprovide%26nbsp%3Ba%20quick%20and%26nbsp%3Bstraightforward%20way%26nbsp%3Bfor%20security%20analysts%20to%20use%26nbsp%3BNotebooks%2C%20however%20for%20those%20new%20to%26nbsp%3BNotebooks%20and%20coding%20they%20can%20be%20a%20little%20daunting.%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20data-contrast%3D%22auto%22%3EIn%26nbsp%3Bthis%20blog%20we%20will%20cover%20some%20of%20the%20basics%26nbsp%3Bof%20creating%20your%20first%20Microsoft%20Sentinel%26nbsp%3BNotebook%26nbsp%3Busing%20Python%2C%20including%20how%20to%20troubleshoot%20some%20common%20issues%20you%20may%20come%20across.%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%221%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EInstalling%20and%20importing%20packages%20in%20Python%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%222%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EInstalling%20and%20importing%26nbsp%3BMSTICPy%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%223%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3ESetting%20up%26nbsp%3BMSTICPy%E2%80%99s%26nbsp%3Bconfig%20file%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%224%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EGetting%20data%20from%20Microsoft%20Sentinel%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%225%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EWorking%20with%20data%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%226%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EEnriching%26nbsp%3Bresults%26nbsp%3Bwith%20external%20data%20sources%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%20data-leveltext%3D%22%EF%82%B7%22%20data-font%3D%22Symbol%22%20data-listid%3D%228%22%20aria-setsize%3D%22-1%22%20data-aria-posinset%3D%227%22%20data-aria-level%3D%221%22%3E%3CSPAN%20data-contrast%3D%22auto%22%3EVisualizations%20with%26nbsp%3BMSTICPy%3C%2FSPAN%3E%3CSPAN%20data-ccp-props%3D%22%7B%26quot%3B134233279%26quot%3B%3Atrue%2C%26quot%3B201341983%26quot%3B%3A0%2C%26quot%3B335559739%26quot%3B%3A160%2C%26quot%3B335559740%26quot%3B%3A259%7D%22%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2977745%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Sentinel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎Nov 18 2021 04:22 AM
Updated by: