Splunk SOAR (f.k.a. Phantom)

Phantom double Parameters when send email

bviehmann
New Member

hello I scan systems with nessus on vulnerbilities and send them to splunk.

With phantom I could generate emails. An event is a system for me and the vulnerbilities are the artifacts. When i send an email then some parameters will come up double .... how can i change that?

here an example:

Guten Tag Herr Tobias, Tobias

Betroffene Plattform
IP: 10.11.12.13, 10.11.12.13
Hostname: 244.abc.de, 244.abc.de

Sicherheitsrisiko: high, high

80/TCP, 443/TCP
blabla,

Lösungsvorschlag:
Unknown at this time., Unknown at this time

Tags (1)
0 Karma

cblumer_splunk
Splunk Employee
Splunk Employee

For your Use Case you will most likely want to use the Format Block's _as_list feature:
https://my.phantom.us/4.5/docs/automation/api_playbook#format

You Format Block template can look like this:
alt text

Use this DataPath to pass the full output of the Format Block to the 'body' parameter of the Send Email action block:
format_1:formatted_data

And your Email Body will look like this:
alt text

0 Karma

bviehmann
New Member

@rsantoso_splunk here is an example from my playbook alt text

0 Karma

rsantoso_splunk
Splunk Employee
Splunk Employee

@bviehmann, please check your artifact's event to see either of the following?
1. The Artifact deviceAddress contains two address 10.11.12.13, 10.11.12.13 Or
2. There are two Artifacts that contain the same address 10.11.12.13

0 Karma

rsantoso_splunk
Splunk Employee
Splunk Employee

Hi bviehmann,

I assume you use the format Template to fill in your email body?
How is the template and parameters look like?

Please check the format block documentation if you not already have:
https://my.phantom.us/4.1/docs/vpe/editor#format

0 Karma

bviehmann
New Member

Hi @rsantoso_splunk
yes i use the format Template .... in the documentation i dont find anythin about my problem ..(

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...