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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...