<?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: o365 dynamic objects script in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41414#M3125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate and look forward to the upcoming evolution! While quite a few folks have kindly mentioned that this is being rolled into R80.20 and that will be excellent, I suspect many will continue to use dynamic objects in 77.30 and 80.10 for a good while to come and sharing this functionality will "help raise all boats" with regards to leveraging Dynamic Objects. In addition tying in new innovations like APIs from Microsoft will justify new versions and addition innovations that will also help "raise all boats". Meanwhile I have a few more scripts to "share" in the near future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2018 14:44:53 GMT</pubDate>
    <dc:creator>Charles_Currier</dc:creator>
    <dc:date>2018-08-28T14:44:53Z</dc:date>
    <item>
      <title>o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41410#M3121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This script pulls the current list of office365 IP Addresses referenced from &lt;A class="link-titled" href="https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service" title="https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service"&gt;Office 365 IP Address and URL Web service | Microsoft Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;A class="" data-linktype="external" href="https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7"&gt;https://endpoints.office.com/endpoints/worldwide&lt;/A&gt;.&amp;nbsp;It then creates dynamic objects for each set of Service Areas that have ipv4&lt;/P&gt;&lt;P&gt;network ranges defined in the json document.&amp;nbsp;Once run once an administrator should pull the resulting objects to populate&lt;/P&gt;&lt;P&gt;the policy and then rerun once policy is pushed.&lt;/P&gt;&lt;P&gt;This does not have scheduling at this time.&lt;/P&gt;&lt;P&gt;This has been updated to version 3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Aug 2018 12:48:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41410#M3121</guid>
      <dc:creator>Charles_Currier</dc:creator>
      <dc:date>2018-08-24T12:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41411#M3122</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;i wrote something similar (&amp;nbsp;&lt;A href="https://community.checkpoint.com/docs/DOC-3013"&gt;Basic script for importing IP Adress objects from feed (here office365) &lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;In the answers&amp;nbsp;Brian&amp;nbsp;told, that MS is changing from xml to API output (&lt;A class="link-titled" href="https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7" title="https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7"&gt;https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for you maybe interesting too...&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 13:55:05 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41411#M3122</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-08-28T13:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41412#M3123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just FYI guys, this feature is coming to R80.20 (Management and Gateways), out soon. But you will need to upgrade your Security Management Server and Gateways for that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:19:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41412#M3123</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-08-28T14:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41413#M3124</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;Correct, already testing it on EA &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.checkpoint.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Viele Gr??e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel Meier&lt;/P&gt;&lt;P&gt;//Sent mobile with Check Point Capsule Workspace&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:42:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41413#M3124</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-08-28T14:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41414#M3125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate and look forward to the upcoming evolution! While quite a few folks have kindly mentioned that this is being rolled into R80.20 and that will be excellent, I suspect many will continue to use dynamic objects in 77.30 and 80.10 for a good while to come and sharing this functionality will "help raise all boats" with regards to leveraging Dynamic Objects. In addition tying in new innovations like APIs from Microsoft will justify new versions and addition innovations that will also help "raise all boats". Meanwhile I have a few more scripts to "share" in the near future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:44:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41414#M3125</guid>
      <dc:creator>Charles_Currier</dc:creator>
      <dc:date>2018-08-28T14:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41415#M3126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's true.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 16:14:11 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41415#M3126</guid>
      <dc:creator>Tomer_Sole</dc:creator>
      <dc:date>2018-08-28T16:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41416#M3127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for sharing.&lt;/P&gt;&lt;P&gt;While end of support for 77.30 is near (2019), by no means this version is going out of production any time soon, far beyond EOS date. Not to mention that 80% of firewalls in Ent today are R77.30, so your effort is not wasted at all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 05:06:58 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/41416#M3127</guid>
      <dc:creator>Yuri_Slobodyany</dc:creator>
      <dc:date>2018-08-30T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/67869#M4130</link>
      <description>&lt;P&gt;Thanks for sharing Charles, work like a charm! &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:38:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/67869#M4130</guid>
      <dc:creator>SCYL</dc:creator>
      <dc:date>2019-11-20T08:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/67870#M4131</link>
      <description>&lt;P&gt;Thanks for sharing Charles, work like a charm!! &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 08:43:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/67870#M4131</guid>
      <dc:creator>nsamsin</dc:creator>
      <dc:date>2019-11-20T08:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: o365 dynamic objects script</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/68535#M4141</link>
      <description>&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;Just a small remark;&lt;/P&gt;&lt;P&gt;I have tested your script on a test gateway with a direct internet connection which worked fine.&lt;/P&gt;&lt;P&gt;While implementing the solution on a production setup behind a proxy I noticed that the script did not worked.&lt;/P&gt;&lt;P&gt;After a quick review I noticed that your curl command is missing the output parameter:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;oipaddresses=`curl_cli -k -s --cacert $CPDIR/conf/ca-bundle.crt --retry 10 --retry-delay 60 $url --proxy $HTTPS_PROXY `&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;This should be changed to:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;oipaddresses=`curl_cli -k -s --cacert $CPDIR/conf/ca-bundle.crt --retry 10 --retry-delay 60 $url --proxy $HTTPS_PROXY -o /var/tmp/O365IPAddresses.json `&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Once changed the script also works when the gateway is behind a proxy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 16:37:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/o365-dynamic-objects-script/m-p/68535#M4141</guid>
      <dc:creator>nsamsin</dc:creator>
      <dc:date>2019-11-26T16:37:17Z</dc:date>
    </item>
  </channel>
</rss>

