<?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: Basic script for importing IP Address objects from feed (here office365)  in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40844#M2761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure, you can add to the header:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget1=primarytarget&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget2=secondarytarget&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget3=tertiarytarget&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Then, row 137&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget1" -s id.txt&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget2" -s id.txt&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget3" -s id.txt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;not sure if&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget1" targets.2 "$v_poltarget2" targets.3 "$v_poltarget3" -s id.txt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works. If you want to try it and tell me if it works &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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2018 17:09:01 GMT</pubDate>
    <dc:creator>Nüüül</dc:creator>
    <dc:date>2018-12-19T17:09:01Z</dc:date>
    <item>
      <title>Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40830#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can be adapted to&amp;nbsp;other&amp;nbsp;feeds with CIDR addresses.&lt;/P&gt;&lt;P&gt;Created Objects are then added to a group - defined at the top&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;compares current group members with new feed and adds new / removes unused ones.&lt;/P&gt;&lt;P&gt;Logging is kind of ugly, but in progress.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i planned to run this every day on my lab environment as cron. kind of works &lt;SPAN __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.checkpoint.com/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any hints and improvements appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2018 18:14:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40830#M2747</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-09T18:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40831#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thanks for sharing the script with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've reviewed the code and it is wrong regarding the Management API context:&lt;/P&gt;&lt;P&gt;1. Your "logout" command doesn't match the "login" command, because it is inside the nested "if" block.&lt;/P&gt;&lt;P&gt;2. After the login command you add a group object, which is published inside the nested "if" block. if that object is not used in other circumstances, you have to consider to "discard" that change,&amp;nbsp;before logout. Or, alternatively add that object inside the &lt;STRONG&gt;second&lt;/STRONG&gt; "if" block just before the show command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember, you must match login and logout commands, and discard the changes if you are not using them.&lt;/P&gt;&lt;P&gt;Otherwise you will have locked objects and orphan sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 07:43:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40831#M2748</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-07-10T07:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40832#M2749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot for your input. so i changed the script slightly according your comments.&lt;/P&gt;&lt;P&gt;If Changes are not saved, i am sending a "mgmt_cli discard".&lt;/P&gt;&lt;P&gt;Moved the mgmt login and logout, so there should no orphaned sessions occur again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to 2. this group object is used. The network objects created by the script are directly added into this group.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM&gt;mgmt_cli add group name "$v_grp" color "$v_objcolor" comments "$v_objcomment" -s id.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;awk -v awk_grp="$v_grp" -v awk_opfx="$v_objprefix" -v awk_color="$v_objcolor" -v awk_comment="$v_objcomment" 'FNR==NR { a[FNR""] = $0; next } { print "mgmt_cli -s id.txt add network name \""awk_opfx""a[FNR""]"\" ",$0" color \""awk_color"\" groups.1 \""awk_grp"\" comments \""awk_comment"\""}' $v_diff_add $v_diff_add_netmask &amp;gt;$v_diff_add_sh&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If the group exists, i just&amp;nbsp;got the error :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;code: "err_validation_failed"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;message: "Validation failed with 1 error"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;errors: &lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;- message: "More than one object named 'ge_o365-networks' exists."&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This was one of the parts, i think the script is ugly &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;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I&amp;nbsp;added a condition to check if the group exists and only to send the "mgmt_cli add group name" if not. So the message above should not occur again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again - thanks. You helped me a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2018 14:08:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40832#M2749</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-10T14:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40833#M2750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much for posting and sharing the script.&amp;nbsp; I have been thinking about the same thing for O365.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that the script is pulling XML data from the MS so I thought I would mention that I read MS is planning to move to REST.&amp;nbsp; XML and RSS will be phased out.&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.office.com/article/managing-office-365-endpoints-99cab9d4-ef59-4207-9f2b-3728eb46bf9a#webservice"&gt;https://support.office.com/article/managing-office-365-endpoints-99cab9d4-ef59-4207-9f2b-3728eb46bf9a#webservice&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the web page, MS provides URI samples for testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if I am reading it correctly, a change query is available so the consumer will not have to diff to figure out the changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 23:02:53 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40833#M2750</guid>
      <dc:creator>brian_patterso1</dc:creator>
      <dc:date>2018-07-12T23:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40834#M2751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Update 2018-07-13&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;File&amp;nbsp; itself is slightly changed. mainly one new line at the variables:&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#(if needed) define mail subject for notification&lt;BR /&gt;echo "Subject: "Activity Report - Office365 Import Script""&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this, you can schedule a cronjob with command:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;EM style="font-size: 8.0pt;"&gt;sh /scripts/o365-api | /usr/bin/tee -a /scripts/o365_logging 2&amp;gt;&amp;amp;1 | /usr/sbin/sendmail --domain=&amp;lt;mail domain&amp;gt; -f &amp;lt;sender address&amp;gt; -v &amp;lt;recipient address&amp;gt; --host=&amp;lt;mail relay&amp;gt; 2&amp;gt;&amp;amp;1&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;If settings are correct, checkpoint logs, what the script is doing and is sending a small email after the job is done&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN&gt;Subject: "Activity Report - Office365 Import Script"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;################## Script starts : 2018.07.13-00.41.01 ##################&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt;group ge_o365-networks already exists&lt;/DIV&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt;No Changes!&lt;/DIV&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt;message: "OK"&lt;/DIV&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt;DONE&lt;/DIV&gt;&lt;DIV style="color: #000000; font-weight: normal; text-decoration: none;"&gt;################## Script ends : 2018.07.13-00.41.01 ##################&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN&gt;Subject: "Activity Report - Office365 Import Script"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;################## Script &lt;/SPAN&gt;&lt;A href="http://airmail.calendar/2018-07-13%2000:50:01%20MESZ" style="font-weight: normal;"&gt;starts : 2018.07.13-00.50.01&lt;/A&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt; ################## &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;group ge_o365-networks already exists &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;Files o365_helper_ms-objsorted.tmp and o365_helper_inst-objsorted.tmp differ &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;Found objects to remove &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;found new objects! &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;tasks: &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;- task-id: "0000000-0000-00000-00000-000" &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;task-name: "Publish operation" &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;status: "succeeded" &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;progress-percentage: 100 &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;suppressed: false &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;task-details: &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;- publishResponse: &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;numberOfPublishedChanges: 184 &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;mode: "async" &lt;/SPAN&gt;&lt;BR style="color: #000000; font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;revision: "&lt;SPAN&gt;0000000-0000-00000-00000-000&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;Done! Installing Policy! &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-weight: normal; text-decoration: none;"&gt;&lt;BR style="font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="font-weight: normal; text-decoration: none;"&gt;message: "OK" &lt;/SPAN&gt;&lt;BR style="font-weight: normal; text-decoration: none;" /&gt;&lt;BR style="font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="font-weight: normal; text-decoration: none;"&gt;DONE &lt;/SPAN&gt;&lt;BR style="font-weight: normal; text-decoration: none;" /&gt;&lt;SPAN style="font-weight: normal; text-decoration: none;"&gt;################## Script ends : 2018.07.13-00.50.01 ################## &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not that ugly anymore &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;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2018 23:30:54 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40834#M2751</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-12T23:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40835#M2752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your input. i&amp;nbsp;did let the script run against the URL mentioned by MS:&lt;/P&gt;&lt;P&gt;&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;did work so far, as ip addresses are still in CIDR &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;Regarding the changes only "feed", that might be good, but, if you miss one update, you will sooner or later run into problems. therefore I´d stay at the full list and compare it against the actual installed policy.&lt;/P&gt;&lt;P&gt;The diff does not produce heavy load so does not hurt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the script still is able to be adapted, when someone needs something similar, he just adds a text file on a webserver, containing addresses...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like, MS is still in developing mode on this, will check in a month or so and adjust the feed URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 08:55:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40835#M2752</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-13T08:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40836#M2753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Daniel, could you post it on GitHub?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2018 13:15:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40836#M2753</guid>
      <dc:creator>Theis_Andersen_</dc:creator>
      <dc:date>2018-07-13T13:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40837#M2754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/leinadred/IPaddressFeed2CheckPointAPI" title="https://github.com/leinadred/IPaddressFeed2CheckPointAPI"&gt;GitHub - leinadred/IPaddressFeed2CheckPointAPI: Adding a IP Address feed (CIDR) into Checkpoint Objects (here Office 365…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2018 17:04:00 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40837#M2754</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-15T17:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40838#M2755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this, much needed indeed. Would you be able to group these IP addresses into individual Groups? i.e. we need to have traffic to Skype for Business /Teams to bypass our proxies whereas the rest of the O365 can go through them. It would be good if this IP address feed could be split into different MS groups like SfB, Exchange, Sharepoint, etc..&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 10:57:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40838#M2755</guid>
      <dc:creator>Nick_Mandafouni</dc:creator>
      <dc:date>2018-07-18T10:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40839#M2756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will be&amp;nbsp;possible with the newer feed which is an API output.&lt;/P&gt;&lt;P&gt;There are titles like&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #363636; background-color: #ffffff;"&gt;&amp;nbsp; "serviceArea": "Exchange",&amp;nbsp;&amp;nbsp;&amp;nbsp; "serviceAreaDisplayName": "Exchange Online", &lt;/PRE&gt;&lt;P&gt;With this given, you should be able to i.e. grep the "Exchange Online" and set it into the group name...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 14:49:06 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40839#M2756</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-18T14:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40840#M2757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I just learned at the Tech Talks to R80.20.M1, there will arrive a good possibility for such updated cloud targets (office365, amazon and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.checkpoint.com/message/22778-new-cloudguard-iaas-features-with-r8020m1-smartconsole" target="_blank"&gt;https://community.checkpoint.com/message/22778-new-cloudguard-iaas-features-with-r8020m1-smartconsole&lt;/A&gt;&amp;nbsp; &amp;lt;-- look at the screenshot, the network objects menu opened has an entry "online services"&lt;/P&gt;&lt;P&gt;Tomer clicked through a bit, there were different service types, like skype or Exchange Online...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe will have a look later this or next week in my lab...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jun 2019 09:25:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40840#M2757</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2019-06-21T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40841#M2758</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;According to the Security Management Guide - (&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R80.20_M1/WebAdminGuides/EN/CP_R80.20_M1_SecurityManagement_AdminGuide/html_frameset.htm" title="https://sc1.checkpoint.com/documents/R80.20_M1/WebAdminGuides/EN/CP_R80.20_M1_SecurityManagement_AdminGuide/html_frameset.htm"&gt;Security Management R80.20.M1 Administration Guide&lt;/A&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the Online Services are supported on Gateways running R80.20 or higher. &amp;lt;-- so at the moment i cannot test it in my lab&lt;/LI&gt;&lt;LI&gt;the addresses are automatically updated, without needing a policy push ore something, which is good...&lt;/LI&gt;&lt;LI&gt;Activities like updated&amp;nbsp;addresses are visible in the log. which is good.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So another good point for discussing gateway upgrades to R80.20 &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;&amp;nbsp;- when it is GA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 08:44:35 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40841#M2758</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-07-24T08:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40842#M2759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just updated the script regarding the new feed from Microsoft and for CP Version R80.20&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;EM&gt;#This machine version R80.20, uncomment the next line&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;EM&gt;source /opt/CPshrd-R80.20/tmp/.CPprofile.sh&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;EM&gt;#If this machine version R80.10, uncomment the line below&lt;/EM&gt;&lt;/P&gt;&lt;P style="margin-left: 70.8pt;"&gt;&lt;EM&gt;#source /opt/CPshrd-R80/tmp/.CPprofile.sh&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;(In case you want to use the script, even though the updatable objects at R80.20) &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;should be ok, to change / uncomment while implementing the script following the word document, which can be found at the github (latest Script and Implementation Document. (&lt;A class="link-titled" href="https://github.com/leinadred/IPaddressFeed2CheckPointAPI" title="https://github.com/leinadred/IPaddressFeed2CheckPointAPI"&gt;GitHub - leinadred/IPaddressFeed2CheckPointAPI: Adding a IP Address feed (CIDR) into Checkpoint Objects (here Office 365…&lt;/A&gt;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Dec 2018 19:54:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40842#M2759</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-12-09T19:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40843#M2760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to install policy to multiple cluster objects?&amp;nbsp; If so, how should the variable v_poltarget be assigned?&amp;nbsp; API mentions List: string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_poltarget=primarytarget secondarytarget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excellent work btw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 15:17:40 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40843#M2760</guid>
      <dc:creator>Cody_Ray</dc:creator>
      <dc:date>2018-12-19T15:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40844#M2761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cody!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sure, you can add to the header:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget1=primarytarget&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget2=secondarytarget&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;v_poltarget3=tertiarytarget&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;Then, row 137&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget1" -s id.txt&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget2" -s id.txt&lt;/P&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget3" -s id.txt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;not sure if&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin: 0px; padding: 0px; -webkit-margin-before: 0px; -webkit-margin-after: 0px; -webkit-margin-start: 0px; -webkit-margin-end: 0px; caret-color: #666666; color: #666666; font-family: Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget1" targets.2 "$v_poltarget2" targets.3 "$v_poltarget3" -s id.txt&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;works. If you want to try it and tell me if it works &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2018 17:09:01 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40844#M2761</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2018-12-19T17:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40845#M2762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Single line doesn't work.&amp;nbsp; You must enter it in as:&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget1" -s id.txt&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget2" -s id.txt&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;mgmt_cli install-policy policy-package "$v_polpack" access true threat-prevention true targets.1 "$v_poltarget3" -s id.txt&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #666666; border: 0px; font-weight: normal; text-decoration: none; font-size: 14px;"&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2019 22:14:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40845#M2762</guid>
      <dc:creator>Cody_Ray</dc:creator>
      <dc:date>2019-01-11T22:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40846#M2763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for checking and sharing!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 11:58:55 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40846#M2763</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2019-01-12T11:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40847#M2764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future reference please be aware of the following related articles:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk131852" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk131852"&gt;sk131852 - Updatable Objects in R80.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk135572" title="https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&amp;amp;solutionid=sk135572"&gt;sk135572 - Microsoft Office 365 objects as Network Objects in R80.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 02:03:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40847#M2764</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2019-01-15T02:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40848#M2765</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;thanks, in this thread it is mentioned multiple times, that there is an ability of using the updatable objects with Gateways and Management on R80.20.&lt;/P&gt;&lt;P&gt;Although the script can be used for other sources (i.e. API Export from IP Address Management), as long as the output there is CIDR formatted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2019 11:07:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/40848#M2765</guid>
      <dc:creator>Nüüül</dc:creator>
      <dc:date>2019-01-15T11:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Basic script for importing IP Address objects from feed (here office365)</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/68071#M4133</link>
      <description>&lt;P&gt;Re the environment variables, how about:&lt;/P&gt;&lt;P&gt;. /etc/profile.d/CP.sh&lt;/P&gt;&lt;P&gt;Note the space between the "." and the script name&lt;/P&gt;&lt;P&gt;Saves you having to update the script after upgrades as CP.sh always points to the correct file location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 02:34:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Basic-script-for-importing-IP-Address-objects-from-feed-here/m-p/68071#M4133</guid>
      <dc:creator>Paul_Hagyard</dc:creator>
      <dc:date>2019-11-22T02:34:28Z</dc:date>
    </item>
  </channel>
</rss>

