
    -_g                     ,    d dl mZmZ  G d dee      Zy)    )PluginRedHatPluginc                   0    e Zd ZdZdZdZdZdZdZd Z	d Z
y	)
AAPGatewayPluginzAAP Gateway pluginaap_gateway)sysmgmtansible)automation-gatewayzautomation-gateway-config)zaap-gateway-manage)r
   c                     | j                  g d       | j                  g d       | j                  d       | j                  dd       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/*.certz aap-gateway-manage list_servicesz!/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setupzAAPGatewayPlugin.setup   sT     
 	 	 !
 	 	>?@'+ 	 	-    c                 2    d}d}| j                  d||       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   postproczAAPGatewayPlugin.postproc*   s#    8"B	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-$r   r   N)sos.report.pluginsr   r   r   r#   r   r   <module>r%      s    4#v| #r   