Why this matters
Step-up auth reduces risk of session hijack and meets SOC 2 access control expectations.
Actions like role changes, key rotations, and exports of PII require MFA re-authentication within the last 5 minutes; record mfa_verified_at in the audit log.
Step-up auth reduces risk of session hijack and meets SOC 2 access control expectations.
Side-by-side examples engineers can pattern-match during review.
if (user.role=="admin") perform_export();if (mfa.isFresh(user, 300)) perform_export(); else prompt_mfa();requireFreshMFA(300)if (isAdmin) allow()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.