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]
Follow the steps below to see the example in use.
- Clone this repo and change into the repo directory:
$ git clone [email protected]:expel-io/notebook_builder.git
$ cd notebook_builder
- Build:
$ docker-compose build
(this could take up to 10 minutes)
- 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
- Continue to test, learn, iterate!