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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...