<?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 User Restriction and permission in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572092#M2972</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;using XSOAR I came across some issues related to user permissions and audit logs to have an account of the various activities performed on the platform:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Is it possible to restrict user permission to execute scripts/commands only via field changes in layouts?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;using the command !listExecutedCommands source=All I cannot see the commands launched by all users but only by those who execute the command. is there a way to see the commands any user has run?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;creating a python script with permissions to certain users, when I execute the command from inside the script demisto.executeCommand("ssh", {"host": "192.168.1.1", "cmd": "nslookup 8.8.8.8"}) if is executed via field change it gives me an error telling me that ssh integration must be enabled when I run it from the command line below with the symbol ! does it correctly. Is there a particular reason?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 15:37:08 GMT</pubDate>
    <dc:creator>FrancescoBarducci</dc:creator>
    <dc:date>2024-01-08T15:37:08Z</dc:date>
    <item>
      <title>User Restriction and permission</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572092#M2972</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;using XSOAR I came across some issues related to user permissions and audit logs to have an account of the various activities performed on the platform:&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;Is it possible to restrict user permission to execute scripts/commands only via field changes in layouts?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;using the command !listExecutedCommands source=All I cannot see the commands launched by all users but only by those who execute the command. is there a way to see the commands any user has run?&lt;/P&gt;
&lt;P&gt;-&amp;nbsp;creating a python script with permissions to certain users, when I execute the command from inside the script demisto.executeCommand("ssh", {"host": "192.168.1.1", "cmd": "nslookup 8.8.8.8"}) if is executed via field change it gives me an error telling me that ssh integration must be enabled when I run it from the command line below with the symbol ! does it correctly. Is there a particular reason?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 15:37:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572092#M2972</guid>
      <dc:creator>FrancescoBarducci</dc:creator>
      <dc:date>2024-01-08T15:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: User Restriction and permission</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572162#M2978</link>
      <description>&lt;P&gt;Hi Francesco,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Could you clarify what you mean by restricting permission to execute only upon field change, please?&lt;/P&gt;
&lt;P&gt;- The command is meant to return commands that any user has executed in a particular investigation, hence its results are exclusive to the incident that the command is executed in. It is not meant to return a global list of commands and users&lt;/P&gt;
&lt;P&gt;- Upon field change, the script runs with limited permissions. Can you try changing the 'Run as' configuration within the script settings to 'DBot' or 'Administrator' and perform your test again?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Rahul Vijaydev&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 20:06:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572162#M2978</guid>
      <dc:creator>RahulVijaydev</dc:creator>
      <dc:date>2024-01-08T20:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: User Restriction and permission</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572330#M2981</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;thanks so much for the replies.&lt;BR /&gt;I'll try to explain the various points:&lt;BR /&gt;- I wanted to understand if it was possible to allow the execution of commands only through change field scripts opened by the user and thus prevent the indiscriminate execution of the various commands.&lt;BR /&gt;- are there any logs to consult to understand which commands have been executed by users even within the playground?&lt;BR /&gt;- below are the images that show the behavior of the script:&lt;BR /&gt;Inside the script I executed this command:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrancescoBarducci_0-1704804640671.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56361i8C83FCD37E5125EE/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrancescoBarducci_0-1704804640671.png" alt="FrancescoBarducci_0-1704804640671.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;and if I run this command from the command line it works fine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrancescoBarducci_1-1704804725315.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56362iC65E5FEC607240BD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrancescoBarducci_1-1704804725315.png" alt="FrancescoBarducci_1-1704804725315.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but if I run it in relation to the modification of a field it gives me the following error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrancescoBarducci_2-1704804764179.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/56363i94CCBA23C52B4385/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="FrancescoBarducci_2-1704804764179.png" alt="FrancescoBarducci_2-1704804764179.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 12:53:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/user-restriction-and-permission/m-p/572330#M2981</guid>
      <dc:creator>FrancescoBarducci</dc:creator>
      <dc:date>2024-01-09T12:53:19Z</dc:date>
    </item>
  </channel>
</rss>

