Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
o ���b � @ s, d dl mZmZmZ G dd� deee�ZdS )� )�Plugin�DebianPlugin�UbuntuPluginc @ s0 e Zd ZdZdZdZdZdZdd� Zdd � Z d S )�OpenStackBarbicanz)OpenStack Barbican Secure storage service�openstack_barbican)� openstack�openstack_controller)zbarbican-commonzbarbican-keystone-listenerzbarbican-workerFc C sB | � d� | �d�r| � d� n| � d� | �d� | �d� d S )Nz/etc/barbican/�all_logsz/var/log/barbican/*z/var/log/barbican/*.logz/etc/barbican/*.pemz/etc/barbican/alias/*)� add_copy_spec� get_option�add_forbidden_path)�self� r �G/usr/lib/python3/dist-packages/sos/report/plugins/openstack_barbican.py�setup s zOpenStackBarbican.setupc C sD g d�}| � ddd�|� d� ddg}| �ddd�|� d � d S ) N)�password�rabbit_password�memcache_secret_keyz/etc/barbican/barbican.confz((?m)^\s*(%s)\s*=\s*)(.*)�|z \1********� transport_url�sql_connectionz-((?m)^\s*(%s)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z \1*********\6)�do_file_sub�join�do_path_regex_sub)r �protect_keys�connection_keysr r r �postproc'