kudawdev / nifi-monitoring-splunk

Nifi Monitoring Splunk
MIT License
5 stars 4 forks source link

Bug fixes to nifi.py #32

Closed Hexoplon closed 1 year ago

Hexoplon commented 1 year ago

Fixed an issue causing the script to always run the encrypt and mask functions, as the password property got rewritten with the same value. Modified the kwargs password key to contain self.mask to fix this issue.

After authenticating with NiFi, the auth token never got stored in the class, or as an os environment variable. Commented in the dotenv code to fix the authentication issue, and allow for persistence between runs.