HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/aap_gateway.cpython-312.pyc
�

O6uf���,�ddlmZmZGd�dee�Zy)�)�Plugin�RedHatPluginc�0�eZdZdZdZdZdZdZdZd�Z	d�Z
y	)
�AAPGatewayPluginzAAP Gateway plugin�aap_gateway)�sysmgmt�ansible)�automation-gatewayzautomation-gateway-config)zaap-gateway-manage)r
c�v�|jgd��|jgd��|jgd��y)N)z/var/log/supervisorz /etc/ansible-automation-platformz/etc/supervisord.d/z-/var/log/ansible-automation-platform/gateway/)z3/etc/ansible-automation-platform/gateway/SECRET_KEYz./etc/ansible-automation-platform/gateway/*.keyz//etc/ansible-automation-platform/gateway/*.cert)z aap-gateway-manage list_servicesz(ls -ll /etc/ansible-automation-platform/z0ls -ll /etc/ansible-automation-platform/gateway/)�
add_copy_spec�add_forbidden_path�add_cmd_output)�selfs �@/usr/lib/python3/dist-packages/sos/report/plugins/aap_gateway.py�setupzAAPGatewayPlugin.setups?�����
�	�	
���!
�	�	
���
�	�c�2�d}d}|jd||�y)Nz&(DATABASE_PASSWORD)(\s*)(=|:)(\s*)(.*)z\1\2\3\4********z4/etc/ansible-automation-platform/gateway/settings.py)�do_path_regex_sub)r�jreg�repls   r�postproczAAPGatewayPlugin.postproc,s#��8��"�����B���	rN)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�commands�servicesrr�rrrrs,��%�J��K�&�H�-�H�&�H�&�H��(rrN)�sos.report.pluginsrrrr!rr�<module>r#s��4�%�v�|�%r