ExamGecko
Question list
Search
Search

Question 79 - SPLK-2003 discussion

Report
Export

When writing a custom function that uses regex to extract the domain name from a URL, a user wants to create a new artifact for the extracted domain. Which of the following Python API calls will create a new artifact?

A.

phantom.new_artifact ()

Answers
A.

phantom.new_artifact ()

B.

phantom. update ()

Answers
B.

phantom. update ()

C.

phantom.create_artifact ()

Answers
C.

phantom.create_artifact ()

D.

phantom.add_artifact ()

Answers
D.

phantom.add_artifact ()

Suggested answer: C

Explanation:

In the Splunk SOAR platform, when writing a custom function in Python to handle data such as extracting a domain name from a URL, you can create a new artifact using the Python API call phantom.create_artifact(). This function allows you to specify the details of the new artifact, such as the type, CEF (Common Event Format) data, container it belongs to, and other relevant information necessary to create an artifact within the system.

asked 13/11/2024
ftere yagoglu
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first