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.  Codegen

    Posted Thu January 09, 2020 08:36 AM
    Dears,

    when I'm coming to generate python package to develop the whois function (for test), the below error appear:


    [root@resilient .resilient]# resilient-circuits codegen -p fn_whois -f fn_whois --workflow fn_whois --exportfile export-mobily.com-20200109071930.res
    /usr/local/lib/python2.7/site-packages/urllib3/connection.py:344: SubjectAltNameWarning: Certificate for resilient.localdomain has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
    SubjectAltNameWarning
    Traceback (most recent call last):
    File "/usr/local/bin/resilient-circuits", line 8, in <module>
    sys.exit(main())
    File "/usr/local/lib/python2.7/site-packages/resilient_circuits/bin/resilient_circuits_cmd.py", line 691, in main
    generate_code(args)
    File "/usr/local/lib/python2.7/site-packages/resilient_circuits/bin/resilient_circuits_cmd.py", line 288, in generate_code
    client = resilient.get_client(opts)
    File "/usr/local/lib/python2.7/site-packages/resilient/co3.py", line 125, in get_client
    userinfo = resilient_client.connect(opts["email"], opts["password"])
    File "/usr/local/lib/python2.7/site-packages/resilient/co3.py", line 202, in connect
    ret = super(SimpleClient, self).connect(email, password, timeout)
    File "/usr/local/lib/python2.7/site-packages/resilient/co3base.py", line 184, in connect
    return self._connect(timeout=timeout)
    File "/usr/local/lib/python2.7/site-packages/resilient/co3base.py", line 234, in _connect
    self._extract_org_id(session)
    File "/usr/local/lib/python2.7/site-packages/resilient/co3base.py", line 211, in _extract_org_id
    raise Exception(msg.format(self.org_name))
    Exception: The user is not a member of the specified organization 'mobily.com

    ------------------------------
    mahmoud awni
    ------------------------------