IBM QRadar SOAR

 View Only
  • 1.  How to Print the Workflow

    Posted Wed November 10, 2021 02:08 PM
    Hi
     
    SOAR seems to use Camunda as the BPM framework.
     
    Is there any way to export the workflow so I can print it or generate an image from it? Maybe using Camunda Modeler.
     
    I've tried to use tools such as screengrab but without success.
     
    TIA
    Leonardo Kenji Shikida
    Security Delivery Specialist
     
    Phone: 55 31 99994 0875




  • 2.  RE: How to Print the Workflow

    Posted Thu November 11, 2021 08:27 AM
    Can you elaborate on why screenshot isn't working? Here is one I just took:



    It is true that the Camunda Modeler does have a "print" capability. Effectively it just creates a PNG of the workflow just as using a screen capture would.

    Ben

    ------------------------------
    Ben Lurie
    ------------------------------



  • 3.  RE: How to Print the Workflow

    Posted Thu November 11, 2021 08:38 AM
    Hi

    Sure, the workflow we're working on is pretty big actually.

    Not big for a workflow, but maybe for a SOAR workflow :-)

    If I zoom out, I can't read, if I zoom in, it does not fit.



    ------------------------------
    []

    Leonardo Kenji Shikida
    ------------------------------



  • 4.  RE: How to Print the Workflow

    Posted Thu November 11, 2021 08:50 AM
    Got it. So you'd like a PDF printed at reasonable zoom level that you could print over multiple pages?

    Ben

    ------------------------------
    Ben Lurie
    ------------------------------



  • 5.  RE: How to Print the Workflow

    Posted Thu November 11, 2021 09:33 AM
    I think an image would be the best option here.

    If I need to split it in several pages, I can use https://rasterbator.net/

    Right now, I'd like to have it just for tech documentation.


    ------------------------------
    []

    Leonardo Kenji Shikida
    ------------------------------



  • 6.  RE: How to Print the Workflow

    Posted Fri November 12, 2021 03:33 PM
    Leonardo,
    This is similar to a feature that has been requested a number of times and is currently listed as an enhancement request which development is evaluating. Please vote on it and provide the details of your business case for product management to see and to increase the number of requests for the feature.
    https://2e4ccba981d63ef83a875dad7396c9a0.ideas.aha.io/ideas/R-I-124

    ------------------------------
    Elizabeth Hecht
    ------------------------------



  • 7.  RE: How to Print the Workflow

    Posted Tue November 16, 2021 07:10 AM
    thanks!
     
    I've voted for both ideas up there.
     
    However, they are from 2018... 
     
    Maybe I can try to write my own solution here and make it public at github ;-)
     
    thx
    Leonardo Kenji Shikida
    Security Delivery Specialist
     
    Phone: 55 31 99994 0875







  • 8.  RE: How to Print the Workflow

    Posted Tue November 16, 2021 10:12 PM

    Here we go. It's pretty easy indeed.

    1. Administrator Settings ->  Organization -> Migrate Settings -> Export -> it will save a resz file
    2. open the resz file using any zip application (like 7-zip) and open the inner .res file (which is a JSON)
    3. locate your workflow looking for a line like 


    (...)
    "workflow_id" : "myworkflow",
    "xml" : "<?xml version=\"1.0\" encoding=\"UTF-8\"?><definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\"

    (...)

    4. copy the XML part into notepad++, use its XML plugin to pretty print it
    5. replace all escaped \" with "
    6. save the file with the bpmn suffix (e.g. mytest.bpmn)
    7. download and start Camunda Modeler
    8. open the file. It will open with warnings.
    9. go to "File -> Export as Image"

    That's it. 

    Works like a charm :-)



    ------------------------------
    []

    Leonardo Kenji Shikida
    ------------------------------



  • 9.  RE: How to Print the Workflow

    Posted Mon November 15, 2021 08:51 AM
    You are right, this is the easiest way.

    ------------------------------
    Morpheus nabuchodonozor
    Web developer
    Morpheus
    ------------------------------