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

i��d��@s,ddlmZmZmZGdd�deee�ZdS)�)�Plugin�DebianPlugin�UbuntuPluginc@s0eZdZdZdZdZdZdZdd�Zdd	�Z	d
S)�OpenStackBarbicanz)OpenStack Barbican Secure storage serviceZopenstack_barbican)Z	openstackZopenstack_controller)zbarbican-commonzbarbican-keystone-listenerzbarbican-workerFcCsB|�d�|�d�r |�d�n
|�d�|�d�|�d�dS)Nz/etc/barbican/Zall_logsz/var/log/barbican/*z/var/log/barbican/*.logz/etc/barbican/*.pemz/etc/barbican/alias/*)Z
add_copy_specZ
get_optionZadd_forbidden_path)�self�r�G/usr/lib/python3/dist-packages/sos/report/plugins/openstack_barbican.py�setups



zOpenStackBarbican.setupcCsFdddg}|�ddd�|�d�dd	g}|�dd
d�|�d�dS)NZpasswordZrabbit_passwordZmemcache_secret_keyz/etc/barbican/barbican.confz(^\s*(%s)\s*=\s*)(.*)�|z
\1********Z
transport_urlZsql_connectionz)(^\s*(%s)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)Zdo_file_sub�joinZdo_path_regex_sub)rZprotect_keysZconnection_keysrrr�postproc's"����zOpenStackBarbican.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZ
requires_rootr	rrrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>s