ExamGecko
Question list
Search
Search

Question 70 - SPLK-2003 discussion

Report
Export

To limit the impact of custom code on the VPE, where should the custom code be placed?

A.

A custom container or a separate KV store.

Answers
A.

A custom container or a separate KV store.

B.

A separate code repository.

Answers
B.

A separate code repository.

C.

A custom function block.

Answers
C.

A custom function block.

D.

A separate container.

Answers
D.

A separate container.

Suggested answer: C

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. Therefore, option C is the correct answer, as it is the recommended way of placing custom code on the VPE, which limits the impact of custom code on the VPE performance and security. Option A is incorrect, because a custom container or a separate KV store are not valid ways of placing custom code on the VPE, but rather ways of storing data or artifacts. Option B is incorrect, because a separate code repository is not a way of placing custom code on the VPE, but rather a way of managing and versioning your code outside of Splunk SOAR. Option D is incorrect, because a separate container is not a way of placing custom code on the VPE, but rather a way of creating a new event or case.

1: Add custom code to your Splunk SOAR (Cloud) playbook with the custom function block using the classic playbook editor

asked 13/11/2024
Herr Alexandre Fleider
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first