BolEnglishLearn · Play · Win
Login

📋 Security · Security Fundamentals

📋

Audit Logging

Security ControlIntermediateModule 6

Record security- and business-important actions.

You should be able to answer who did what and when.

💡 In practice

Record permission changes and approvals with user and timestamp.

🖼️ CONCEPT PICTURE
A picture to help remember Audit Logging
Record permission changes and approvals with user and timestamp.

💡 Like a building's sign-in book and camera log: when something goes wrong, you can replay exactly who came through and what they touched.

💡 Learn🛠️ Apply🎯 Check

💡 Why it matters

When something goes wrong, audit logs are how you find out what happened and who was involved. They support investigations, prove compliance, and deter misuse because actions are traceable. Without them, a breach or mistake becomes a guessing game.

🛠️ How to achieve it

1
Log key actions
Record logins, permission changes, approvals, and sensitive data access with who, what, and when.
2
Make logs tamper-resistant
Store them where normal users cannot quietly edit or delete entries.
3
Never log secrets
Keep passwords, tokens, and full card numbers out of the log text.
4
Keep and review
Retain logs long enough to investigate, and actually look at them for unusual patterns.

⚠️ Signs of trouble

  • •No record exists of who changed a permission or approved something.
  • •Logs can be edited or wiped by ordinary users.
  • •Passwords or tokens show up inside log messages.
  • •Logs are kept but never looked at until it is too late.
⚠️ Common mistake: Logging everything except the actions that matter, or worse, logging secrets. Record the important who-did-what events and keep sensitive values out.

🎯 Quick check

Score: 0/3

Three questions to test the idea.

  1. 1. What question should audit logs let you answer?

    Answer: Who did what, and when

    Audit logs exist to reconstruct important actions, tying each one to a user and a time.

  2. 2. What must never appear in audit logs?

    Answer: Secrets such as passwords and tokens

    Logs should capture the who, what, and when, but never the actual secret values themselves.

  3. 3. Why should audit logs be tamper-resistant?

    Answer: So someone cannot quietly erase evidence of what they did

    If ordinary users can edit or delete entries, the log can no longer be trusted during an investigation.

🔑 Key terms

Audit log
A trusted record of important actions and who performed them.
Timestamp
The exact date and time an action happened.
Tamper-resistant
Stored so entries cannot be quietly changed or removed.
Retention
How long logs are kept before being archived or deleted.

✅ Review checklist

📊 Your progress

0%
Mark this topic learned to track it.
Saved in this browser.
🚀 Got it?
Mark it learned and move to the next topic.
Next topic →