<?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: custom-url-category  replacement with XML-API in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44894#M1029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: 21pt;"&gt;You can use config edit API request to replace the entire list of urls in a url filtering profile with a new set of urls:&lt;/P&gt;&lt;P style="margin-left: 21pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Sabon LT Std','serif';"&gt;http(s)://hostname/api/?type=config&amp;amp;action=edit&amp;amp;xpath=/config/devices/entry/vsys/entry[@name='vsys1']/profiles/url-filtering/entry[@name='blocked-url-profile']&amp;amp;element=&amp;lt;entry name='blocked-url-profile'&amp;gt;&amp;lt;member&amp;gt;www.badsite.com&amp;lt;/member&amp;gt;&amp;lt;member&amp;gt;www.badsite2.com&amp;lt;/member&amp;gt;&amp;lt;/entry&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Aug 2012 06:25:13 GMT</pubDate>
    <dc:creator>SRA</dc:creator>
    <dc:date>2012-08-14T06:25:13Z</dc:date>
    <item>
      <title>custom-url-category  replacement with XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44893#M1028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be honest, the UI change for updating the custom-url-category in 4.03 threw us for a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We generate hundreds of domain names and IP addresses to block through our malware threat analysis system.&amp;nbsp; The old 3.19 interface of copy and paste the text worked fine for us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no "clear all" options for the new interface, I did manage to figure out the CLI way of doing it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; configure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; edit shared profiles custom-url-category OUR_Malware_Threat_List&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; delete list&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I can't find in any documentation is the path to the file and a way to automate deletion of the old list and importing the new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be most welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 20:41:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44893#M1028</guid>
      <dc:creator>MashRotor</dc:creator>
      <dc:date>2011-07-11T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: custom-url-category  replacement with XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44894#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-left: 21pt;"&gt;You can use config edit API request to replace the entire list of urls in a url filtering profile with a new set of urls:&lt;/P&gt;&lt;P style="margin-left: 21pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Sabon LT Std','serif';"&gt;http(s)://hostname/api/?type=config&amp;amp;action=edit&amp;amp;xpath=/config/devices/entry/vsys/entry[@name='vsys1']/profiles/url-filtering/entry[@name='blocked-url-profile']&amp;amp;element=&amp;lt;entry name='blocked-url-profile'&amp;gt;&amp;lt;member&amp;gt;www.badsite.com&amp;lt;/member&amp;gt;&amp;lt;member&amp;gt;www.badsite2.com&amp;lt;/member&amp;gt;&amp;lt;/entry&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2012 06:25:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44894#M1029</guid>
      <dc:creator>SRA</dc:creator>
      <dc:date>2012-08-14T06:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: custom-url-category  replacement with XML-API</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44895#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I described an approach that may fit your requirements here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="16433" __jive_macro_name="message" class="jive_macro jive_macro_message" href="https://live.paloaltonetworks.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Aug 2012 02:54:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-url-category-replacement-with-xml-api/m-p/44895#M1030</guid>
      <dc:creator>ksteves1</dc:creator>
      <dc:date>2012-08-15T02:54:25Z</dc:date>
    </item>
  </channel>
</rss>

