new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

OWASP Cheat Sheets · all subjects

logging/user_management

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

user_created event logging

Log user creation with event name 'user_created' followed by userid of creator, new userid, and attributes (comma-separated). Level is WARN. Example: event='user_created:joebob1,user1,admin:create,update,delete'.

user_updated event logging

Log user updates with event name 'user_updated' followed by userid of updater, userid being updated, and attributes (comma-separated). Level is WARN. Example: event='user_updated:joebob1,user1,admin:create,update,delete'.

User archival and deletion event logging

Log user archival and deletion events at WARN level. For user archival, use event name 'user_archived' followed by the userid of the archiver and the userid being archived. For user deletion, use event name 'user_deleted' followed by the userid of the deleter and the userid being deleted. Archiving is preferred over deletion except where required.

Give your agent this brain