IBM QRadar SOAR

IBM QRadar

Join this online topic 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.


#Security
#QRadar
#SecuringhybridcloudandAI
 View Only

Tips about adding new functions into an existing package

  • 1.  Tips about adding new functions into an existing package

    Posted 10/16/18 08:39 AM
    If you created and installed a function package already, and now you want to add a new function to this existing package, then these are the steps to follow:
    1. create the new function from Resilient web
    2. remove customize.py and setup.py from the existing function package
    3. run codegen again to pull the original function(s) and the new function(s)
    4. most importantly, re-install your function package. The change in setup.py only takes effect after you re-install your function package. Most likely, this means uninstalling and installing your function package.
    If you forget the last step, your new functions would not get called. An empty dictionary will be returned to the workflow.

    ------------------------------
    Yongjian Feng
    ------------------------------