<?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: FMC API 6.2 - API access to Prefilter policies and rules in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186460#M929517</link>
    <description>&lt;P&gt;Thanks Marvin! That's actually really helpful&amp;nbsp;and may get me where I need to&amp;nbsp;go.&amp;nbsp;Hopefully Cisco decides to expose it via REST in the future, but I can definitely work with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help!&lt;/P&gt;</description>
    <pubDate>Wed, 20 Sep 2017 04:32:45 GMT</pubDate>
    <dc:creator>nosc</dc:creator>
    <dc:date>2017-09-20T04:32:45Z</dc:date>
    <item>
      <title>FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186396#M929512</link>
      <description>&lt;P&gt;Greetings -&lt;/P&gt;&lt;P&gt;I was wondering if there was a way to programmatically access the prefilter policies/rules via the REST API. I don't necessarily need to write to the database - a simple GET to the prefilter table and rules will suffice.&lt;/P&gt;&lt;P&gt;The REST documentation is good for the ACP, but I couldn't find anything regarding the prefilter rules.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 14:20:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186396#M929512</guid>
      <dc:creator>nosc</dc:creator>
      <dc:date>2020-02-21T14:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186452#M929516</link>
      <description>&lt;P&gt;I don't believe that's exposed via the API at this stage (i.e. as of FMC 6.2.2).&lt;/P&gt;
&lt;P&gt;The best you can do is screen scrape it using one of the ssh tools like Netmiko. The policy is stored in the file structure on the sensor in a place like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;./ngfw/var/sf/detection_engines/ea54a18a-92d2-11e7-8daf-2668033706e7/code/SF/Prefilter/PrefilterPolicy.pm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The long alphanumeric string in there is a GUID for your policy version. The parent directory contains all of the various policies as you can see here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;root@vftd-new:/# ls -al ./ngfw/Volume/6.2.2/sf/detection_engines/ea54a18a-92d2-11e7-8daf-2668033706e7/code/SF &lt;BR /&gt;total 144&lt;BR /&gt;drwxr-xr-x 17 root root 4096 Sep 18 12:50 .&lt;BR /&gt;drwxr-xr-x 4 root root 4096 Sep 18 12:50 ..&lt;BR /&gt;drwxr-xr-x 3 root root 4096 Sep 18 12:50 DNS&lt;BR /&gt;drwxr-xr-x 4 root root 4096 Sep 18 12:50 Files&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 GeoBlocking&lt;BR /&gt;drwxr-xr-x 3 root root 4096 Sep 18 12:50 IPReputation&lt;BR /&gt;drwxr-xr-x 5 root root 4096 Sep 18 12:50 Intrusion&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 ND&lt;BR /&gt;drwxr-xr-x 4 root root 4096 Sep 18 12:50 NGFW&lt;BR /&gt;drwxr-xr-x 4 root root 4096 Sep 18 12:50 NetworkAnalysis&lt;BR /&gt;-r--r--r-- 1 root root 76944 Sep 18 12:50 NetworkDiscovery.pm&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 Prefilter&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 QoS&lt;BR /&gt;drwxr-xr-x 6 root root 4096 Sep 18 12:50 RNA&lt;BR /&gt;drwxr-xr-x 6 root root 4096 Sep 18 12:50 SSL&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 System&lt;BR /&gt;drwxr-xr-x 2 root root 4096 Sep 18 12:50 Transaction&lt;BR /&gt;drwxr-xr-x 3 root root 4096 Sep 18 12:50 UMPD&lt;BR /&gt;root@vftd-new:/#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/169850"&gt;@Oliver Kaiser&lt;/a&gt;&amp;nbsp;may be able to shed some light as his blog has some tips for working with the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://dependencyhell.net/2017/07/09/Dumping-Firepower-ACP/" target="_blank"&gt;http://dependencyhell.net/2017/07/09/Dumping-Firepower-ACP/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 03:35:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186452#M929516</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2017-09-20T03:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186460#M929517</link>
      <description>&lt;P&gt;Thanks Marvin! That's actually really helpful&amp;nbsp;and may get me where I need to&amp;nbsp;go.&amp;nbsp;Hopefully Cisco decides to expose it via REST in the future, but I can definitely work with this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the help!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 04:32:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186460#M929517</guid>
      <dc:creator>nosc</dc:creator>
      <dc:date>2017-09-20T04:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186632#M929519</link>
      <description>&lt;P&gt;Glad it helped. Please mark the reply as helpful if you found it to be so.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 10:41:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186632#M929519</guid>
      <dc:creator>Marvin Rhoads</dc:creator>
      <dc:date>2017-09-20T10:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186664#M929520</link>
      <description>&lt;P&gt;As Marvin pointed out there is currently no way to get prefilter policy rules from the FMC REST API as of now. I checked the roadmap from mid 2017 and didnt find any information on when it will be added to the API... I think it will probably take one year since routing and nat will be implemented in the near future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Oliver&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 11:24:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/3186664#M929520</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2017-09-20T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/4041689#M1067465</link>
      <description>&lt;P&gt;FWIW it looks like the prefilter rest APIs are now exposed in 6.4.&amp;nbsp; I don't see anyway to write prefilter policies yet...&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/68664i2003FD3570389583/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 12:46:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/4041689#M1067465</guid>
      <dc:creator>Ty Rost</dc:creator>
      <dc:date>2020-03-06T12:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: FMC API 6.2 - API access to Prefilter policies and rules</title>
      <link>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/4042105#M1067490</link>
      <description>&lt;P&gt;You will need to upgrade to 6.5.0 - CRUD operations for prefilter rules have been added. See release notes for details:&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/650/relnotes/firepower-release-notes-650/features.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/650/relnotes/firepower-release-notes-650/features.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 08:25:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-api-6-2-api-access-to-prefilter-policies-and-rules/m-p/4042105#M1067490</guid>
      <dc:creator>Oliver Kaiser</dc:creator>
      <dc:date>2020-03-07T08:25:44Z</dc:date>
    </item>
  </channel>
</rss>

