<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Phantom MISP - adding attributes with comment in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/Phantom-MISP-adding-attributes-with-comment/m-p/534712#M532</link>
    <description>&lt;P&gt;I'm trying to add attributes via Phantom MISP app. Adding attributes itself works fine for me when I'm just using predefined fields for specific values like 'email-dst', but I need to include also 'comment' for the attributes I'm adding. So I decided to use 'json' field of the GUI configuration, which should allow me to pass custom built attributes. And here the first issues appeared.&lt;/P&gt;&lt;P&gt;App documentation does not give an example how mentioned json string should look like when adding custom attributes. Initially I was basing on&amp;nbsp;&lt;A href="https://www.circl.lu/doc/misp/automation/#attribute-management" target="_blank" rel="noopener"&gt;Automation and MISP API · User guide of MISP Malware Information Sharing Platform, a Threat Sharing Platform. (circl.lu)&lt;/A&gt;, where json string was like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"event_id":"3542","value":"1.2.3.4","category":"Network activity","type":"ip-dst"}&lt;/PRE&gt;&lt;P&gt;But unfortunately this one was not working - no attribute was added. Via trial and error method I was able to discover that I can add attributes of defined type with following json, which is extremely different than the one mentioned in MISP API documentation: {"email-dst":"test@email.com,"}. And please note that this comma at the end is not a typo - without it, no attribute is added. I have no idea why it's working this way, but it allows me to add an attribute to an event.&lt;/P&gt;&lt;P&gt;However this is where I got stuck. I have no idea how to include comment field for such attribute. I've tried several combinations containing {"comment":"abc"} but then I receive 3 attributes of 'comment' type with values - 'a', 'b', 'c'.&lt;/P&gt;&lt;P&gt;Does maybe someone know how to add attributes with comment using Phantom MISP app?&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 15:48:06 GMT</pubDate>
    <dc:creator>dewu94</dc:creator>
    <dc:date>2021-01-04T15:48:06Z</dc:date>
    <item>
      <title>Phantom MISP - adding attributes with comment</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Phantom-MISP-adding-attributes-with-comment/m-p/534712#M532</link>
      <description>&lt;P&gt;I'm trying to add attributes via Phantom MISP app. Adding attributes itself works fine for me when I'm just using predefined fields for specific values like 'email-dst', but I need to include also 'comment' for the attributes I'm adding. So I decided to use 'json' field of the GUI configuration, which should allow me to pass custom built attributes. And here the first issues appeared.&lt;/P&gt;&lt;P&gt;App documentation does not give an example how mentioned json string should look like when adding custom attributes. Initially I was basing on&amp;nbsp;&lt;A href="https://www.circl.lu/doc/misp/automation/#attribute-management" target="_blank" rel="noopener"&gt;Automation and MISP API · User guide of MISP Malware Information Sharing Platform, a Threat Sharing Platform. (circl.lu)&lt;/A&gt;, where json string was like this:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"event_id":"3542","value":"1.2.3.4","category":"Network activity","type":"ip-dst"}&lt;/PRE&gt;&lt;P&gt;But unfortunately this one was not working - no attribute was added. Via trial and error method I was able to discover that I can add attributes of defined type with following json, which is extremely different than the one mentioned in MISP API documentation: {"email-dst":"test@email.com,"}. And please note that this comma at the end is not a typo - without it, no attribute is added. I have no idea why it's working this way, but it allows me to add an attribute to an event.&lt;/P&gt;&lt;P&gt;However this is where I got stuck. I have no idea how to include comment field for such attribute. I've tried several combinations containing {"comment":"abc"} but then I receive 3 attributes of 'comment' type with values - 'a', 'b', 'c'.&lt;/P&gt;&lt;P&gt;Does maybe someone know how to add attributes with comment using Phantom MISP app?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 15:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Phantom-MISP-adding-attributes-with-comment/m-p/534712#M532</guid>
      <dc:creator>dewu94</dc:creator>
      <dc:date>2021-01-04T15:48:06Z</dc:date>
    </item>
  </channel>
</rss>

