Hey guys, currently, I am in the process of creating a new custom integration for Chronicle SOAR platform. My requirement is to create a configuration parameter field for the integration that must be a dropdown. However, I do not see any support for it.
Am I missing something, or is there any workaround where I can use a dropdown field for a configuration parameter in my custom integration ?
If possible, I would like to add a parameter with radio buttons. Need to know about the supprot for the same.
Thanks.
Hi Preet -
Let’s take a step back and understand the purpose of the dropdown? Our out of the box SOAR integrations typically only have fields.
In order for it to work we would need to bring in another module, for that functionally, in your code.
from tkinter import *
OPTIONS = "
"Jan",
"Feb",
"Mar"
] #etc
master = Tk()
variable = StringVar(master)
variable.set(OPTIONS"0]) # default value
w = OptionMenu(master, variable, *OPTIONS)
w.pack()
def ok():
print ("value is:" + variable.get())
button = Button(master, text="OK", command=ok)
button.pack()
mainloop()
Hi @dnehoda
Thanks for the reply.
The reason I need a dropdown, or radio button inputs, is that in my Integration Configuration, I want the user to be able to select what kind of authentication would they use for making API calls to their product. Eg: There can be options like Basic Auth, API Key, some Access Token, etc.
Currently, as we support only two types of authentication, I have somehow managed to use the checkbox input and added a descriptive tooltip for the user.
Regarding your suggestion about using the tkinter module, can you share exactly where should I add this ? Currently, the only way I know how to generate an integration configuration page is through UI, where I can simply select the details for each input.
Lastly, I have noticed that I cannot use '\\n' characters in a string, as they simply show a ' ' character without the new line. Is this expected ?
Thanks.
Users shouldn’t really have the need to constantly add new integrations or really be added - that should be for admins only. Once it’s configured one time though it’s usually set.
Maybe I don’t fully understand- are you an MSSP managing several environments?
Users shouldn’t really have the need to constantly add new integrations or really be added - that should be for admins only. Once it’s configured one time though it’s usually set.
Maybe I don’t fully understand- are you an MSSP managing several environments?
What I mean is,
I am currently developing an integration for a product, on Chronicle SOAR platform. This integration requires a dropdown field as an input to initially configure the integration.
I understand that once the integration is configured, there is usually no need for changing.
Example:
I ask Username, Password fields as string and passsword type respectively.
Similarly, I need another field (dropdown or radio button) in this integration config page.
I hope I cleared your doubt.
Hello @preet_mehta, this is currently not supported. You are limited to the 6 options currently available(Boolean, Int, String, Password, IP, Email). I'd suggest opening a support case to create a feature request for this.
Sure @rodSOAR
Thanks for the suggestion. 🙂
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.