Hi Richard,
Thanks for your reply. I am working on building this script.
If the result is found in 2 or less than 2 sources than we will add a task where we will ask Analyst to select if or else branch.
How can we implement where on the basis of Analyst response respective branch in the playbook will automatically triggered ?
Thanks...
------------------------------
Shubham Agarwal
------------------------------
Original Message:
Sent: Thu December 15, 2022 10:33 AM
From: Richard Swierk
Subject: Query regarding Conditional point in playbook
Sample condition script:
# Variable `playbook.functions.results.tools_found_user` would be a list returned from a function that would contain the tools that found the usernamenum_tools_found_user = len(playbook.functions.results.tools_found_user)if num_tools_found_user > 3: result = Trueelse: result = False
A function would return a list of tools that the username was found in. If you are running many function that each look for the username in a specific tool then you could have the results of those functions go to the script. The script would then take all the results and see how many of the tools the username was found in.
------------------------------
Richard Swierk
------------------------------