IBM Security QRadar SOAR

 View Only
  • 1.  resilient circuits stopped and failed to run after upgrade

    Posted Thu September 17, 2020 11:32 AM

    when i upgrade the resilient circuits in order to integrate with x-force it stopped to work with the belwo syntax error 

    Traceback (most recent call last):
    File "/usr/local/bin/resilient-circuits", line 11, in <module>
    load_entry_point('resilient-circuits==34.0.195', 'console_scripts', 'resilient-circuits')()
    File "/home/admin1/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 473, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
    File "/home/admin1/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2843, in load_entry_point
    return ep.load()
    File "/home/admin1/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2447, in load
    return self.resolve()
    File "/home/admin1/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2453, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/usr/local/lib/python3.5/site-packages/resilient_circuits/__init__.py", line 9, in <module>
    from .actions_component import ResilientComponent
    File "/usr/local/lib/python3.5/site-packages/resilient_circuits/actions_component.py", line 18, in <module>
    import resilient
    File "/usr/local/lib/python3.5/site-packages/resilient/__init__.py", line 10, in <module>
    from .co3 import SimpleClient, \
    File "/usr/local/lib/python3.5/site-packages/resilient/co3.py", line 20, in <module>
    from argparse import Namespace
    File "/usr/local/lib/python3.5/site-packages/argparse.py", line 1159
    except ArgumentError, err :
    ^
    SyntaxError: invalid syntax



    ------------------------------
    Mohamed El Bagory
    ------------------------------


  • 2.  RE: resilient circuits stopped and failed to run after upgrade

    Posted Thu September 17, 2020 03:19 PM
    Hi Mohamed

    Can you be more specific about the sequence of events?

    What version of resilient-circuits were you running first?
    Did you then upgrade to resilient 34.0.195?
    What integrations are you trying to run fn_xforce?

    AnnMarie

    ------------------------------
    AnnMarie Norcross
    ------------------------------



  • 3.  RE: resilient circuits stopped and failed to run after upgrade

    Posted Sun September 20, 2020 05:40 AM

    no i was working in  resilient  cicuits version 34.0.195

    i was trying to upgrade, but as a solution i rolled back to 34.0.195 and its worked, so thanks for your help

    about X-force integration i am trying to enable the embedded threat sources in resilient so iam was trying to add the API's Key and Pass in app.conf file 

    iam stucking now in trying to activate it and wait in saving stage and there is no response after that 

    Regards,



    ------------------------------
    Mohamed El Bagory
    ------------------------------



  • 4.  RE: resilient circuits stopped and failed to run after upgrade

    Posted Thu September 17, 2020 03:47 PM
    I see that you are using python3.5.  Python 3.6.0 is the minimum version of Python that we support.

    The except statement in python 3 uses "as" syntax not a comma which is python 2.5 and earlier.
    So this syntax in this statement does not seem correct for any version of Python 3:

           except ArgumentError, err :

    ------------------------------
    AnnMarie Norcross
    ------------------------------



  • 5.  RE: resilient circuits stopped and failed to run after upgrade

    Posted Thu October 01, 2020 05:53 AM

    could you please provide me with best practice to upgrade from python 3.5 to new version of python if applicable ?

    thanks



    ------------------------------
    Mohamed El Bagory
    ------------------------------



  • 6.  RE: resilient circuits stopped and failed to run after upgrade

    Posted Fri October 02, 2020 05:44 AM
    Hi Mohamed,

    There are a number of different ways to upgrade so I suspect that the "best" way to achieve it depends on whom you ask. You might be better asking the question on a Python forum, Stack Overflow, or asking your internal teams for assistance.

    ------------------------------
    BEN WILLIAMS
    ------------------------------