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.  Error with custom script (followed from webinars)

    Posted Tue December 13, 2022 04:27 AM
    Currently I am developing playbook to utilise the IOC parser function while following the guide linked below:

    https://www.securitylearningacademy.com/course/view.php?id=6810

    At the minute (31.58), the author created a local playbook script "close task". Here is where the problem happen:

    Before adding the fn_utility "Call Rest API" function, the script runs without error, after adding it, error logs as below is outputted:

    "An error occurred while processing the action acknowledgement. Additional information: Script 'close_task' from Playbook 'ioc_analysis_playbook' was unable to complete because: NameError: name 'inputs' is not defined
    Completed IOC Parsing on artifact/attachment data
    Extracting IOCs from given Artifact/attachment data"

    The function "IOC parser" itself able to extract the details from attachment but the playbook overall have error.

    I have tried to remove the close task function, but the problem is that without it the string to attachment function run without stopping

    ------------------------------
    Luqman Nur
    ------------------------------


  • 2.  RE: Error with custom script (followed from webinars)

    Posted Tue December 13, 2022 08:31 AM
    The issue is that it is not a local script called "Close Task". That is a function named "Task Utils: Close Task". The variable "inputs" is only used in function scripts

    ------------------------------
    Richard Swierk
    ------------------------------



  • 3.  RE: Error with custom script (followed from webinars)

    Posted Wed December 14, 2022 10:16 PM
    Thanks Richard,

    Manage to understand and get the function utils: close task to work.

    ------------------------------
    Luqman Nur
    ------------------------------