Why this matters
Controlled change and traceability support SOC 2 availability and integrity.
Expose explicit API versions (e.g., v1, v2). Breaking changes require a deprecation window and a CHANGELOG entry; log api_version in requests for traceability.
Controlled change and traceability support SOC 2 availability and integrity.
Side-by-side examples engineers can pattern-match during review.
POST /users # silently changed schemaPOST /v2/users # v2 with contract change; v1 remains until 2026-01-01req.log({ api_version: "v1" })req.log({})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.