{"id":18263840,"url":"https://github.com/eidorb/sans-index","last_synced_at":"2025-06-27T22:37:30.709Z","repository":{"id":146631760,"uuid":"428874484","full_name":"eidorb/sans-index","owner":"eidorb","description":"Automated SANS course indexes for GIAC exams","archived":false,"fork":false,"pushed_at":"2025-02-15T01:49:16.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T01:32:56.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://brodie.id.au/blog/sans-course-index.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eidorb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-17T01:50:55.000Z","updated_at":"2025-02-23T02:16:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"f82dacf8-e20c-45aa-a01b-17b3fbd511e6","html_url":"https://github.com/eidorb/sans-index","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eidorb/sans-index","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidorb%2Fsans-index","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidorb%2Fsans-index/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidorb%2Fsans-index/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidorb%2Fsans-index/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eidorb","download_url":"https://codeload.github.com/eidorb/sans-index/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eidorb%2Fsans-index/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262345984,"owners_count":23296808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T11:12:53.261Z","updated_at":"2025-06-27T22:37:30.677Z","avatar_url":"https://github.com/eidorb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sans-index\n\nGenerates a colourful Excel workbook from a YAML file containing SANS course content.\n\nRead this [blog post](https://brodie.id.au/blog/sans-course-index.html)\nfor more information about this project.\n\n\n## Quick start\n\n1. Install Python 3.8+.\n2. Install [Poetry](https://python-poetry.org/docs/).\n3. Clone this repository.\n4. Run `poetry install`.\n5. Run `poetry shell`.\n6. Generate an Excel workbook (`sans-course.xlsx`) from a YAML file (`sans-course.yml`):\n\n       python sans-index.py sans-course.yml\n\n\n## SANS course outline\n\nCreate a YAML document of SANS course content. The root of the document is a sequence of the course's books.\n\n```yaml\n- \u003cbook\u003e\n- \u003cbook\u003e\n- \u003cbook\u003e\n```\n\nBooks map a book title to a sequence of chapters.\n\n```yaml\n- Threat intelligence:\n    - \u003cchapter\u003e\n    - \u003cchapter\u003e\n    - \u003cchapter\u003e\n```\n\nChapters map a chapter name to a sequence of topics/keywords.\n\n```yaml\n- Threat intelligence:\n    - Case study - Stuxnet:\n        - \u003ctopic\u003e\n        - \u003ctopic\u003e\n        - \u003ctopic\u003e\n```\n\nTopics map a page number to topic.\n\n```yaml\n- Threat intelligence:\n    - Case study - Stuxnet:\n        - 10: Stuxnet\n        - 10: Case study - Stuxnet\n        - 10: Iran's nuclear program\n    - Introduction to active defense and incident response:\n        - 18: Sliding scale of cyber security\n        - 18: Architecture\n        - 18: Passive defense\n```\n\n\n## `sans-index.py`\n\n    % python sans-index.py --help\n\n    Usage: sans-index.py [OPTIONS] COURSE_CONTENT_PATH\n\n    Creates an Excel workbook containing SANS course contents and index.\n\n    The workbook is written to the current directory. It's filename is the same\n    as COURSE_CONTENT_PATH, except it's file extension is .xlsx.\n\n    Arguments:\n    COURSE_CONTENT_PATH  Location of YAML document containing SANS course\n                        content  [required]\n\n    Options:\n    --install-completion [bash|zsh|fish|powershell|pwsh]\n                                    Install completion for the specified shell.\n    --show-completion [bash|zsh|fish|powershell|pwsh]\n                                    Show completion for the specified shell, to\n                                    copy it or customize the installation.\n    --help                          Show this message and exit.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidorb%2Fsans-index","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feidorb%2Fsans-index","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feidorb%2Fsans-index/lists"}