HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-87-generic #88-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 09:28:41 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman_installer.cpython-312.pyc
�

([Qht��N�ddlmZmZmZmZGd�deee�ZGd�dee�Zy)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc�(�eZdZdZdZdZdZd�Zd�Zy)�ForemanInstallerz Foreman installer and maintainer�foreman_installer)�sysmgmt)zforeman-installerzrubygem-foreman_maintainc�p�|jgd��|jd�|jdg�y)N)z/etc/foreman-installer/*z/var/log/foreman-installer/*z/var/log/foreman-maintain/*z"/var/lib/foreman-maintain/data.ymlz//var/lib/foreman-maintain/satellite_metrics.ymlz*/etc/foreman-maintain/foreman_maintain.ymlz-/etc/foreman-installer/scenarios.d/*/.appliedz4/etc/foreman-installer/scenarios.d/*.migrations/*.rbzforeman-maintain service status)�
add_copy_spec�add_forbidden_path�add_cmd_output)�selfs �F/usr/lib/python3/dist-packages/sos/report/plugins/foreman_installer.py�setupzForemanInstaller.setups@�����

�
	�	
���F�	
�	
���-�
�	�c�*�d}d}|j||d�d}|j||d�|j|dd�|jdd	d�|jd
dd�|jd|�d
�dd�|jd|�d
�dd�y)Nz/var/log/foreman-installer/z~((foreman.*)?(\"::(foreman(.*?)|katello).*)?((::(.*)::.*(passw|cred|token|secret|key).*(\")?:)|(storepass )|(password =)))(.*)z\1 ********zZ(\s)+(Found key: (\"(foreman(.*?)|katello)::(.*(token|secret|key|passw).*)\") value:) (.*)z\1 \2 ********z%((\.|_|-)password(=\'|=|\", \"))(\w*)z
\1********z)/var/log/foreman-installer/foreman-proxy*z(\s*proxy_password\s=) (.*)z//var/log/foreman-maintain/foreman-maintain.log*z.(((passw|cred|token|secret)=)|(password ))(.*)z7(/etc/foreman-(installer|maintain)/(.*)((conf)(.*)?))|(�)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z;(/etc/foreman-(installer|maintain)/(.*)((yaml|yml)(.*)?))|(z\1"********")�do_path_regex_sub)r�install_logs�logsreg�logs_debug_regs    r�postproczForemanInstaller.postproc.s���4��)��	
���|�W�n�E�"��	
���|�^�=N�O�����4��	�	
���7�*��	�	
���=�=��	�	
���
���a�
!�D��		�	
���
���a�
!�D��		rN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrr�rrrrs ��3�J�%�K��H�@�H��.$rrc���eZdZ�fd�Z�xZS)�RedHatForemanInstallerc�R��|jddgddgd��t�|�	�y)N�foreman_satellite_log�satellite_installer_log�capsule_log�capsule_installer_log)z(/var/log/foreman-installer/satellite.logz&/var/log/foreman-installer/capsule.log)�
add_file_tags�superr)r�	__class__s �rrzRedHatForemanInstaller.setupYs3������(�*C�D�� 7�8�	
�	�	��
�r)rrrr�
__classcell__)r+s@rr#r#Ws
���	�	rr#N)�sos.report.pluginsrrrrrr#r!rr�<module>r.s1��.�.�C�v�|�\�C�P�-�|�r