IBM QRadar SOAR

IBM QRadar

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.  Twilio SMS Function for Resilient

    Posted Thu January 17, 2019 03:15 AM
    Unable to customize it after install:
    and the app prevent customizing any other app

    -bash-4.2$ sudo pip install fn_twilio-1.0.0.tar.gz
    [sudo] password for resadmin:
    Processing ./fn_twilio-1.0.0.tar.gz
    [...]
    Successfully installed fn-twilio-1.0.0

    -bash-4.2$ resilient-circuits customize
    Unverified HTTPS requests (cafile=false).
    Package 'fn-wiki-lookup 1.0.1':
    OK to import customizations from 'fn-wiki-lookup 1.0.1'? (y/n):n
    Not importing customizations from 'fn-wiki-lookup 1.0.1'
    Package 'fn-wiki-lookup 1.0.1' done.
    Package 'fn-twitter-most-popular 1.0.0':
    OK to import customizations from 'fn-twitter-most-popular 1.0.0'? (y/n):n
    Not importing customizations from 'fn-twitter-most-popular 1.0.0'
    Package 'fn-twitter-most-popular 1.0.0' done.
    Traceback (most recent call last):
    File "/usr/local/bin/resilient-circuits", line 11, in <module>
    sys.exit(main())
    File "/usr/local/lib/python2.7/site-packages/resilient_circuits/bin/resilient_circuits_cmd.py", line 631, in main
    customize_resilient(args)
    File "/usr/local/lib/python2.7/site-packages/resilient_circuits/util/resilient_customize.py", line 119, in customize_resilient
    do_customize_resilient(client, entry_points, args.yflag, args.install_list)
    File "/usr/local/lib/python2.7/site-packages/resilient_circuits/util/resilient_customize.py", line 136, in do_customize_resilient
    func = entry.load()
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2340, in load
    self.require(*args, **kwargs)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2363, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
    File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 867, in resolve
    raise DistributionNotFound(req, requirers)
    pkg_resources.DistributionNotFound: The 'pyOpenSSL>=0.14; extra == "security"' distribution was not found and is required by requests
    -bash-4.2$ sudo pip uninstall fn_twilio
    Uninstalling fn-twilio-1.0.0:
    Would remove:
    /usr/local/lib/python2.7/site-packages/fn_twilio-1.0.0.dist-info/*
    /usr/local/lib/python2.7/site-packages/fn_twilio/*
    Proceed (y/n)? y
    Successfully uninstalled fn-twilio-1.0.0
    -bash-4.2$

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


  • 2.  RE: Twilio SMS Function for Resilient

    Posted Fri January 18, 2019 04:30 AM
    Hi Benoit,

    Thank you for using our forum. We are happy to help!

    The issue may not be fn-twilio specifically, we think it may be an environmental issue and we need a little more info to help you debug.

    Could you post the output of 'pip list'?

    ------------------------------
    Shane Curtin
    Integrations Engineer - IBM Resilient
    ------------------------------



  • 3.  RE: Twilio SMS Function for Resilient

    Posted Fri January 18, 2019 05:06 AM
    -bash-4.2$ pip list
    Package Version
    ----------------------- -----------
    cachetools 2.0.1
    certifi 2017.7.27.1
    chardet 3.0.4
    circuits 3.2
    configparser 3.5.0
    filelock 2.0.12
    fn-apility 1.0.0
    fn-hibp 1.0.0
    fn-ipinfo 1.0.0
    fn-pastebin 1.0.0
    fn-pipl 1.0.0
    fn-twitter-most-popular 1.0.0
    fn-wiki-lookup 1.0.1
    idna 2.6
    ipaddress 1.0.22
    ipinfo 1.1.0
    Jinja2 2.10
    keyring 9.1
    MarkupSafe 1.0
    meld3 1.0.2
    oauthlib 3.0.0
    pbr 3.1.1
    pip 18.1
    piplapis-python 5.1.5
    py 1.4.33
    PyJWT 1.7.1
    PySocks 1.6.7
    pytest 3.0.7
    pytz 2017.2
    rc-cts 32.0.0
    rc-cts-haveibeenpwned 1.0.0
    rc-webserver 32.0.0
    requests 2.18.4
    requests-mock 1.3.0
    requests-oauthlib 1.2.0
    requests-toolbelt 0.8.0
    resilient 32.0.0
    resilient-circuits 32.0.0
    setuptools 40.6.3
    six 1.10.0
    stomp.py 4.1.18
    stompest 2.3.0
    supervisor 3.0
    twython 3.7.0
    urllib3 1.22
    wheel 0.30.0

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



  • 4.  RE: Twilio SMS Function for Resilient

    Posted Fri January 18, 2019 06:04 AM
    Thank you.

    You need to update your requests library: requests
    pip install requests -U​

    And you will also need to install the latest pyOpenSSL library:
    pip install pyOpenSSL​

    Then to import fn-twilio run:
    resilient-circuits customize -y -l fn-twilio​


    ------------------------------
    Shane Curtin
    Integrations Engineer - IBM Resilient
    ------------------------------



  • 5.  RE: Twilio SMS Function for Resilient

    Posted Fri January 18, 2019 07:12 AM
    your advice are good and it works well !
     
    Orchestration Daemon
    added a note to the Incident 01/18/2019 13:07
    Twilio SMS Message: An incident incident velizy (2101) with Low priority may require your attention sent to: +3368288xxxx
     
     
    Suggestions : add the additional request in the installation guide of the app :
    # You need to update your requests library: requests
    pip install requests -U
    # And you will also need to install the latest pyOpenSSL library:
    pip install pyOpenSSL
     
     
    Thanks.
     
    Benoit






  • 6.  RE: Twilio SMS Function for Resilient

    Posted Fri January 18, 2019 07:15 AM
    That's great!

    Thank you for getting in touch through our Forum, glad we could help!

    Cheers for the feedback. We will review our current implementation and documentation.

    Have a nice day!

    ------------------------------
    Shane Curtin
    Integrations Engineer - IBM Resilient
    ------------------------------