ExamGecko
Question list
Search
Search

Question 58 - SPLK-2003 discussion

Report
Export

Which Phantom API command is used to create a custom list?

A.
phantom.add_list()
Answers
A.
phantom.add_list()
B.
phantom.create_list()
Answers
B.
phantom.create_list()
C.
phantom.include_list()
Answers
C.
phantom.include_list()
D.
phantom.new_list()
Answers
D.
phantom.new_list()
Suggested answer: B

Explanation:

The Phantom API command to create a custom list is phantom.create_list(). This commandtakes a list name and an optional description as parameters and returns a list ID if successful.The other commands are not valid Phantom API commands. phantom.add_list() is a Pythonfunction that can be used in custom code blocks to add data to an existing list. To create acustom list in Splunk Phantom, the appropriate API command used is phantom.create_list().This function allows for the creation of a new list that can be used to store data such as IPaddresses, file hashes, or any other information that you want to track or reference acrossmultiple playbooks or within different parts of the Phantom platform. The custom list is aflexible data structure that can be leveraged for various use cases within Phantom, includingdata enrichment, persistent storage of information, and cross-playbook data sharing.

 

asked 23/09/2024
Bob Hanselman
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first