Lion Cipher Lab

Compliance as code: author and validate an OSCAL document

Why it matters

For decades, compliance evidence has lived in Word documents and Excel spreadsheets — a 300-page System Security Plan no tool can read, a control matrix that is out of date the week after it is signed, evidence that has to be re-typed for every audit. OSCAL is NIST's answer: express control catalogs, baselines, plans and results as structured, machine-readable data instead of prose, so a document becomes something software can validate, diff, and reuse. This is the concrete meaning of 'compliance as code' and 'GRC-as-code', and it is exactly the direction FedRAMP's modernization ('FedRAMP…

What you'll learn

Steps in this lab

  1. What OSCAL is, in plain language
  2. The OSCAL model layers — and how they map to documents you already know
  3. Set up: install a validator and grab the official schema
  4. Understand the top-level shape every OSCAL document shares
  5. Hand-author a small, valid OSCAL component-definition
  6. Validate it — and see what a PASS looks like
  7. Break it on purpose — and see what a validation ERROR looks like
  8. Optional: try a purpose-built OSCAL tool (follow its current README)
  9. When compliance-as-code pays off, when a Word SSP is still fine, and how a pro does it better
  10. What you just did — and why it's rare

Open the full interactive lab →