| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i3
� �, � d dl mZmZ G d� dee� Zy)� )�Plugin�RedHatPluginc �0 � e Zd ZdZdZdZdZdZdZd� Z d� Z
y )
�AAPGatewayPluginzAAP Gateway plugin�aap_gateway)�sysmgmt�ansible)�automation-gatewayzautomation-gateway-config)zaap-gateway-manage)r
c � � | j g d�� | j g d�� | j g d�� | j dd�� 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!automation-gateway-service status�!aap-gateway-manage print_settingsz!aap-gateway-manage authenticatorsz!aap-gateway-manage showmigrationsz aap-gateway-manage list_servicesz'aap-gateway-manage feature_flags --listzaap-gateway-manage --versionz!/etc/ansible-automation-platform/T)� recursive)�
add_copy_spec�add_forbidden_path�add_cmd_output�add_dir_listing)�selfs �@/usr/lib/python3/dist-packages/sos/report/plugins/aap_gateway.py�setupzAAPGatewayPlugin.setup sZ � ����
� �
��� !
� �
���
� �
���@�'+� � -� c � � d}d}| j d||� d}| j d|d� d}| j d|d� y ) Nz(\s*'PASSWORD'\s*:\s*)('.*')z
\1********z4/etc/ansible-automation-platform/gateway/settings.pyz8((["\']?PASSWORD["\']?\s*[:=]\s*)[rb]?["\'])(.*?)(["\'])r z\1**********\4z-((SECRET_KEY\s*=\s*)([rb]?["\']))(.*?)(["\'])z\1**********\5)�do_path_regex_sub�do_cmd_output_sub)r �jreg�repls r �postproczAAPGatewayPlugin.postproc3 sa � �.�������B��� � K�����/��� � @�����/��� r N)�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�commands�servicesr r � r r r r s, � �%�J��K�&�H�-�H�&�H�&�H�-�4r r N)�sos.report.pluginsr r r r% r r �<module>r'