![]() ![]() If there are changes to revert, the button turns white when you hover over it. Go back to the original version and discard all changes. Join Function is used to view the block of code that is generated to join the output of the multiple blocks into a single block.Callback Function is used to view to the block of code that is generated to split the output of the single block into multiple blocks.Block Function is highlighted when viewing the Python code that is applicable to a single block.The functions are explained in the following list: ![]() View functions for blocks that have diverging or converging actions. Using this icon is useful if you are viewing the Python code for a specific block on the canvas, and want to return to view the Python code for the entire playbook.Īdd code that needs to be defined at the global level of the playbook, such as import statements for Python libraries. View the Python code for the entire playbook. Use the icons in the Python Playbook Editor to manage your editing session. Splunk Phantom executes the Python code in your playbooks by calling the on_start function with the container context. The on_start function is similar to the main or begin functions in other programming languages. Click any block in your playbook to view the code for the selected block only. The code for the entire playbook is shown by default. View or edit the Python code in Splunk Phantom playbooksĬlick the Python Playbook Editor tab to view the underlying Python code for your playbook. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |