HEX
Server: LiteSpeed
System: Linux node612.namehero.net 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: dfwparty (1186)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/sos/report/plugins/__pycache__/aap_gateway.cpython-36.pyc
3

ܓ�i3
�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s4eZdZdZdZd
ZdZdZdZdd	�Z	d
d�Z
dS)�AAPGatewayPluginzAAP Gateway pluginZaap_gateway�sysmgmt�ansible�automation-gateway�automation-gateway-config�aap-gateway-managecCsL|jddddg�|jdddg�|jdd	d
ddd
dg�|jddd�dS)Nz/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/*.certz!automation-gateway-service statusz!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)Z
add_copy_specZadd_forbidden_pathZadd_cmd_outputZadd_dir_listing)�self�r�!/usr/lib/python3.6/aap_gateway.py�setups&zAAPGatewayPlugin.setupcCs>d}d}|jd||�d}|jd|d�d}|jd|d�dS)	Nz(\s*'PASSWORD'\s*:\s*)('.*')z
\1********z4/etc/ansible-automation-platform/gateway/settings.pyz8((["\']?PASSWORD["\']?\s*[:=]\s*)[rb]?["\'])(.*?)(["\'])z!aap-gateway-manage print_settingsz\1**********\4z-((SECRET_KEY\s*=\s*)([rb]?["\']))(.*?)(["\'])z\1**********\5)Zdo_path_regex_subZdo_cmd_output_sub)rZjreg�replrrr
�postproc3s zAAPGatewayPlugin.postprocN)rr)rr)r	)r)�__name__�
__module__�__qualname__Z
short_descZplugin_nameZprofilesZpackagesZcommandsZservicesrrrrrr
rsrN)Zsos.report.pluginsrrrrrrr
�<module>s