Insufficient Security Event Logging

Detects authentication and authorization events that are not logged, hampering incident detection and forensics.

zakirkun Updated

File contents

Insufficient Security Event Logging

Overview

Security events that must be logged for compliance and incident response:

  • Failed login attempts (with username and IP)
  • Successful logins and logouts
  • Password changes and resets
  • Admin operations (user creation, deletion, privilege changes)
  • Access control failures (403 responses)

Without adequate logging, attackers can conduct long-running attacks undetected, and post-incident forensics is impossible.

Detection Strategy

  • Authentication handlers that don't call any logger on failure
  • Admin operations without audit log entries

Remediation

Log all security-relevant events with: timestamp, user ID, IP address, action performed, success/failure.

zakirkun/ice-tea/tree/main/skills/logging/insufficient-logging commit c92a39c398

Frequently asked questions

npx skillmds@latest add zakirkun/insufficient-security-event-logging