eltharon.A journal of access, evidence & recoveryBack to Eltharon ↗
Independent reading. Informed decisions.Journal content updated

Practical guide / Accounts & identity

Keep the evidence. Leave the secrets out.

A useful record explains an action without becoming another store of credentials and private content.

Article updated Sources reviewed Practical guide
Establish the scope
Check the dependency
Keep a usable record
A conceptual review, not a test or change to your devices or accounts.
Platform versions and technical details

OWASP Logging Cheat Sheet checked 30 October 2026. The example record is a review framework, not a prescribed product schema or legal retention policy.

1. Decide what you need to establish

For a consequential action, identify the actor or presented identity, the requested action, affected resource, outcome and relevant time. Keep a correlation identifier where it helps connect steps. Distinguish request received, permission granted, action completed and failure reported.

A fictional document export might need a record of who requested which approved collection and whether the export completed. That does not mean the log needs every exported document copied into it.

2. Set explicit exclusions

OWASP’s logging guidance identifies access tokens, passwords, session identifiers, encryption keys and sensitive personal data among information that should usually be excluded, masked or specially handled. It also calls for protecting logs against unauthorised access, modification and deletion.Source: OWASP Cheat Sheet Series: Logging Cheat Sheet

Choose exclusions before adding diagnostics. Review error paths as well as successful requests: an exception can contain a credential or an entire request body. Keep a useful explanation while removing information that would grant access or unnecessarily expose a person.

3. Preserve what the record actually proves

An identity in a log tells you which identity the system associated with an action. It does not by itself prove which human controlled that account. Similarly, a success response from one component need not prove the final business result. Label those limits in investigations.

Record time zones and clock assumptions when joining events from different systems. Keep original records separate from analysis, and retain the source of any interpretation. A tidy timeline should not hide missing intervals or contradictory observations.

4. Plan for the logging system itself

OWASP also discusses failures and resource exhaustion in logging, including storage and network problems. Evidence collection needs its own failure behaviour.Source: OWASP Cheat Sheet Series: Logging Cheat Sheet

Ask who notices a gap, what the application reports and which actions remain permitted. Do not silently switch off an important protection to preserve throughput. Test the agreed behaviour in an authorised environment, without filling production disks or exposing real secrets.

5. Assign access and a retention decision

Name who may read, export or remove the record and why. Choose retention with the responsible business and legal owners; this guide supplies no universal period. Keep investigation exports protected too. A record only helps when the right person can find it and understand its limits.

Read the evidence

Primary references. Source dates and our review date have different meanings. These links open the publishers’ material.

  1. Logging Cheat SheetOWASP Cheat Sheet Series · Living documentation · reviewed 30 October 2026

Added 30 October 2026. Source-specific behaviour is cited. Practical steps are Eltharon’s recommendations; no customer system was tested. Read our method.