Metadata-Version: 2.2
Name: Delinea_Syslog
Version: 1.0.0
Summary: Parse centrify syslogs
Author: Delinea
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: paramiko

# pas_syslog
PAS syslog tool. Please go into the config file located in the config dir. Please enter in the necessary data.  After, run the program like: ./delinea_syslog_writer.py. Must be done with root priv. List cronjob it made with sudo crontab -l.  Please install the 3 libraries:  1. centrify.dmc  2. requests  3. cachetools  This is done with pip. Enrolling the host into the tenant is a prereq. You must note:  1. Scope of machine  2. Enrollment code/owner has to have RO sysadmin  3. A valid query (i.e. "select * From Events")
setup is run in setup dir. EX: ./setup.py -t <tenant> -s <scope> -q "<query>" -dep <bool> -off <bool> -f <int> -p <proxyip:port>
run as a one liner after setup:
/opt/delinea/pas/reporting_tool/setup/setup.py -t 2.my.centrify.net -f 5 -q "Select * FROM Event WHERE WhenOccurred > DateFunc('now','-00:06') ORDER BY WhenOccurred" -s "all" && /opt/delinea/pas/reporting_tool/delinea_syslog/delinea_syslog_writer.py && tail --f /var/log/messages

