~/talk

Policy as Code with Sentinel Language

Talkat Strange Loop 2017 · 2017-09-28..09-30· [devops-and-delivery, security]
slides:none on file

HashiCorp ships a new Sentinel language that codifies compliance rules, a Go-friendly runtime that embeds in tools, a simulator for local testing, and an import SDK for querying external systems. Policies are lazy and cached with rule memoization, run in a sandboxed evaluator, and support advisory/soft/hard enforcement levels so checks can warn, allow overrides, or block actions. Examples include preventing a fat‑finger 5,000‑VM request and gating AMI/container whitelists.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Infrastructure as Code
  3. 1:10Before Infrastructure as Code
  4. 2:09What is Infrastructure as Code
  5. 3:36Benefits of Infrastructure as Code
  6. 4:55Prerequisites
  7. 5:56API Contracts
  8. 6:44The Paradox of Automation
  9. 7:49Accidental Error
  10. 8:41Malicious Intent
  11. 9:25Separation of Responsibility
  12. 12:09Organizational Challenges
  13. 12:51Sentinel
  14. 13:45Goals
  15. 14:58Embedding
  16. 15:48Simplicity
  17. 16:53Debugging
  18. 17:23NGOfriendliness
  19. 18:05Challenges
  20. 19:09Design Decisions
  21. 19:20Dynamic Typing
  22. 20:31FirstClass Rules
  23. 20:52Rules as Functions
  24. 23:20Dedicated Existential Operators
  25. 24:09Plain English Operators
  26. 24:43Handling Errors
  27. 27:21Syntax
  28. 29:51Lexer parser
  29. 30:41Syntax semantics checking
  30. 31:12The evaluator
  31. 32:14Avoiding user functions
  32. 32:48Enforcement levels
  33. 33:52Things you cannot override
  34. 34:05Shortcircuiting
  35. 34:35Embedded runtime
  36. 34:56Simulator
  37. 35:21Application
  38. 36:42Import SDK
  39. 37:30Plugin Ecosystem
  40. 37:50Config Protection
  41. 38:20Use Cases
  42. 39:04Compliance
  43. 39:29Policies will never be exhaustive
  44. 40:13Conclusion
~/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.