Enable and disable integration instance from playbook/automation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Enable and disable integration instance from playbook/automation

L4 Transporter

Hello,

We'd like to create a flux where an integration instance is enabled, then the function related to that instance is used, and finally the integration instance is disabled. How can this be done? No functions have been found.

 

Enable instance->Use function->Disable instance

 

Thanks for your help.

2 REPLIES 2

L5 Sessionator

Hi @Josep, you can do this via an API call but the payload is big.  You can use the demisto-api-put command.

 

Is your use case to enable a button click approach to running a function when the integration is enable and stop when disabled. The above API is not recommended. Could you try with buttons inside an incident layout? You can keep the incident starred for quick access. 

L4 Transporter

Hello Fernandes,

Let me explain deeper. We have problems with an external API which doesn't stop consuming coins, even not executing the related tasks inside XSOAR. We'd like to enable and disable the instance related to the API to avoid this consumption.

  • 1592 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!