.. include:: /Includes.rst.txt .. _handbook-administration-security-log: ========================= Security log and settings ========================= Three pages under :guilabel:`Administration` are about security. Only administrators can open them. Security log ============ The :guilabel:`Security log` lists logins, failed logins, logouts, password and second-factor changes, blocks, role changes and access tokens, newest first, with the IP address and browser. .. figure:: /Images/Handbook/security-log.png :alt: The security log with its filters :class: with-shadow The security log of the company. Filter by :guilabel:`Event`, :guilabel:`User`, :guilabel:`Outcome` and period. :guilabel:`Export CSV` downloads what you see. Because the entries are personal data, the people concerned see in :guilabel:`Who read my data` that you read them. Activity log ============ The :guilabel:`Activity log` lists every change in the company: when, by whom, what and on which record. It does not show the old and new values; those are in the change history of the record. For records about a person, such as a leave request, only administrators who also have the HR role see which record it was. .. figure:: /Images/Handbook/activity-log.png :alt: The activity log :class: with-shadow Who changed what. Security settings ================= The :guilabel:`Security settings` hold the rules for passwords (length, reuse, maximum age), when people are logged out (7 days without activity and 30 days at the latest by default; shorter suits shared computers), the allowed second factors and how long both logs are kept (180 days by default). Write times the short way, such as ``90m`` or ``7d`` (see :ref:`handbook-everyone-writing-times`). .. figure:: /Images/Handbook/security-settings.png :alt: The security settings :class: with-shadow The rules for passwords, sessions, second factors and logs.