Generates a colourful Excel workbook from a YAML file containing SANS course content.
Read this blog post for more information about this project.
-
Install Python 3.8+.
-
Install Poetry.
-
Clone this repository.
-
Run
poetry install
. -
Run
poetry shell
. -
Generate an Excel workbook (
sans-course.xlsx
) from a YAML file (sans-course.yml
):python sans-index.py sans-course.yml
Create a YAML document of SANS course content. The root of the document is a sequence of the course's books.
- <book>
- <book>
- <book>
Books map a book title to a sequence of chapters.
- Threat intelligence:
- <chapter>
- <chapter>
- <chapter>
Chapters map a chapter name to a sequence of topics/keywords.
- Threat intelligence:
- Case study - Stuxnet:
- <topic>
- <topic>
- <topic>
Topics map a page number to topic.
- Threat intelligence:
- Case study - Stuxnet:
- 10: Stuxnet
- 10: Case study - Stuxnet
- 10: Iran's nuclear program
- Introduction to active defense and incident response:
- 18: Sliding scale of cyber security
- 18: Architecture
- 18: Passive defense
% python sans-index.py --help
Usage: sans-index.py [OPTIONS] COURSE_CONTENT_PATH
Creates an Excel workbook containing SANS course contents and index.
The workbook is written to the current directory. It's filename is the same
as COURSE_CONTENT_PATH, except it's file extension is .xlsx.
Arguments:
COURSE_CONTENT_PATH Location of YAML document containing SANS course
content [required]
Options:
--install-completion [bash|zsh|fish|powershell|pwsh]
Install completion for the specified shell.
--show-completion [bash|zsh|fish|powershell|pwsh]
Show completion for the specified shell, to
copy it or customize the installation.
--help Show this message and exit.