SPLK-2003 · Question #100
To limit the impact of custom code on the VPE, where should the custom code be placed?
The correct answer is C. A custom function block. To limit the impact of custom code on the Visual Playbook Editor (VPE) in Splunk SOAR, custom code should be placed within a custom function block. Custom function blocks are designed to encapsulate code within a playbook, allowing users to input their own Python code and…
Question
To limit the impact of custom code on the VPE, where should the custom code be placed?
Options
- AA custom container or a separate KV store.
- BA separate code repository.
- CA custom function block.
- DA separate container.
How the community answered
(42 responses)- A5% (2)
- B5% (2)
- C79% (33)
- D12% (5)
Explanation
To limit the impact of custom code on the Visual Playbook Editor (VPE) in Splunk SOAR, custom code should be placed within a custom function block. Custom function blocks are designed to encapsulate code within a playbook, allowing users to input their own Python code and execute it as part of the playbook run. By confining custom code to these blocks, it maintains the VPE's performance and stability by isolating the custom code from the core functions of the playbook. A custom function block is a way of adding custom Python code to your playbook, which can expand the functionality and processing of your playbook logic. Custom functions can also interact with the REST API in a customizable way. You can share custom functions across your team and across multiple playbooks to increase collaboration and efficiency. To create custom functions, you must have Edit Code permissions, which can be configured by an Administrator in Administration > User Management > Roles and Permissions.
Topics
Community Discussion
No community discussion yet for this question.