Skip to content

CyberSecDef/cyber-companion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cyber Companion — Code, Templates, and Artifacts

This repository holds every long-form script, template, policy, and reference artifact that accompanies A Generalist's Guide to Cyber Security — A Cyber Trackr Companion Guide by Robert Weber.

The book deliberately keeps code listings short so it reads well in print. Anything longer than ~30 lines — production-minded scripts, full-sized templates, real-world policy examples — lives here where it can be copy-pasted, forked, and evolved independently of the book's print cycle.

How to use this repo

Each chapter in the book that references a file here gives you:

  1. A short excerpt (usually the first 10-15 lines) inline in the book, so you can see the shape of the artifact without leaving the page.
  2. A "→ Full file" pointer with the exact path in this repo.

Clone it, browse it on GitHub, or download single files as needed:

git clone https://github.com/CyberSecDef/cyber-companion.git
cd cyber-companion

Every path below is a direct file link on main. If you're reading a specific edition of the book and want the artifacts as they were the day that edition was published, check out the matching release tag (e.g., v1.0-print-edition) instead of main.

License

MIT — see LICENSE. Use freely in commercial, government, or educational contexts. The artifacts are templates, not legal or compliance advice; tailor before putting them in front of an authorizing official or auditor.

Folder layout

Every chapter that contributes files gets its own folder named chNN-<slug>. Appendix A's template library lives under appendix-a-templates/.


Index — by chapter

Ch 3 — Applying RMF Design Principles to Secure Your Systems

Ch 4 — Threat Modeling

Ch 5 — The "Seven" Steps of RMF

Ch 6 — RMF Step 0: Prepare

Ch 7 — RMF Step 1: Categorize

Ch 8 — RMF Step 2: Select

  • ch08-select/select_controls.py — Tailored-baseline selector: applies SP 800-53B baselines, overlays, and tailoring decisions with a full audit log. 277 lines.

Ch 10 — RMF Step 4: Assess

Ch 11 — RMF Step 5: Authorize

Ch 12 — RMF Step 6: Monitor

Ch 13 — RMF Security Control Families: An Orientation

Ch 14 — AC: Access Control

Ch 15 — AT: Awareness and Training

Ch 16 — AU: Audit and Accountability

Ch 17 — CA: Assessment, Authorization, and Monitoring

Ch 18 — CM: Configuration Management

Ch 19 — CP: Contingency Planning

Ch 20 — IA: Identification and Authentication

Ch 21 — IR: Incident Response

Ch 22 — MA: Maintenance

Ch 23 — MP: Media Protection

Ch 24 — PE: Physical and Environmental Protection

Ch 25 — PL: Planning

Ch 26 — PM: Program Management

Ch 27 — PS: Personnel Security

Ch 28 — PT: PII Processing and Transparency

Ch 29 — RA: Risk Assessment

Ch 30 — SA: System and Services Acquisition

Ch 32 — Cryptography Primer

Ch 33 — SI: System and Information Integrity

Ch 34 — SR: Supply Chain Risk Management

Ch 35 — Software Supply Chain Security

Ch 37 — Policies and Configurations for Hardware Assets

Ch 38 — Understanding Compliance and Vulnerability Scans

Ch 39 — Writing the SSP and POA&M

Ch 40 — Applying RMF in the Cloud (FedRAMP)

Ch 41 — Zero Trust Architecture

Ch 42 — OSCAL and the Continuous ATO

Ch 43 — Securing AI Systems (NIST AI RMF)


Appendix A — Template Library

Drop-in skeletons for the artifacts every RMF program eventually needs to produce.


Contributing

Corrections, clarifications, and extensions are welcome. Open an issue or a pull request. If you've adapted one of these artifacts to a different regulatory regime (FISMA High, FedRAMP High, CMMC, HIPAA, state privacy law), a contribution noting the deltas is especially valuable to the next reader.

Contact

About

Companion sources to the Cyber Guidebook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors