HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman_proxy.cpython-38.pyc
U

i��d~	�@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�ForemanProxyz&Foreman Smart Proxy systems managementZ
foreman_proxy)Zsysmgmt)z
foreman-proxycCsf|�ddd��|�dg�|�dddd�|j�d	�|j�d
�|j�d�|j�g�|�dd
g�dS)NZforeman_proxy_logZforeman_proxy_conf)z /var/log/foreman-proxy/proxy.logz/etc/foreman-proxy/settings.ymlz/etc/foreman-proxy/*key.pemz/etc/foreman-proxy/z*/etc/smart_proxy_dynflow_core/settings.ymlz/var/log/foreman-proxy/*log*z2/var/log/{}*/katello-reverse-proxy_access_ssl.log*z1/var/log/{}*/katello-reverse-proxy_error_ssl.log*z2/var/log/{}*/rhsm-pulpcore-https-*_access_ssl.log*z1/var/log/{}*/rhsm-pulpcore-https-*_error_ssl.log*Z
http_proxyZhttps_proxy)Z
add_file_tagsZadd_forbidden_pathZ
add_copy_spec�format�	apachepkgZadd_env_var��self�r�B/usr/lib/python3/dist-packages/sos/report/plugins/foreman_proxy.py�setups2�������zForemanProxy.setupcCs |�ddd�|�ddd�dS)Nz$/etc/foreman-proxy/(.*)((conf)(.*)?)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z
\1********z(/etc/foreman-proxy/(.*)((yaml|yml)(.*)?)z\1"********")Zdo_path_regex_subr	rrr�postproc2s��zForemanProxy.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesr
rrrrrrsrc@seZdZdZdS)�RedHatForemanProxyZhttpdN�rrrrrrrrr@src@seZdZdZdS)�DebianForemanProxyZapache2NrrrrrrEsrN)Zsos.report.pluginsrrrrrrrrrrr�<module>s1