Skip to content

Latest commit

 

History

History

Functions

Microsoft Sentinel Functions

Microsoft Sentinel allows you to save pre-defined queries as a function then call them from a single line to save time with your hunting. This is especially useful if you often join multiple tables together.

Once you write your query, you select Save - Save as function

Save as function

Then name your function, this will be the same name you then query Microsoft Sentinel with.

Select name for function

Then you can run your saved function using a single line query.

Run function

You can then query within the function as you would a normal query.

Run function query

Some functions require a parameter specified, such as the UserInvestigation function. These functions take an input and pass them through to the function. This one requires a string called user, and you can leave default value.

Function parameter