Why this matters
Reduces standing privileges and provides evidence for access reviews in SOC 2.
Grant production access just-in-time via approved requests with scoped durations; break-glass access must trigger alerts and expanded audit logging.
Reduces standing privileges and provides evidence for access reviews in SOC 2.
Side-by-side examples engineers can pattern-match during review.
prod_admins = ["alice","bob"] # permanentgrant_access(user,"prod.read", duration=3600); log_audit(action="access.grant",scope="prod.read")grant_access(u, "prod.write", 1800)grant_access(u, "prod.write", 0)From the same buckets as this rule.
Public services must require TLSv1.2 or higher and set HSTS (max-age ≥ 15552000, includeSubDomains). Reject plaintext HTTP and weak ciphers; cookies must be Secure and HttpOnly with SameSite set.