HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/sos/report/plugins/__pycache__/openstack_barbican.cpython-39.pyc
a

\��h�@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�I/usr/lib/python3.9/site-packages/sos/report/plugins/openstack_barbican.py�setups



zOpenStackBarbican.setupcCsPgd�}|�ddd�|��d�d�ddg}d�|�}|�dd|�d	�d
�dS)N)�passwordZrabbit_passwordZmemcache_secret_keyz/etc/barbican/barbican.confz(^\s*(�|z
)\s*=\s*)(.*)z
\1********Z
transport_urlZsql_connectionz!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)Zdo_file_sub�joinZdo_path_regex_sub)rZprotect_keysZconnection_keysZ
join_con_keysrrr�postproc's�

�zOpenStackBarbican.postprocN)
�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZ
requires_rootr	r
rrrrrsrN)Zsos.report.pluginsrrrrrrrr�<module>s