imperva / incapsula-logs-downloader

A Python script for downloading log files from Incapsula
MIT License
30 stars 35 forks source link

Cert and encryption fixes #76

Closed joeymoore closed 7 months ago

joeymoore commented 7 months ago

Lots of fixes for TLS and data encryption. Added the ability to send to a secure port on Syslog TCP/TLS and custom Syslog TCP/TLS. Additional config parameter was added for this 'IMPERVA_SYSLOG_SECURE', default is NO. Addition updates where made to the config parser to add fallback values if an optional config line is not available.

Worked to resolve the encryption issues with M2Crypto, the RSA was moved or in somehow changed so the import statement was updated. This was tested on Mac w Silicon (linux/arm64) and (linux/amd64). The requirements.txt was updated with the M2Crypto lib and Pycryptodome lib.