Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/sos/cleaner/mappings/__pycache__/ |
Upload File : |
o -�_g� � @ s d dl mZ G dd� de�ZdS )� )�SoSMapc @ s$ e Zd ZdZdZdZdZdd� ZdS )�SoSUsernameMapa Mapping to store usernames matched from ``lastlog`` output. Usernames are obfuscated as ``obfuscateduserX`` where ``X`` is a counter that gets incremented for every new username found. Note that this specifically obfuscates user_names_ and not UIDs. Tr c C s: d| j � �}| j d7 _ || j�� v r| �|�� �S |S )z@Obfuscate a new username not currently found in the map �obfuscateduser� )� name_count�dataset�values� sanitize_item�lower)�self�item�ob_name� r �C/usr/lib/python3/dist-packages/sos/cleaner/mappings/username_map.pyr s zSoSUsernameMap.sanitize_itemN)�__name__� __module__�__qualname__�__doc__�ignore_short_items�match_full_words_onlyr r r r r r r s r N)�sos.cleaner.mappingsr r r r r r �<module> s