IBM Security QRadar SOAR

 View Only
Expand all | Collapse all

Hos to displaythe results of json2html function

  • 1.  Hos to displaythe results of json2html function

    Posted Tue October 31, 2023 04:01 PM

    The package "Utility Functions for SOAR" v2.1.3 contains a function called JSON2HTML.

    I used it to format some response returned by a call to a REST API.

    When you feed the result of the JSON2HTML function to the helper.CreateRichText funcion and add a note to an incident, you don't get the expected result of a beautifully formatted table.

    This is sad because the html code generated is perfectly correct when put into an HTML interpreter.

    Apparently, html table are not permitted for rich text fields like Notes.

    My question is: how to display in SOAR the html code generated by the JSON2HTML function? 



    ------------------------------
    Pierre Dufresne
    ------------------------------


  • 2.  RE: Hos to displaythe results of json2html function

    Posted Wed November 01, 2023 08:05 AM

    Hi Pierre,

    Our next release, in Q4 2023, will support tables (ex. <table></table>) in rich text data objects such as Incident Notes. This a long time coming and should offer new opportunities for data presentation.



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



  • 3.  RE: Hos to displaythe results of json2html function

    Posted Wed November 01, 2023 08:25 AM

    Hi Mark,

    Thanks for the info.  I hope that "next release in Q42023" really means V51 which, according to this post "SOAR Release Versioning Change from V51" by Martin Feeny, should be due in November 2023.  That means pretty soon!  :-)



    ------------------------------
    Pierre Dufresne
    ------------------------------