~/talk

Preventing Accidental Secret Commits with Gitleaks

Talkat Conf42 DevSecOps 2024 · on Thursday, 2024-12-05· [security]
linkedin:diahmed
slides:none on file

Gitleaks plus Harness Open Source actually stop accidental secret commits by applying pattern-based scanning at pre-commit/CICD time; demo shows a pushed commit failing with an explicit file, commit id and detected secret and the push is refused. Setup uses Gitleaks rules (predefined and customizable) and a lightweight Harness instance; it prevents new leaks but doesn't remove existing secrets in history and blocks commits containing secrets until fixed.

AI-written summary · about

  1. 0:00Introduction and Speaker Introduction
  2. 0:39Understanding Git Repository Vulnerabilities
  3. 1:45The Concept of Secrets in Code
  4. 2:49Shifting Left on Security
  5. 3:16Introducing GitLeaks: An Open Source Secret Scanner
  6. 5:29Harness Open Source: Features and Setup
  7. 7:02Demo: Preventing Accidental Secret Commits
  8. 13:44Summary and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.