<?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: Build transformer with execute.command() in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537405#M1962</link>
    <description>&lt;P&gt;Can you provide some more context and examples so we can better understand the issue? In general, you can use a transformer in an automation script and then save the object under a new variable. Once completed you can run the command with the transformed data object. Just so that you understand the term transform is used to convert data into other types or forms such as strip() and Regex. You can run the command with the data.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 09:02:56 GMT</pubDate>
    <dc:creator>michaelsysec242</dc:creator>
    <dc:date>2023-04-03T09:02:56Z</dc:date>
    <item>
      <title>Build transformer with execute.command()</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537239#M1961</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I'm trying to build a transformer that given a IP gives back the reverse dns. However, it seems that using commands in transformers is not allowed. Am I wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 13:39:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537239#M1961</guid>
      <dc:creator>SanDev</dc:creator>
      <dc:date>2023-03-31T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Build transformer with execute.command()</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537405#M1962</link>
      <description>&lt;P&gt;Can you provide some more context and examples so we can better understand the issue? In general, you can use a transformer in an automation script and then save the object under a new variable. Once completed you can run the command with the transformed data object. Just so that you understand the term transform is used to convert data into other types or forms such as strip() and Regex. You can run the command with the data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 09:02:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537405#M1962</guid>
      <dc:creator>michaelsysec242</dc:creator>
      <dc:date>2023-04-03T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Build transformer with execute.command()</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537504#M1965</link>
      <description>&lt;P&gt;Hello Michael,&lt;/P&gt;
&lt;P&gt;Automation scripts can be tagged as "Transformer". This allows you to use them as transformer inside "filters and transformers" when a variable is set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My problem is that I can perfectly create a transformer and make it work, however when I try to use an "execute.command" like Dig (execute.command("Dig", ....)) inside the automation tagged with "Transformer", the transformer doesn't work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The main question is why is not working? Is not allowed to use "execute.command" in an automation used as a "transformer"?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:32:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/537504#M1965</guid>
      <dc:creator>SanDev</dc:creator>
      <dc:date>2023-04-03T20:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build transformer with execute.command()</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/998086#M3802</link>
      <description>&lt;P&gt;Has there been any update on this? I am facing the same issue. I was hoping to use:&lt;BR /&gt;// Some code to gerate a splunk query&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; matches = execute_command&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"splunk-search"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"query"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;splunk_query&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"using"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"SplunkCloud"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; )&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;// Some code to format the output of the query&lt;BR /&gt;&lt;/SPAN&gt;as a transformer. Ideally this will be used in a mapper to identify certain alerts in preprocessing rules.&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Dec 2024 15:39:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/build-transformer-with-execute-command/m-p/998086#M3802</guid>
      <dc:creator>kwatsontutoring</dc:creator>
      <dc:date>2024-12-12T15:39:38Z</dc:date>
    </item>
  </channel>
</rss>

