
    -_g                     d    d dl mZmZmZmZ  G d de      Z G d dee      Z G d deee      Zy)	    )PluginRedHatPluginDebianPluginUbuntuPluginc                   &    e Zd ZdZdZdZdZdZd Zy)Aidez(Advanced Intrusion Detection Environmentaide)systemsecurity)r	   /etc/aide/aide.confc                     | j                  d| j                   d       | j                  d      r| j                  dg       y | j                  dg       y )Nzaide -c z --config-checkall_logsz/var/log/aide/z/var/log/aide/aide.log)add_cmd_output	conf_file
get_optionadd_copy_spec)selfs    9/usr/lib/python3/dist-packages/sos/report/plugins/aide.pysetupz
Aide.setup   sX    ht~~&6oFG??:&    (      N)	__name__
__module____qualname__
short_descplugin_nameprofilespackagesr   r    r   r   r   r      s     ;JK%HH%I
r   r   c                   "     e Zd ZdZ fdZ xZS )
RedHatAide/etc/aide.confc                 H    t         |           | j                  ddg       y )Nr!   z/etc/logrotate.d/aidesuperr   r   r   	__class__s    r   r   zRedHatAide.setup&   s%    #
 	r   r   r   r   r   r   __classcell__r&   s   @r   r    r    #   s     I r   r    c                   "     e Zd ZdZ fdZ xZS )
DebianAider   c                 H    t         |           | j                  ddg       y )Nz
/etc/aide/z/etc/default/aider#   r%   s    r   r   zDebianAide.setup1   s%    
 	r   r'   r)   s   @r   r+   r+   .   s    %I r   r+   N)sos.report.pluginsr   r   r   r   r   r    r+   r   r   r   <module>r.      s8    P O6 .| |\ r   