<?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: How to filter O365 API feed? in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278553#M96553</link>
    <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Any news from your side?&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Markus&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 05:35:18 GMT</pubDate>
    <dc:creator>CyberforceHero203</dc:creator>
    <dc:date>2019-07-24T05:35:18Z</dc:date>
    <item>
      <title>How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/274267#M96547</link>
      <description>&lt;P&gt;I would like to filter for indicators with the category "allow" or "optimize" only. How would you define the filter for that? I cannot find that much information regarding filtering using a processor. I hope my steps are correct?&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;create a new prototype of the IPv4Generic processor&lt;/LI&gt;
&lt;LI&gt;create infilters for that&lt;BR /&gt;
&lt;PRE&gt;infilters:
-   actions:
    - accept
    conditions:
    - __method == 'withdraw'
    name: accept withdraws
-   actions:
    - accept
    conditions:
    - o365_category == 'Allow'
    name: accept o365_categoryAllow&lt;BR /&gt;-   actions:&lt;BR /&gt;    - accept&lt;BR /&gt;    conditions:&lt;BR /&gt;    - o365_category == 'Optimize'&lt;BR /&gt;    name: accept o365_categoryOptimize
-   actions:
    - drop
    name: drop all&lt;/PRE&gt;
&lt;/LI&gt;
&lt;LI&gt;create a processor node using the previously selfmade prototype&lt;/LI&gt;
&lt;LI&gt;set as input the o365 miner&lt;/LI&gt;
&lt;LI&gt;create a output / feed node using the HCGreenWithValue prototype &amp;amp; set as input the selfmade processor&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Thanks a lot for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 05:25:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/274267#M96547</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-07-02T05:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/274580#M96548</link>
      <description>&lt;P&gt;Perfect! &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90443"&gt;@CyberforceHero203&lt;/a&gt;&amp;nbsp;just tested your filters and they work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luigi&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 10:46:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/274580#M96548</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2019-07-03T10:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275159#M96549</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Thanks for the fast reply.&lt;BR /&gt;It looks like it works, but if I compare the output node (finally listed indicators after my filter) with the json file which is hopefully the correct source of the miner o365-api.wordwide-any (&lt;A href="https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7" target="_blank"&gt;https://endpoints.office.com/endpoints/worldwide?clientrequestid=b10c5ed1-bad1-445f-b386-b919946339a7&lt;/A&gt;), then it hasn't the same amount of IP's (indicators).&lt;BR /&gt;If you modify the filter for the category "Optimize" only, then I get these 6 indicators at the output node:&lt;BR /&gt;104.146.128.0/17&lt;BR /&gt;13.107.136.0/22&lt;BR /&gt;134.170.200.0/21&lt;BR /&gt;150.171.40.0/22&lt;BR /&gt;40.108.128.0/17&lt;BR /&gt;52.104.0.0/14&lt;/P&gt;
&lt;P&gt;But when I check the json file, there are more indicators listed:&lt;BR /&gt;104.146.128.0/17&lt;BR /&gt;13.107.128.0/22&lt;BR /&gt;13.107.136.0/22&lt;BR /&gt;13.107.18.10/31&lt;BR /&gt;13.107.6.152/31&lt;BR /&gt;13.107.64.0/18&lt;BR /&gt;131.253.33.215/32&lt;BR /&gt;132.245.0.0/16&lt;BR /&gt;134.170.200.0/21&lt;BR /&gt;150.171.32.0/22&lt;BR /&gt;150.171.40.0/22&lt;BR /&gt;191.234.140.0/22&lt;BR /&gt;204.79.197.215/32&lt;BR /&gt;23.103.160.0/20&lt;BR /&gt;40.104.0.0/15&lt;BR /&gt;40.108.128.0/17&lt;BR /&gt;40.96.0.0/13&lt;BR /&gt;52.104.0.0/14&lt;BR /&gt;52.112.0.0/14&lt;BR /&gt;52.96.0.0/14&lt;/P&gt;
&lt;P&gt;Do you have any explanation for that? What have I done wrong? Is it not the same source or is the handling of the processor not correct?&lt;/P&gt;
&lt;P&gt;Another interesting thing is that. When I don't add a parameter to the output feed, then it looks like this:&lt;BR /&gt;104.146.128.0-104.146.255.255&lt;BR /&gt;13.107.136.0-13.107.139.255&lt;BR /&gt;150.171.40.0-150.171.43.255&lt;BR /&gt;40.108.128.0-40.108.255.255&lt;BR /&gt;52.104.0.0-52.107.255.255&lt;/P&gt;
&lt;P&gt;And when I add the parameter "?tr=1", then it looks like this:&lt;BR /&gt;104.146.128.0/17&lt;BR /&gt;13.107.136.0/22&lt;BR /&gt;134.170.200.0/21&lt;BR /&gt;150.171.40.0/22&lt;BR /&gt;40.108.128.0/17&lt;BR /&gt;52.104.0.0/14&lt;/P&gt;
&lt;P&gt;Means with the CIDR notation an aditional indicator is listed (134.170.200.0/21), I have no idea why. How about you?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Markus&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 20:52:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275159#M96549</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-07-05T20:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275323#M96550</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90443"&gt;@CyberforceHero203&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I think I know the problem. The same CIDRs are represented multiple times in the JSON with different categories.&lt;/P&gt;
&lt;P&gt;Let me work on an improvement for this and for&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/6601"&gt;@gejack&lt;/a&gt;&amp;nbsp;request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luigi&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 13:39:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275323#M96550</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2019-07-08T13:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275359#M96551</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply, I'm looking forward to reading from you soon &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;
&lt;P&gt;Many thanks&lt;/P&gt;
&lt;P&gt;Markus&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 14:47:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275359#M96551</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-07-08T14:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275870#M96552</link>
      <description>&lt;P&gt;Hi Luigi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to accomplish something similar.Additionally: what's the easiest way to have the miner submit the tenantName parameter to the web service?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Wolfram&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 19:32:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/275870#M96552</guid>
      <dc:creator>ttsws</dc:creator>
      <dc:date>2019-07-10T19:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278553#M96553</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Any news from your side?&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Markus&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 05:35:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278553#M96553</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-07-24T05:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278896#M96554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90443"&gt;@CyberforceHero203&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I have a first draft of the improvement, need some days to test it further before releasing it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Luigi&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 13:30:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278896#M96554</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2019-07-25T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278907#M96555</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Nice to hear, thanks for the status update.&lt;/P&gt;
&lt;P&gt;Markus&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 14:05:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/278907#M96555</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-07-25T14:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/281390#M96556</link>
      <description>&lt;P&gt;I'm watching out for this one too.&amp;nbsp; Looking forward to a release with this iteration!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 19:45:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/281390#M96556</guid>
      <dc:creator>michaelseto</dc:creator>
      <dc:date>2019-08-06T19:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/282304#M96557</link>
      <description>&lt;P&gt;Just merged the code:&amp;nbsp;&lt;A href="https://github.com/PaloAltoNetworks/minemeld-core/pull/340" target="_blank"&gt;https://github.com/PaloAltoNetworks/minemeld-core/pull/340&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It will be there in the next release (if you are not using the develop branch now)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 14:54:08 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/282304#M96557</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2019-08-12T14:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/282305#M96558</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Great news! Do you know the release date of the next stable version which contains your new code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers Markus&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 15:08:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/282305#M96558</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-08-12T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/286889#M96559</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Is the stable release already available with the improvment of the filter?&lt;/P&gt;
&lt;P&gt;Cheers Markus&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 09:36:05 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/286889#M96559</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-09-06T09:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/288769#M96560</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/90443"&gt;@CyberforceHero203&lt;/a&gt;&amp;nbsp;just released version 0.9.64 with the improved Miners. It adds new attributes terminating with _list that include all the value of that attribute in the different endpoints. You can use them with the filters to reliably detect specific ids, categories, required, etc.... Example:&lt;/P&gt;
&lt;PRE&gt;{
    "confidence": 100,
    "first_seen": 1565616931749,
    "last_seen": 1565616931749,
    "o365_category": "Allow",
    "o365_category_list": [
        "optimize",
        "allow"
    ],
    "o365_expressRoute": true,
    "o365_expressRoute_list": [
        "true"
    ],
    "o365_id": 6,
    "o365_id_list": [
        "1",
        "2",
        "5",
        "6"
    ],
    "o365_notes": "Exchange Online POP3 migration",
    "o365_notes_list": [
        "exchange online imap4 migration",
        "exchange online pop3 migration"
    ],
    "o365_required": false,
    "o365_required_list": [
        "false",
        "true"
    ],
    "o365_serviceArea": "Exchange",
    "o365_serviceArea_list": [
        "exchange"
    ],
    "o365_tcpPorts": "995",
    "o365_tcpPorts_list": [
        "995",
        "587",
        "143",
        "993",
        "443",
        "80"
    ],
    "o365_udpPorts_list": [],
    "share_level": "green",
    "sources": [
        "worldwide-any"
    ],
    "type": "IPv6"
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 13:21:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/288769#M96560</guid>
      <dc:creator>lmori</dc:creator>
      <dc:date>2019-09-17T13:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter O365 API feed?</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/288797#M96561</link>
      <description>&lt;P&gt;Hi Luigi&lt;/P&gt;
&lt;P&gt;Great, we will test it and let you know if everything works as expected.&lt;/P&gt;
&lt;P&gt;Regards Markus&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 15:22:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/how-to-filter-o365-api-feed/m-p/288797#M96561</guid>
      <dc:creator>CyberforceHero203</dc:creator>
      <dc:date>2019-09-17T15:22:44Z</dc:date>
    </item>
  </channel>
</rss>

