| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system 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
G%@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 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 sP g d�}| � ddd�|�� d�d� ddg}d�|�}| �dd|� d �d
� d S )N)�password�rabbit_password�memcache_secret_keyz/etc/barbican/barbican.confz(^\s*(�|z
)\s*=\s*)(.*)z
\1********�
transport_url�sql_connectionz!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z
\1*********\6)�do_file_sub�join�do_path_regex_sub)r
�protect_keys�connection_keys�
join_con_keysr r r �postproc'