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.  Acquisition of org-id and soar-hostname in playbook script

    Posted Tue December 26, 2023 12:41 AM

    Hello community members.

    I would like to know how to get the values of organization-id and SOAR hostname  automatically in the playbook script environments.

    If it's possible, we can write more portable playbook when we call SOAR REST API in the application such as "

    REST API Functions for IBM QRadar SOAR".
    Is it possible?



    ------------------------------
    Yohji Amano
    ------------------------------


  • 2.  RE: Acquisition of org-id and soar-hostname in playbook script

    Posted Thu December 28, 2023 08:24 AM

    Hi Yohji,

    Unfortunately, there's no way to get the SOAR hostname from within a script. However, the organization-id can be accessed via the `incident.org_handle` field.

    Hope this helps.

    Mark



    ------------------------------
    Mark Scherfling
    ------------------------------



  • 3.  RE: Acquisition of org-id and soar-hostname in playbook script

    Posted Thu December 28, 2023 08:11 PM

    Hi Mark, 

    Thank you for the reply. I understand the restrictions. 

    It seemed that `incident.org_handle` field may return organization name rather than organization id, doesn't it?



    ------------------------------
    Yohji Amano
    ------------------------------



  • 4.  RE: Acquisition of org-id and soar-hostname in playbook script

    Posted Fri December 29, 2023 09:40 AM

    Agreed. The script returns the name and not the ID. The API data returned for an incident can return the ID which was what I was confused by.



    ------------------------------
    Mark Scherfling
    ------------------------------