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__/saltmaster.cpython-38.pyc
U

i��di�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�
SaltMasterzSalt MasterZ
saltmaster)Zsysmgmt)zsalt-masterzsalt-apicCsB|�d�r|�d�n
|�d�|�d�|�d�|�d�dS)NZall_logsz
/var/log/saltz/var/log/salt/masterz	/etc/saltz/etc/salt/pki/*/*.pemzsalt-key --list all)Z
get_optionZ
add_copy_specZadd_forbidden_pathZadd_cmd_output)�self�r�?/usr/lib/python3/dist-packages/sos/report/plugins/saltmaster.py�setups



zSaltMaster.setupcCsd}d}|�d||�dS)Nz4(^\s+.*(pass|secret|(?<![A-z])key(?![A-z])).*:\ ).+$z\1******z/etc/salt/*)Zdo_path_regex_sub)rZregexpZsubstrrr�postprocszSaltMaster.postprocN)	�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesrr	rrrrrs
rN)Zsos.report.pluginsrrrrrrr�<module>	s