IBM Security QRadar SOAR

 View Only

How to exit() a script

  • 1.  How to exit() a script

    Posted 17 days ago

    Hi all,

    In python, there is the exit() function when you need to end a script prematurely.

    When used in a SOAR script, I get this error message:

    I tried with the sys.exit() command but the sys module cannot be imported because it is not allowed.

    Is there another way to prematurely stop a script in SOAR?



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