Lion Cipher Lab

Fix Google Cloud findings in Terraform and prove each fix with a re-sweep (GCP assessment 5 of 5)

Why it matters

A finding that is fixed by hand in a console is a finding that comes back: the next deployment, the next teammate or the next template will recreate it. Fixing in code puts the correction where the next change will see it, and a plan shows exactly what will change before anything does. Proving each fix with the same sweep that found it is the other half. It is the difference between 'I changed a setting' and 'I can show the exposure is gone', and it is how remediation is accepted in a real engagement.

What you'll learn

Steps in this lab

  1. The rule first: a throwaway project, empty resources, a destroy at the end
  2. Write the weak configuration
  3. Plan, apply, then sweep as the assessor
  4. Fix it in code: remove the binding, enforce prevention, narrow the rule
  5. Re-sweep and diff: prove each fix
  6. Destroy it, write the note, and take the defender's view

Open the full interactive lab →

Keep learning