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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...