SPLK-2003 practice question 2 of 25

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?

Full set: 110 questions
Answer options
A: phantom.new_artifact ()
B: phantom. update ()
C: phantom.create_artifact () Correct answer
D: phantom.add_artifact ()
Correct Answer:
C. phantom.create_artifact ()
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.

Scroll to Top