HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/foreman_installer.cpython-36.pyc
3

\��ht�@sBddlmZmZmZmZGdd�deee�ZGdd�dee�ZdS)�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd	�Zd
S)
�ForemanInstallerz Foreman installer and maintainerZforeman_installer�sysmgmt�foreman-installer�rubygem-foreman_maintaincCs2|jdddddddg�|jd�|jd	g�dS)
Nz/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)Z
add_copy_specZadd_forbidden_pathZadd_cmd_output)�self�r�'/usr/lib/python3.6/foreman_installer.py�setupszForemanInstaller.setupcCs�d}d}|j||d�d}|j||d�|j|dd�|jdd	d�|jd
dd�|jd|�d
�dd�|jd|�d
�dd�dS)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"********")Zdo_path_regex_sub)r
Zinstall_logsZlogsregZlogs_debug_regrrr�postproc.s2

zForemanInstaller.postprocN)r)rr	)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr
rrrrrrsrcseZdZ�fdd�Z�ZS)�RedHatForemanInstallercs&|jddgddgd��t�j�dS)NZforeman_satellite_logZsatellite_installer_logZcapsule_logZcapsule_installer_log)z(/var/log/foreman-installer/satellite.logz&/var/log/foreman-installer/capsule.log)Z
add_file_tags�superr
)r
)�	__class__rrr
YszRedHatForemanInstaller.setup)rrrr
�
__classcell__rr)rrrWsrN)Zsos.report.pluginsrrrrrrrrrr�<module>sH