<?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: Python Script isn't being executed completely in Cortex XDR in Cortex XDR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/583763#M6510</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1187330855"&gt;@luglg100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out on LiveCommunity!&lt;/P&gt;
&lt;P&gt;Please make sure that you have fulfilled all the below prerequisites to run scripts on an endpoint.&lt;/P&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="phrase"&gt;Cortex XDR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Pro Per Endpoint license&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Endpoints running the Agent v7.1 and later. Since the agent uses its built-in capabilities and many available&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Python&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;modules to execute the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s, no additional setup is required on the endpoint.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Role with the following permissions to run and configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s:&lt;/P&gt;
&lt;DIV class="itemizedlist"&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;Run Standard&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;Run High-risk&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(required to upload a new&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;, run a snippet, and edit an existing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;(required to view the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s Library&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;execution results)&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp;&lt;SPAN&gt;Running snippets requires both&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;Run High-risk&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;permissions. Additionally, all&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;s are executed as System User on the endpoint.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please c&lt;SPAN&gt;lick&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to acknowledge that the answer to your question has been provided.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Mon, 15 Apr 2024 17:17:13 GMT</pubDate>
    <dc:creator>nsinghvirk</dc:creator>
    <dc:date>2024-04-15T17:17:13Z</dc:date>
    <item>
      <title>Python Script isn't being executed completely in Cortex XDR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/583112#M6482</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to use a Python script in Cortex XDR to execute a certificate installation on Windows machines.&lt;BR /&gt;&lt;BR /&gt;The main goal is to import a certificate.p12 with a password to be installed in all the Windows. However, the script is not&amp;nbsp;behaviour as expected since Cortex XDR allows you to personalize the script you want in Python to be executed in the endpoints.&lt;BR /&gt;&lt;BR /&gt;In local tests, all the scripts being executed in Python so far have had a success in its results. But, as soon as you try to execute the same codes in Cortex Console, only partial commands are executed or nothing happen in endpoint Windows machines.&lt;BR /&gt;&lt;BR /&gt;Here is the script that I'm trying to use in Cortex XDR but isn't working as the local tests are:&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;
&lt;LI-CODE lang="python"&gt;import subprocess
import os
import requests

# Path to save the downloaded certificate and the CMD script
cert_file_path = 'C:\\client.p12'
cmd_script_path = 'C:\\install_certificate.cmd'

# URL of the certificate to download
cert_url = 'https://drive.google.com/xxxx'

# Password for the certificate
cert_password = 'test'

# Download the certificate from the URL
response = requests.get(cert_url)
if response.status_code == 200:
with open(cert_file_path, 'wb') as cert_file:
cert_file.write(response.content)
else:
print("Failed to download the certificate.")
exit()

# Content of the new CMD script
cmd_script_content = f"""
@echo off
setlocal

:: Import the certificate using PowerShell
powershell -Command "Import-PfxCertificate -FilePath \"{cert_file_path}\" -Password (ConvertTo-SecureString -String \"{cert_password}\" -AsPlainText -Force) -CertStoreLocation Cert:\\CurrentUser\\My"
echo Certificate installed successfully.

exit /b 0
"""

# Create the new CMD script file
with open(cmd_script_path, 'w') as cmd_script_file:
cmd_script_file.write(cmd_script_content)

# Run the new CMD script
subprocess.run([cmd_script_path], shell=True)&lt;/LI-CODE&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;
&lt;P&gt;&lt;BR /&gt;In resume, the client.p12 is hosted on Google driver in a direct link and then the script writes down a Powershell script and save as "install_certificate.cmd". Finally, the script should execute the file saved as "install_certificate.cmd" to import the certificate automatically.&lt;BR /&gt;&lt;BR /&gt;However, in Cortex XDR, the process of downloading the client.p12 from Google Driver and creating a new file in Powershell with the name "install_certificate.cmd" are doing ok. The only step isn't being executed is to start the file "install_certificate.cmd".&lt;BR /&gt;&lt;BR /&gt;Again, if you take this script and execute in a local test installed Python, the script will work quite well. The only problem is with Cortex right now.&lt;BR /&gt;&lt;BR /&gt;I've already changed some process in the script, like, instead of creating a new file as I'm doing right now, working as an alternative B, the right script bellow does the task only needing the certificated client.p12 downloaded with the password (which is more simple than previous script) but nothing works in Cortex XDR again, only the certficate is download to the endpoint:&lt;BR /&gt;&lt;BR /&gt;&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;
&lt;LI-CODE lang="python"&gt;import requests
import os
import subprocess

# URL of the certificate to download
cert_url = 'https://onedrive.live.com/xxx'
# Path to save the downloaded certificate
cert_file_path = 'client.p12'
# Password for the certificate
cert_password = 'test'

# Download the certificate from the URL
response = requests.get(cert_url)
if response.status_code == 200:
    with open(cert_file_path, 'wb') as cert_file:
        cert_file.write(response.content)
else:
    print("Failed to download the certificate.")
    exit()

# Run PowerShell command to import the certificate
command = f'powershell -Command "certutil -p "test" -importpfx -user client.p12"'
subprocess.run(command, shell=True)

print("Certificate installed successfully.")&lt;/LI-CODE&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;
&lt;P&gt;&lt;BR /&gt;Either way, somehow, Cortex isn't getting right to execute the script or something in the script isn't being good to Cortex. I even did one script apart that tries to execute only the file "install_certificate.cmd" after Cortex created the file to import the certificate and download the client.p12 as a first script but it's not working either divinding the script in two parts... &lt;BR /&gt;&lt;BR /&gt;I don't know what to do anymore &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Again, I just want to import a certificate p12 with password to the all the Windows machine in mass deployment and not doing it manually like a crazy. It's too many machines for that.&lt;BR /&gt;&lt;BR /&gt;Here the last code I mentioned to execute only the file "install_certificate.cmd" that has been created by Cortex after through the first script but it didn't work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&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;
&lt;LI-CODE lang="python"&gt;import subprocess

# Path to the install_certificate.cmd file
cmd_file_path = r'C:\install_certificate.cmd'

# Function to execute the CMD file
def execute_cmd_file(cmd_file_path):
    try:
        # Run CMD file
        process = subprocess.Popen(cmd_file_path, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
        output, error = process.communicate()
        
        # Check for errors
        if process.returncode == 0:
            return output.decode('utf-8')
        else:
            return f"Error: {error.decode('utf-8')}"
    except Exception as e:
        return f"An error occurred: {str(e)}"

# Example usage
if __name__ == "__main__":
    # Execute the CMD file
    result = execute_cmd_file(cmd_file_path)
    print(result)&lt;/LI-CODE&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;
&lt;P&gt;&lt;BR /&gt;Remember, all the scripts mentioned have worked in local tests. But, at this point, I accept any tips, suggestion or solution for that, pls&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 01:27:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/583112#M6482</guid>
      <dc:creator>luglg100</dc:creator>
      <dc:date>2024-04-10T01:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script isn't being executed completely in Cortex XDR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/583763#M6510</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1187330855"&gt;@luglg100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out on LiveCommunity!&lt;/P&gt;
&lt;P&gt;Please make sure that you have fulfilled all the below prerequisites to run scripts on an endpoint.&lt;/P&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="phrase"&gt;Cortex XDR&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Pro Per Endpoint license&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Endpoints running the Agent v7.1 and later. Since the agent uses its built-in capabilities and many available&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Python&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;modules to execute the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s, no additional setup is required on the endpoint.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;Role with the following permissions to run and configure&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s:&lt;/P&gt;
&lt;DIV class="itemizedlist"&gt;
&lt;UL class="itemizedlist"&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;Run Standard&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;Run High-risk&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(required to upload a new&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;, run a snippet, and edit an existing&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;)&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="listitem"&gt;
&lt;P&gt;&lt;SPAN class="bold"&gt;&lt;STRONG&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;(required to view the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s Library&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;execution results)&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note:&amp;nbsp;&lt;SPAN&gt;Running snippets requires both&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;Run High-risk&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;s&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="guilabel"&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;Script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;configuration&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;permissions. Additionally, all&amp;nbsp;&lt;/SPAN&gt;&lt;MARK class="highlight-html-match" data-markjs="true"&gt;&lt;SPAN&gt;&lt;SPAN class="proto-highlight"&gt;script&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/MARK&gt;&lt;SPAN&gt;s are executed as System User on the endpoint.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please c&lt;SPAN&gt;lick&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;to acknowledge that the answer to your question has been provided.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 15 Apr 2024 17:17:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/583763#M6510</guid>
      <dc:creator>nsinghvirk</dc:creator>
      <dc:date>2024-04-15T17:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script isn't being executed completely in Cortex XDR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/585067#M6602</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/256101"&gt;@nsinghvirk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yeap, all these requirements were/are being fully filled&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 13:37:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/585067#M6602</guid>
      <dc:creator>luglg100</dc:creator>
      <dc:date>2024-04-26T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Python Script isn't being executed completely in Cortex XDR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/585071#M6603</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/1187330855"&gt;@luglg100&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please open a support case to investigate further.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 14:31:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xdr-discussions/python-script-isn-t-being-executed-completely-in-cortex-xdr/m-p/585071#M6603</guid>
      <dc:creator>nsinghvirk</dc:creator>
      <dc:date>2024-04-26T14:31:43Z</dc:date>
    </item>
  </channel>
</rss>

