/notebook_builder

An example of scaling the use of Jupyter Notebooks with nbformat and YAML configuration files.

Primary LanguagePythonMIT LicenseMIT

How to create and maintain Jupyter threat hunting notebooks - Example Source Code

An example of scaling the use of Jupyter Notebooks with nbformat and YAML configuration files.

Below is the example source code for Expel’s blog post, “How to create and maintain Jupyter threat hunting notebooks.” You can find the blog here: [Link to blog post]

Instructions

Follow the steps below to see the example in use.

  1. Clone this repo and change into the repo directory:
$ git clone git@github.com:expel-io/notebook_builder.git
$ cd notebook_builder
  1. Build:
$ docker-compose build

(this could take up to 10 minutes)

  1. Build the notebooks and run the Jupyter server:
$ docker-compose run --service-ports notebook

(this could take up to 10 minutes the first time it's run)

Use the link provided by your terminal to access Jupyter Notebook in your browser and see the example notebooks.

From Jupyter Notebook, you can access the notebooks by clicking on their file names:

  • anom_proc_rel.ipynb
  • legit_svc_c2.ipynb

  1. Continue to test, learn, iterate!