Splunk Dev

Encrypt password on python script

mcgrathd
New Member

I am running the CISCO IPS app which requires a username / password to login to the IPS. This is specified in the inputs.conf and cleartext when you view the process:

ps -ef produces .../get_ips_feed.py username password sensorip interval

I would like to encrypt or hide this - possible??

Tags (4)
0 Karma

andrew_garvin
Path Finder

This was addressed in the latest version of the Splunk for Cisco IPS app. It is encrypted in the inputs.conf config file and not present in the process listing. I highly recommend you upgrade and then remove and re-add your IPS devices.

0 Karma

bmacias84
Champion

Other portions of Splunk use base64 encoding to obfuscate passwords. I would modify get_ips_feed.py to user a base64.

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...