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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...