SPLK-2003 practice question 8 of 25

Is it possible to import external Python libraries such as the time module?

Full set: 110 questions
Answer options
A: No.
B: No, but this can be changed by setting the proper permissions.
C: Yes, in the global block. Correct answer
D: Yes. from a drop-down menu.
Correct Answer:
C. Yes, in the global block.
Explanation

In Splunk SOAR, it is possible to import external Python libraries, such as the time module, within the scope of a playbook's global code block. The global block allows users to define custom Python code, including imports of standard Python libraries that are included in the Phantom platform's Python environment. This capability enables the extension of playbooks' functionality with additional Python logic, making playbooks more powerful and versatile in their operations.

Scroll to Top