~/talk

Leveraging networkx in-memory graphs for securing your cloud infrastructure

Talkat PyCon Israel 2022 · 2022-06-28..06-29· [security, python]
links:none on file
slides:none on file

Checkov uses networkx digraph to build an in-memory DAG of Terraform and other IaC blocks, replacing a slow Neptune experiment and enabling fast graph queries. It performs variable rendering by backpropagating defaults through edges so checks see concrete values (example: S3 bucket encryption resolved via a linked kms key). Policies run via a Bridge Query Language over the graph; the project has ~2,500 built-in policies, ~4k GitHub stars and 8M pip installs, and the graph augmentation catches multi-resource misconfigurations that single-file scans miss.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Speaker introduction
  3. 1:09What we'll cover
  4. 3:16Infrastructure as code basics
  5. 7:07Secured IaC importance
  6. 8:31Introducing Checkov
  7. 13:26Dependencies and visualizing them
  8. 15:35Problem with independent scanning
  9. 17:40Modeling with NetworkX
  10. 21:10Graph implementation in Checkov
  11. 25:20Variable rendering in graphs
  12. 28:07Querying graphs with BQL
  13. 33:25Policy evaluation demo
  14. 34:49Q&A
~/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.