IBM QRadar SOAR

IBM QRadar SOAR

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Remove Function from Package

    Posted 10/06/20 09:58 AM
    Edited by System Admin 11/11/21 11:15 AM
    Hello community, 

    I'm wondering if anyone has a best practice for removing a function from a package. There are a couple of unused and unmaintained functions in some of our custom packages that I'd like to clean up.

    I'd also appreciate if anyone would share their process for changing the API name of a function that already exists in a package as well.

    Thanks!

    ------------------------------
    Liam Mahoney
    ------------------------------


  • 2.  RE: Remove Function from Package

    Posted 10/08/20 09:02 AM

    Removing a function from a package:

    For my part, at the moment, I see no other way than finding dependencies (Functions > Workflows > rule) and removing them manually.

    I do not get the question about "changing the API name"



    ------------------------------
    BENOIT ROSTAGNI
    ------------------------------



  • 3.  RE: Remove Function from Package

    Posted 10/08/20 12:00 PM
    Maybe my question wasn't clear enough, apologies.

    I'm wondering what the best way to remove a function from an integration package (generated from 'resilient-sdk codegen ....'). So for example when we first started using Resilient I created a function that would search a system and then create a CSV with the results and upload it to the incident. We stopped using that function as we found it's a lot better to return that data to Resilient so it can be put in data tables. I'm wondering how I could remove that old function from my custom integration package that I have created.

    You can disregard my question about renaming, I think just deleting the old name and creating a new function with the new name would work best.

    ------------------------------
    Liam Mahoney
    ------------------------------