HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/foreman_proxy.cpython-310.pyc
o

i��d~	�@sRddlmZmZmZmZGdd�de�ZGdd�dee�ZGdd�deee�ZdS)	�)�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�ForemanProxyz&Foreman Smart Proxy systems management�
foreman_proxy)�sysmgmt)z
foreman-proxycCsf|�ddd��|�dg�|�dddd�|j�d	�|j�d
�|j�d�|j�g�|�dd
g�dS)N�foreman_proxy_log�foreman_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*�
http_proxy�https_proxy)�
add_file_tags�add_forbidden_path�
add_copy_spec�format�	apachepkg�add_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"********")�do_path_regex_subrrrr�postproc2s��zForemanProxy.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packagesrrrrrrrsrc@�eZdZdZdS)�RedHatForemanProxy�httpdN�rrrrrrrrr"@�r"c@r!)�DebianForemanProxy�apache2Nr$rrrrr&Er%r&N)�sos.report.pluginsrrrrrr"r&rrrr�<module>s
1