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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...