Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �gt � @ sB d dl mZmZmZmZ G dd� deee�ZG dd� dee�ZdS )� )�Plugin�RedHatPlugin�DebianPlugin�UbuntuPluginc @ s, e Zd ZdZdZdZdZdd� Zdd � Zd S ) �ForemanInstallerz Foreman installer and maintainerZforeman_installer�sysmgmt�foreman-installer�rubygem-foreman_maintainc C s2 | j dddddddg� | jd� | jd g� d S ) Nz/etc/foreman-installer/*z/var/log/foreman-installer/*z/var/log/foreman-maintain/*z"/var/lib/foreman-maintain/data.ymlz//var/lib/foreman-maintain/satellite_metrics.ymlz*/etc/foreman-maintain/foreman_maintain.ymlz-/etc/foreman-installer/scenarios.d/*/.appliedz4/etc/foreman-installer/scenarios.d/*.migrations/*.rbzforeman-maintain service status)Z add_copy_specZadd_forbidden_pathZadd_cmd_output)�self� r �'/usr/lib/python3.6/foreman_installer.py�setup s zForemanInstaller.setupc C s� d}d}| j ||d� d}| j ||d� | j |dd� | j dd d� | j d dd� | j d|� d �dd� | j d|� d �dd� d S )Nz/var/log/foreman-installer/z~((foreman.*)?(\"::(foreman(.*?)|katello).*)?((::(.*)::.*(passw|cred|token|secret|key).*(\")?:)|(storepass )|(password =)))(.*)z\1 ********zZ(\s)+(Found key: (\"(foreman(.*?)|katello)::(.*(token|secret|key|passw).*)\") value:) (.*)z\1 \2 ********z%((\.|_|-)password(=\'|=|\", \"))(\w*)z \1********z)/var/log/foreman-installer/foreman-proxy*z(\s*proxy_password\s=) (.*)z//var/log/foreman-maintain/foreman-maintain.log*z.(((passw|cred|token|secret)=)|(password ))(.*)z7(/etc/foreman-(installer|maintain)/(.*)((conf)(.*)?))|(�)z5((\:|\s*)(passw|cred|token|secret|key).*(\:\s|=))(.*)z;(/etc/foreman-(installer|maintain)/(.*)((yaml|yml)(.*)?))|(z\1"********")Zdo_path_regex_sub)r Zinstall_logsZlogsregZlogs_debug_regr r r �postproc. s2 zForemanInstaller.postprocN)r )r r ) �__name__� __module__�__qualname__Z short_descZplugin_nameZprofilesZpackagesr r r r r r r s r c s e Zd Z� fdd�Z� ZS )�RedHatForemanInstallerc s&