https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/sos/report/plugins/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/sos/report/plugins/__pycache__/vault.cpython-310.pyc
o

([Qh��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�UbuntuPluginc@s4eZdZdZdZdZdZdZdZdd�Z	dd	�Z
d
S)�Vaultz�The Vault plugin collects the current status of the vault
    snap on a Ubuntu machine.

    It will collect logs from journal, vault status and configuration
    z3Manage access to secrets and protect sensitive data�vault)�sysmgmt�security)rc
Cs�d}|�|�zEt|ddd��3}|����D]"}|sq|�d�}|d��dkr8|d�d	�}|jd
d|id�qWd�WdS1sEwYWdStyj}z|�d
|�d|���WYd}~dSd}~ww)N� /var/snap/vault/common/vault.hcl�rzUTF-8)�encoding�=r�api_addr�z" zvault status�
VAULT_ADDR)�envzCould not open conf file z: )	�
add_copy_spec�open�read�
splitlines�split�strip�add_cmd_output�IOError�
_log_error)�self�	vault_cfg�cfile�line�wordsr�error�r�:/usr/lib/python3/dist-packages/sos/report/plugins/vault.py�setups(

���&�	$��zVault.setupcCs|�ddd�dS)Nrz(password\s?=\s?).*z\1******)�do_file_sub)rrrr �postproc/s
�zVault.postprocN)�__name__�
__module__�__qualname__�__doc__�
short_desc�plugin_name�profiles�services�packager!r#rrrr rsrN)�sos.report.pluginsrrrrrrr �<module>s


https://t.me/RX1948 - 2025