<?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: Not able to run Python script in Checkpoint GAIA security GW in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31700#M1918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're trying to have Ansible run commands on a Check Point Security Gateway in this manner, this is not supported.&lt;/P&gt;&lt;P&gt;What you can do today is use an Ansible module to talk with the R80.x Management Server and have it execute commands using the run-script API.&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A href="https://community.checkpoint.com/docs/DOC-1928"&gt;Automate your R80 Management Server using Ansible&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also have a REST API on the Gateway that we added fairly recently: &lt;A href="https://community.checkpoint.com/community/infinity-general/appliances-and-gaia/blog/2019/01/21/new-gaia-features-dynamic-cli-and-rest-api-are-available?sr=search&amp;amp;searchId=d077e38c-053e-499a-9ce4-1c2d62f05a29&amp;amp;searchIndex=2"&gt;https://community.checkpoint.com/community/infinity-general/appliances-and-gaia/blog/2019/01/21/new-gaia-features-dynamic-cli-and-rest-api-are-available?sr=search&amp;amp;searchId=d077e38c-053e-499a-9ce4-1c2d62f05a29&amp;amp;searchIndex=2&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;There is not an Ansible module that takes advantage of this just yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2019 01:55:16 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-02-12T01:55:16Z</dc:date>
    <item>
      <title>Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31695#M1913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have pushing python script from ansible. I have whitelisted python script path in /opt/CPsuite-R77/fw1/conf/whitelist as well.&lt;/P&gt;&lt;P&gt;Getting error : File '/opt/CPsuite-R77/fw1/scripts/ansible-tmp-1549820289.28-125410269476857/AnsiballZ_ping.py' execution is not allowed according to Check Point policy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help in this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2019 12:22:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31695#M1913</guid>
      <dc:creator>Trupti_Deshmukh</dc:creator>
      <dc:date>2019-02-10T12:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31696#M1914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Python and modules on CP GW is having limited functionality, you cannot run everything like you would run on pc/server, rather run it from normal linux machine &lt;IMG src="https://community.checkpoint.com/legacyfs/online/checkpoint/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 06:55:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31696#M1914</guid>
      <dc:creator>Martin_Valenta</dc:creator>
      <dc:date>2019-02-11T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31697#M1915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is ansible control host who is pushing scripts on Checkpoint GAIA gateway R80.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone worked for Checkpoint GAIA gateway using Ansible?&lt;/P&gt;&lt;P&gt;Which Remote_tmp path to select to run scripts successfully by ansible on Checkpoint GAIA gateway R80.10?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2019 07:33:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31697#M1915</guid>
      <dc:creator>Trupti_Deshmukh</dc:creator>
      <dc:date>2019-02-11T07:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31698#M1916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the purpose of the script you're trying to push?&lt;/P&gt;&lt;P&gt;In general, the number of libraries we include with our Python is limited.&lt;/P&gt;&lt;P&gt;There me be a different way to achieve the result you're after.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 01:01:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31698#M1916</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-02-12T01:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31699#M1917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is command module i am running using in ansible to push commands in checkpoint gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ansible generates .Py file and executes on gateway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;It might be the case that pushing commands using command module is not supported by checkpoint. I will check for network_cli module then. Thanks for your responses. It helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where can I get details of ansible modules which are allowed by checkpoint in firewall to run?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Trupti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 01:07:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31699#M1917</guid>
      <dc:creator>Trupti_Deshmukh</dc:creator>
      <dc:date>2019-02-12T01:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31700#M1918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're trying to have Ansible run commands on a Check Point Security Gateway in this manner, this is not supported.&lt;/P&gt;&lt;P&gt;What you can do today is use an Ansible module to talk with the R80.x Management Server and have it execute commands using the run-script API.&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A href="https://community.checkpoint.com/docs/DOC-1928"&gt;Automate your R80 Management Server using Ansible&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also have a REST API on the Gateway that we added fairly recently: &lt;A href="https://community.checkpoint.com/community/infinity-general/appliances-and-gaia/blog/2019/01/21/new-gaia-features-dynamic-cli-and-rest-api-are-available?sr=search&amp;amp;searchId=d077e38c-053e-499a-9ce4-1c2d62f05a29&amp;amp;searchIndex=2"&gt;https://community.checkpoint.com/community/infinity-general/appliances-and-gaia/blog/2019/01/21/new-gaia-features-dynamic-cli-and-rest-api-are-available?sr=search&amp;amp;searchId=d077e38c-053e-499a-9ce4-1c2d62f05a29&amp;amp;searchIndex=2&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;There is not an Ansible module that takes advantage of this just yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 01:55:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31700#M1918</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-02-12T01:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31701#M1919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for information....I would be happy If i get it from EA team for testing.&lt;/P&gt;&lt;P&gt;Please do let me know when ansible module is available to automate Checkpoint R80.10 security&amp;nbsp;gateway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 03:03:22 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31701#M1919</guid>
      <dc:creator>Trupti_Deshmukh</dc:creator>
      <dc:date>2019-02-12T03:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to run Python script in Checkpoint GAIA security GW</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31702#M1920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like I said, you can already do it today using the run-script API and the Ansible module I linked in my previous reply.&lt;/P&gt;&lt;P&gt;It's an indirect approach but it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2019 06:09:23 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Not-able-to-run-Python-script-in-Checkpoint-GAIA-security-GW/m-p/31702#M1920</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-02-12T06:09:23Z</dc:date>
    </item>
  </channel>
</rss>

