| Server IP : 77.50.203.18 / Your IP : 192.168.0.10 Web Server : Apache/2.4.62 (CentOS Stream) OpenSSL/3.5.7 mpm-itk/2.4.7-04 PHP/8.4.23 System : Linux web2 5.14.0-722.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 09:07:51 UTC 2026 x86_64 User : warsnews.ru ( 1001) PHP Version : 8.4.23 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/ |
Upload File : |
a
ܓ�i � @ s, d dl mZmZmZ G dd� deee�ZdS )� )�Plugin�DebianPlugin�UbuntuPluginc @ s0 e Zd ZdZdZdZdZdZdd� Zdd � Z d
S )�OpenStackBarbicanz)OpenStack Barbican Secure storage serviceZopenstack_barbican)Z openstackZopenstack_controller)zbarbican-commonzbarbican-keystone-listenerzbarbican-workerFc C sB | � d� | �d�r | � d� n
| � d� | �d� | �d� d S )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�setup s
zOpenStackBarbican.setupc C sP g d�}| � ddd�|�� d�d� ddg}d�|�}| �dd|� d �d
� d S )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)r Zprotect_keysZconnection_keysZ
join_con_keysr r r �postproc'