OWASP Logging Cheat Sheets
Official docs outline
9 sections- Purpose
Operational and security use cases for logs.
- Design and Implementation
Event sources, where to record events and customizable logging.
- Which Events to Log
Authentication, authorization, input validation and system events.
- Event Attributes
When, where, who and what for each event.
- Data to Exclude
Secrets, PII and sensitive data that must not be logged.
- Deployment and Operation
Release, protection, monitoring and disposal of logs.
- Attacks on Logs
Log injection, confidentiality, integrity and availability threats.
- Logging Vocabulary
Standard event names for application logging.
- Error Handling
Safe error handling and avoiding information leakage.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.
More in OWASP
All 33- OWASP File Upload Cheat Sheet
- OWASP GraphQL Cheat Sheet
- OWASP Injection Prevention Cheat Sheets
- OWASP Input Validation Cheat Sheets
- OWASP Kubernetes Security Cheat Sheet
- OWASP Language and Framework Cheat Sheets
- OWASP MASVS
- OWASP Node.js Security Cheat Sheets
- OWASP Password Storage Cheat Sheet
- OWASP REST Security Cheat Sheet
- OWASP SAMM
- OWASP Secrets Management Cheat Sheet