Lion Cipher Lab

Fix Azure findings in Terraform and prove each fix with a re-sweep and a diff (Azure assessment 5 of 6)

Why it matters

A finding list that nobody acts on is a to-do list. The part that makes an assessment valuable is the loop: change one thing, measure again, show the finding gone. Doing it in code matters because a fix made by clicking in a portal is easily undone by the next deployment, while a fix in Terraform is reviewed, repeatable and lasts. Independent evidence matters too: the reader that proves the fix is a different, read-only identity from the one that made it, which is the habit of a good auditor.

What you'll learn

Steps in this lab

  1. The rule first: a throwaway rig, empty, destroyed at the end
  2. Write the weak rig
  3. Apply it, then sweep it as the assessor
  4. Fix it in code: three changes and one thing you leave alone
  5. A Bicep version of the storage fix, for a team that uses Bicep
  6. Re-sweep as the assessor and diff the two sweeps
  7. What the defender sees, then destroy the rig

Open the full interactive lab →

Keep learning