<?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: Office365 and Exhange Online in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306524#M79628</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Microsoft give some ideas/examples on what you can do, however there is no direct edl that I know of. You can create your own using mindmeld.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service" target="_blank"&gt;https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be interested in which way you go and if it is successful or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 17:10:47 GMT</pubDate>
    <dc:creator>OtakarKlier</dc:creator>
    <dc:date>2020-01-13T17:10:47Z</dc:date>
    <item>
      <title>Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306488#M79623</link>
      <description>&lt;P&gt;We are going to have a hybrid environment and need to allow some O365/Exchange traffic inbound from their cloud. They have a JSON list they publish. Can I use that as an EDL to allow the traffic inbound? Or do I need to filter that through something else?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 14:27:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306488#M79623</guid>
      <dc:creator>DPoppleton</dc:creator>
      <dc:date>2020-01-13T14:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306524#M79628</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Microsoft give some ideas/examples on what you can do, however there is no direct edl that I know of. You can create your own using mindmeld.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service" target="_blank"&gt;https://docs.microsoft.com/en-us/office365/enterprise/office-365-ip-web-service&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd be interested in which way you go and if it is successful or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 17:10:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306524#M79628</guid>
      <dc:creator>OtakarKlier</dc:creator>
      <dc:date>2020-01-13T17:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306592#M79639</link>
      <description>&lt;P&gt;I download the CSV version of the file on one of our Linux boxes, parse the file, and spit it out to a file on the webserver on the same Linux box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is then added as an EDL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 08:47:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306592#M79639</guid>
      <dc:creator>RobinClayton</dc:creator>
      <dc:date>2020-01-14T08:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306598#M79641</link>
      <description>&lt;P&gt;Not sure the formatting of this will come out ok.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Requires&lt;/P&gt;&lt;P&gt;Linux with&lt;/P&gt;&lt;P&gt;"bash" a common shell.&lt;/P&gt;&lt;P&gt;"webserver" (Apache but NginX would work)&lt;/P&gt;&lt;P&gt;"mutt" for mail&lt;/P&gt;&lt;P&gt;"wget" for fetching the list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is running on a Debian release, there is a cron task to run it daily.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same should be doable with windows and PowerShell + IIS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#########################################################
#                                                       #
# Office 365 External Dynamic List Updater              #
#                                                       #
#########################################################
#                                                       #
# Credits -- Robin Clayton                              #
# Date -- 28/11/2019                                    #
#                                                       #
#########################################################
#                                                       #
# #1 Get the CSV of IP's from Microsoft                 #
# #2 Get the IP V4 SUBNETS                              #
# #3 Count the number, Send the e-mail                  #
# #4 Update the EDL web file                            #
#                                                       #
#########################################################
#                                                       #
# Change Log                                            #
# DATE       TIME     INITIAL      CHANEGE SUMMARY      #
#########################################################
#                                                       #
#                                                       #
#########################################################
#                                                       #
#                                                       #
#########################################################
#!/bin/bash


cd /home/administrator/365
### Remove Temp File
rm -rf rawllist
### Get CSV list from Microsoft and output to file rawlist
wget "https://endpoints.office.com/endpoints/Worldwide?ServiceAreas=Exchange&amp;amp;format=CSV&amp;amp;ClientRequestId=d6bc355c-51ff-48f5-acb0-dd42baf76b88" -O rawlist
### parse file rawlist to find IPV4 subnets and output to file EDL
grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\/[0-9]\{1,2\}' rawlist &amp;gt; EDL
### Do a count of the number just for info.
IL=`wc -l EDL`
### Check for differences between last and current list.
DF=`diff EDL /var/www/html/of365edl.txt`
echo $IL

### if the file is not empty
if [ -s "EDL" ]
then
        ### Send an info E-Mail
        echo "We have $IL Subnets in todays External Dynamic List , /home/administrator/365/O365list" | mutt -e 'set realname=Office365EDL from=EDL@host1.local' -s "Office 365 External Lists Update" admin@org.co.uk
        ### Copy the list to the webserver folder
		cp IPL /var/www/html/of365edl.txt
### If the file is emty
else
        ### Send an info E-Mail        
        echo "The External IP file is blank, Not updating... /home/administrator/365/O365list" | mutt -e 'set realname=Office365EDL from=EDL@host.local' -s "Office 365 External Lists FAILURE" admin@org.co.uk
fi&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 09:03:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306598#M79641</guid>
      <dc:creator>RobinClayton</dc:creator>
      <dc:date>2020-01-14T09:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306599#M79642</link>
      <description>&lt;P&gt;Yeah code formatting not great!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 09:03:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/306599#M79642</guid>
      <dc:creator>RobinClayton</dc:creator>
      <dc:date>2020-01-14T09:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Office365 and Exhange Online</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/325121#M82945</link>
      <description>&lt;P&gt;Hi DPoppleton,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A few months ago, after the Office 365 deployment was completed in my organization, the same task popped up in my list. Having searched for quite a while, I couldn't find a relatively simple solution and MindMeld was considered an overkill for the setup and requirements at the time. So, I came up with my own solution, &lt;A title="O365 JSON Converter" href="https://github.com/ivang-coder/o365-json-to-flatfile-converter.git" target="_self"&gt;o365-json-to-flatfile-converter&lt;/A&gt; It's been running successfully and feeding my PAN FW's EDLs ever since.&lt;/P&gt;&lt;P&gt;URL: &lt;A href="https://github.com/ivang-coder/o365-json-to-flatfile-converter.git" target="_blank"&gt;https://github.com/ivang-coder/o365-json-to-flatfile-converter.git&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try it out and see whether it fits the requirements. Would appreciate your feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;IvanG&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 04:38:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/office365-and-exhange-online/m-p/325121#M82945</guid>
      <dc:creator>Ivan.Gladushko</dc:creator>
      <dc:date>2020-04-28T04:38:30Z</dc:date>
    </item>
  </channel>
</rss>

