<?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 Re: Application action datapath 'action_result.data' missing in VPE in Splunk SOAR</title>
    <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657897#M1261</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249428"&gt;@irom77&lt;/a&gt;&amp;nbsp;for each field/key you output you need to add to the JSON.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"action_result.data" is just the array after you get the results from the REST call from the App.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to add "action_result.data.*.&amp;lt;key&amp;gt;" for each value you want to use downstream in a playbook into the JSON for it to be visible as a selectable option.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can still use the values in a playbook but you need to add the ".*.&amp;lt;key&amp;gt;" to the end of your datapath in the Playbook. But if you want it to be selectable you need to map it in the JSON outputs section.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If unsure, you can look at any of the Out of the Box apps JSON files to see how they do it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 14:45:22 GMT</pubDate>
    <dc:creator>phanTom</dc:creator>
    <dc:date>2023-09-18T14:45:22Z</dc:date>
    <item>
      <title>Application action datapath 'action_result.data' missing in VPE</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657812#M1258</link>
      <description>&lt;P&gt;I've created app action '&lt;EM&gt;my_action_name&lt;/EM&gt;' which results I can collect in playbook just fine.&lt;/P&gt;&lt;P&gt;phantom.collect2(container=container, datapath=["&lt;EM&gt;my_action_name&lt;/EM&gt;:action_result.data"], action results=results)&lt;/P&gt;&lt;P&gt;but I don't see &lt;STRONG&gt;action_result.data&lt;/STRONG&gt; datapath neither in app documentation nor I can pick it up in VPE . I have only 'status' and 'message' available&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2023 18:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657812#M1258</guid>
      <dc:creator>irom77</dc:creator>
      <dc:date>2023-09-16T18:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Application action datapath 'action_result.data' missing in VPE</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657857#M1259</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249428"&gt;@irom77&lt;/a&gt;&amp;nbsp;have you configured the outputs in the app's json file?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/SOARonprem/6.1.1/DevelopApps/Metadata#Action_Section:_Output" target="_blank"&gt;https://docs.splunk.com/Documentation/SOARonprem/6.1.1/DevelopApps/Metadata#Action_Section:_Output&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 08:22:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657857#M1259</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2023-09-18T08:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Application action datapath 'action_result.data' missing in VPE</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657895#M1260</link>
      <description>&lt;P&gt;I set&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;I set "action_result.data" in&lt;SPAN&gt; the app's json file (short one like below), but it didn't help&lt;BR /&gt;and was gone when I tried to edit it again. &lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;{
      "data_path": "action_result.data",
      "data_type": "string"
   },&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it something I have to update manually all the time after making any &lt;/SPAN&gt;changes?
 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 13:49:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657895#M1260</guid>
      <dc:creator>irom77</dc:creator>
      <dc:date>2023-09-18T13:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Application action datapath 'action_result.data' missing in VPE</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657897#M1261</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249428"&gt;@irom77&lt;/a&gt;&amp;nbsp;for each field/key you output you need to add to the JSON.&amp;nbsp;&lt;/P&gt;&lt;P&gt;"action_result.data" is just the array after you get the results from the REST call from the App.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to add "action_result.data.*.&amp;lt;key&amp;gt;" for each value you want to use downstream in a playbook into the JSON for it to be visible as a selectable option.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can still use the values in a playbook but you need to add the ".*.&amp;lt;key&amp;gt;" to the end of your datapath in the Playbook. But if you want it to be selectable you need to map it in the JSON outputs section.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If unsure, you can look at any of the Out of the Box apps JSON files to see how they do it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 14:45:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657897#M1261</guid>
      <dc:creator>phanTom</dc:creator>
      <dc:date>2023-09-18T14:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Application action datapath 'action_result.data' missing in VPE</title>
      <link>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657907#M1262</link>
      <description>&lt;P&gt;I updated JSON and can see documentation updated as well&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;summary.data.*.result&lt;/TD&gt;&lt;TD&gt;string&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that key "result" is available per action test&lt;/P&gt;&lt;P&gt;{"identifier": "list_zones", "result_data": [{"data": [{"result":...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still in VPE I can see only 'status' and 'message' I haven't found anything special in existing apps&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 16:24:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-SOAR/Application-action-datapath-action-result-data-missing-in-VPE/m-p/657907#M1262</guid>
      <dc:creator>irom77</dc:creator>
      <dc:date>2023-09-18T16:24:05Z</dc:date>
    </item>
  </channel>
</rss>

