Alerting

whitelist email alert domain

EricPartington
Communicator

I would like to set a regex that will whitelist an allowed domain for all email notifications.

@abc.com$

The reason i would like to do this is so that i dont have to worry about email reports being sent out of the organization and hopefully avoid further questions from any future audit of the implementation of Splunk.
If this was something that could be set in the email settings manager that would be perfect or if there is a way to add that validation/whitelist in a conf file for now that would be great as well.

normally i would tackle this with the MTA but i dont own the OS on the servers (managed by another group) and have limited access to change OS base settings.

Any ideas where I could try this whitelist idea to prevent possible data leaks via emailed reports?

Tags (3)
0 Karma

dwaddle
SplunkTrust
SplunkTrust

I'm not sure this is something that is configurable into out-of-the-box Splunk. You could always file an enhancement request.

One potential alternative might be to hack upon the sendmail.py script in $SPLUNK_HOME/etc/apps/search/bin. Much (all?) of the Splunk email sending functionality would seem to be implemented here. If you're reasonably good with Python, you'd be able to implement this type of change there. Obviously, this wouldn't necessarily be supported by Splunk support - you'd be on your own in terms of defect resolution in this area.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...