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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...