<?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: Import Multiple URLs to FirePower in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679621#M1017368</link>
    <description>&lt;P&gt;I used excel and notepad++ to do this in my case. Place all the urls in one column in Excel and use the&amp;nbsp;SUBSTITUTE&amp;nbsp;function to replace the string "REPLACE" with the actual URL in the following block.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"type": "Url",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"url": "REPLACE&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use notepad++ to clean this out last "," and add remaining blocks.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Aug 2018 01:45:00 GMT</pubDate>
    <dc:creator>Rahul Govindan</dc:creator>
    <dc:date>2018-08-02T01:45:00Z</dc:date>
    <item>
      <title>Import Multiple URLs to FirePower</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066875#M1017358</link>
      <description>&lt;P&gt;Is there still no way to import multiple URLs into a firepower policy??? &amp;nbsp;I have over 100 I need to enter and will need to update. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 13:16:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066875#M1017358</guid>
      <dc:creator>TDBAKERJR</dc:creator>
      <dc:date>2019-03-12T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Yes you are right there is no</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066876#M1017359</link>
      <description>&lt;P&gt;Yes you are right there is no direct way to import a object file with multiple URL's on one go. If you want to block or permit certain url's then you have to do that manually otherwise if you want you can do that based on url categories .&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:52:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066876#M1017359</guid>
      <dc:creator>syeda3</dc:creator>
      <dc:date>2017-01-27T20:52:40Z</dc:date>
    </item>
    <item>
      <title>You can have only Security</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066877#M1017362</link>
      <description>&lt;P&gt;You can have only Security Intelligence for URL List / Feed in Objects...&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Does it help? Or to have URL group objects...&lt;/P&gt;</description>
      <pubDate>Sun, 29 Jan 2017 14:00:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3066877#M1017362</guid>
      <dc:creator>Claudiu Cismaru</dc:creator>
      <dc:date>2017-01-29T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Yes you are right there is no</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3367633#M1017363</link>
      <description>&lt;P&gt;Cisco really needs to come up with a way for us to do a bulk upload. I copy/pasted 300 urls today as a part of a migration we are doing. We operate in a very restrictive environment and only allow explicit access. Categories and Whitelists will not work for this.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 20:43:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3367633#M1017363</guid>
      <dc:creator>rbrissey1</dc:creator>
      <dc:date>2018-04-17T20:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Import Multiple URLs to FirePower</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3404271#M1017364</link>
      <description>&lt;P&gt;You can use the REST API to do this (and other bulk operations) relatively easily.&lt;/P&gt;
&lt;P&gt;Useful links:&lt;/P&gt;
&lt;P&gt;https://&amp;lt;FMC IP&amp;gt;/api/api-explorer/#featureect/urlgroups_POST&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and Google&lt;/P&gt;
&lt;P&gt;You can use Postman for more complicated things but the built in GUI works fine for a lot of things. I just used this method to create a URL group with 500 entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of the JSON you'd post in the API console body at&amp;nbsp;&lt;SPAN&gt;https://&amp;lt;FMC IP&amp;gt;/api/api-explorer&lt;/SPAN&gt;&lt;SPAN&gt;/#featureect/urlgroups_POST:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt; "name": "testurlgroup",&lt;BR /&gt; "literals": [&lt;BR /&gt; {&lt;BR /&gt; "type": "Url",&lt;BR /&gt; "url": "&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "type": "Url",&lt;BR /&gt; "url": "&lt;A href="http://www.cisco.com" target="_blank"&gt;www.cisco.com&lt;/A&gt;"&lt;BR /&gt; }&lt;BR /&gt; ],&lt;BR /&gt; "type": "UrlGroup"&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jun 2018 22:42:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3404271#M1017364</guid>
      <dc:creator>noisey_uk</dc:creator>
      <dc:date>2018-06-22T22:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Import Multiple URLs to FirePower</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679475#M1017366</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/321107"&gt;@noisey_uk&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You can use the REST API to do this (and other bulk operations) relatively easily.&lt;/P&gt;
&lt;P&gt;Useful links:&lt;/P&gt;
&lt;P&gt;https://&amp;lt;FMC IP&amp;gt;/api/api-explorer/#featureect/urlgroups_POST&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/ftd-api/guide/ftd-rest-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and Google&lt;/P&gt;
&lt;P&gt;You can use Postman for more complicated things but the built in GUI works fine for a lot of things. I just used this method to create a URL group with 500 entries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of the JSON you'd post in the API console body at&amp;nbsp;&lt;SPAN&gt;https://&amp;lt;FMC IP&amp;gt;/api/api-explorer&lt;/SPAN&gt;&lt;SPAN&gt;/#featureect/urlgroups_POST:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;{&lt;BR /&gt; "name": "testurlgroup",&lt;BR /&gt; "literals": [&lt;BR /&gt; {&lt;BR /&gt; "type": "Url",&lt;BR /&gt; "url": "&lt;A href="http://www.google.com" target="_blank"&gt;www.google.com&lt;/A&gt;"&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; "type": "Url",&lt;BR /&gt; "url": "&lt;A href="http://www.cisco.com" target="_blank"&gt;www.cisco.com&lt;/A&gt;"&lt;BR /&gt; }&lt;BR /&gt; ],&lt;BR /&gt; "type": "UrlGroup"&lt;BR /&gt;}&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Thank you for this! Been banging my head against the wall trying to figure out how to use this API stuff. Question though. I have a Word Document full of URLs that I need to enter into this. Copy and pasting them into this JSON format to POST into the API is just as time consuming as manually inputting them in the GUI. Anyone know an easy way to transfer a couple hundred URLs from a Word Document into the above JSON Format ready to POST into the FirePower API?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 19:27:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679475#M1017366</guid>
      <dc:creator>Joshua Schroth</dc:creator>
      <dc:date>2018-08-01T19:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Import Multiple URLs to FirePower</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679484#M1017367</link>
      <description>&lt;P&gt;I've actually changed from using Postman to scripting in Python for interacting with the Firepower API. It's pretty frustrating and took me about a day to script something which updated the Intrusion Policy applied to bulk rules.&amp;nbsp; But once you get your head around it, it's pretty powerful. You could also use Python to parse your Word document into the JSON format as part of this. I know that's not the quick, easy fix you were probably looking for, but APIs are the future and Python is fast becoming the standard to leverage them... so now's an ideal time for you to start.&lt;/P&gt;
&lt;P&gt;If someone important in Cisco reads this: it would be &lt;STRONG&gt;really&lt;/STRONG&gt; useful if you could provide some sample Python scripts for common tasks like this. With good inline, critically peer-reviewed comments.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 19:42:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679484#M1017367</guid>
      <dc:creator>noisey_uk</dc:creator>
      <dc:date>2018-08-01T19:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Import Multiple URLs to FirePower</title>
      <link>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679621#M1017368</link>
      <description>&lt;P&gt;I used excel and notepad++ to do this in my case. Place all the urls in one column in Excel and use the&amp;nbsp;SUBSTITUTE&amp;nbsp;function to replace the string "REPLACE" with the actual URL in the following block.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"type": "Url",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"url": "REPLACE&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;},&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then use notepad++ to clean this out last "," and add remaining blocks.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 01:45:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/import-multiple-urls-to-firepower/m-p/3679621#M1017368</guid>
      <dc:creator>Rahul Govindan</dc:creator>
      <dc:date>2018-08-02T01:45:00Z</dc:date>
    </item>
  </channel>
</rss>

