Deployment Architecture

Adaptive Response - Adding list in add-on settings

hamadaltaf
New Member

I am developing an adaptive response app and would like to support a list data structure in the add-on settings page. The current setup page allows adding fields for instance an IP, username and password but I would like to have a setup page that allows user to add multiple IPs and associated usernames/passwords. Is this possible?

I was looking at setting up a KV Store for this but looks like I can not have encrypted fields (password in my case) to be stored in KV Store. Is there a way I can accomplish this task?

Open to any leads/ideas/suggestions.

0 Karma

kchamplin_splun
Splunk Employee
Splunk Employee

Hello @Hamadaltaf - it sounds like you might be using Add-on Builder - which I do not believe supports this case with the setup screen WYSIWYG builder. You might be better of constructing a setup screen manually, which will allow you to have the sort of control over the setup experience that you want. Here's a fairly detailed example on building a setup view from scratch.
https://github.com/splunk/Developer_Guidance_Setup_View_Example
Also keep in mind you will likely be using different parts of the Splunk REST API to access things like passwords and potentially searches and related results, lookups, KVStore collections, etc.
http://docs.splunk.com/Documentation/Splunk/latest/RESTREF/RESTprolog
http://dev.splunk.com/javascript

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...