learning-it by example

Back to the video

Support Bundle Without Secrets: Redact and Check It

The obvious redaction rule found nothing, and five secrets were still in the support bundle.

Video #321 ยท Forward deployed engineer interviews

Steps in the video

  1. 0:00 A support bundle leaked five secrets, and the first rule found nothing
  2. 0:28 The idea
  3. 1:01 Setup
  4. 1:37 The machine
  5. 2:04 Collect and redact
  6. 2:43 The check
  7. 3:02 Three versions
  8. 4:03 What this does not show
  9. 4:37 Mistakes to avoid
  10. 5:01 My take and next steps
  11. 5:29 Recap

Files

  • bundle.py (27 lines)
  • check.py (7 lines)
  • machine.py (29 lines)
  • run.py (19 lines)

Download the code (zip)

Tested with

Python 3.12.15

What this does not show

A made-up machine with five planted secrets; the rules were written for them and the check finds only planted secrets; a person must still review a real bundle.

Sources

Learning IT by Example.