icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Alert action for SAML user role map removal
SHA256 checksum (alert-action-for-saml-user-role-map-removal_100.tgz) ea21540e33da31438f0715b114f308c3a51e15897c87ad5d5352a4d9f113a02c
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Alert action for SAML user role map removal

Splunk Cloud
This is a small utility to allow you to remove the SAML user role map from the Splunk instance as an alert action, usually in response to a log event when that user is removed or deactivated in your organisation. This helps keep the Splunk user list clean and stops any scheduled searches owned by that user from continuing to execute.

It ultimately executes DELETE https://splunkhost:8089/services/admin/SAML-user-role-map/user@myorg.com, so use the documentation for that to understand what will happen. The alert action is only visible to admin level users.

To use:
- Create a saved search and save as an alert
- A username should be in one of the fields in the returned events
- Add "Remove SAML User" as an action for the alert
- Configure in the alert action which field the username is in
- More than one event can be returned, and the alert action will handle it
- Logs are written to $SPLUNK_HOME/var/log/splunk/remove_saml_user_modalert.log

Some basic validation will be done before the alert takes any action. Primarily it will make sure the user field exists and looks like a valid SAML user before doing any removal action.

Release Notes

Version 1.0.0
July 30, 2021

Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.