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

How to search for WIKI that includes a /(slash) using the 'Wiki Utilities for IBM SOAR' app.

  • 1.  How to search for WIKI that includes a /(slash) using the 'Wiki Utilities for IBM SOAR' app.

    Posted Mon December 02, 2024 01:28 AM
    Hello,
     
    I am trying to search for Titles in WIKI that include a /(slash) using the "Wiki Utilities for IBM SOAR" app.
     
    I created a playbook to search the WIKI for specific values in a field. 
     
    However, I encountered an issue.
     
    When the field value contains a /(slash), it is treated as a special character, and the search fails.
     
    Field Value:
    QRadar SOAR / WiKI Test
     
    Error Message:
    ValueError(u"Unable to find parent page: '%s'", parent_name_strip)  
    ValueError: ("Unable to find parent page: '%s'", 'QRadar SOAR')  
     
    Code I Tried:
    - json.dumps()
    - re.sub(r'/', r'\/', [Field Value])
    - urllib.parse.quote([Field Value])
     
    If anyone has experienced a similar error and found a solution, I would greatly appreciate it if you could share your approach.
    Thank You.
     
    App Used:
    Wiki Utilities for IBM SOAR
     
    Function Used:
    Wiki Get Contents


    ------------------------------
    Yongwon Song
    ------------------------------