Skip to content

Python/Jupyter based reporting architecture and notebooks for security & threat intelligence

License

Notifications You must be signed in to change notification settings

DGovEnterprise/wasoc-notebook

Repository files navigation

Python notebooks for reporting

Overview

This repository contains a python package azure-notebook-reporting to simplify working with azure apis in python notebooks, and some supporting KQL and notebook files to use as templates for establishing a reporting pipeline based on information in Microsoft Sentinel and Microsoft 365 Defender Advanced Hunting.

Setting up a reporting environment

These notebooks have been built and tested on Azure Machine Learning Compute Instances using the built in azureml_py310_sdkv2 conda environment. This is a very rapid way to get a linux environment with all the associated tools including jupyterlab ready to go, and the ability to load data in from Apache Spark if needed for large scale / long timeframe data ingestion.

First Run

Login to azure, and configure your local environment pointing at a shared storage location, e.g.

conda env config vars set AZURE_STORAGE_CONTAINER=https://{account}.blob.core.windows.net/{container} AZURE_SUBSCRIPTION={subscriptionid}
conda activate azureml_py310_sdkv2

Using a blob container as above will ensure your notebooks have a consistent way to load and access commonly used information between reporting sessions.

About

Python/Jupyter based reporting architecture and notebooks for security & threat intelligence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published