Session analytics reviewed quarterly
Why it matters
Session security controls only work if their efficacy is monitored. Without quarterly review of session analytics — login frequency, timeout event rates, concurrent session warnings, suspicious activity triggers — patterns that signal active attacks or policy drift go undetected for months. PCI-DSS Req 10.7 requires review of security logs and events on a regular schedule. NIST 800-63B AU-6 mandates log analysis. A spike in timeout events might indicate session hijacking attempts keeping a stolen session alive; a drop in concurrent-session warnings might mean the control stopped firing. Quarterly reviews convert raw session data into actionable security posture assessments.
Severity rationale
Info severity because the lack of a review schedule does not disable any session security control, but it ensures that control failures, attack patterns, and policy drift remain invisible until a breach forces a retrospective investigation.
Remediation
Create a session analytics endpoint at src/app/api/admin/session-analytics/route.ts and schedule a calendar review quarterly:
export async function GET() {
const since = new Date(Date.now() - 90 * 24 * 60 * 60 * 1000); // 90 days
const analytics = await db.sessionEvents.groupBy({
by: ['event'],
where: { timestamp: { gte: since } },
_count: true
});
return Response.json(analytics);
}
Track at minimum: login count, logout count, timeout events, extension events, and concurrent-session warnings. Schedule a recurring calendar item every 90 days with a checklist item to pull this endpoint and document findings — the review record itself is the audit artifact PCI-DSS Req 10.7 requires.
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Session Security Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- nist:rev5 · AU-6 — Audit Record Review, Analysis, and Reporting
- pci-dss:4.0 · Req 10.7 — Failures of critical security controls detected and reported
Taxons
History
- 2026-04-18·v1.0.0·Initial import from finserv-session-security·automated