<?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 FMC and audit via API in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4107694#M1</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm auditing access control policies changes by clicking on &lt;STRONG&gt;System &amp;gt; Monitoring - Audit &amp;gt; Audit&lt;/STRONG&gt; and searching for the last 30 days with changes on the following subsystem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Policies &amp;gt; Access Control &amp;gt; Access Control &amp;gt; Firewall Policy Editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this, I get a table with time and date, user, what policy was changed and also the IP of the user who performed the change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a hard time trying to guess how can I fetch this same table via REST API. Anyone ever tried this?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jun 2020 00:05:03 GMT</pubDate>
    <dc:creator>renanhingel</dc:creator>
    <dc:date>2020-06-23T00:05:03Z</dc:date>
    <item>
      <title>FMC and audit via API</title>
      <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4107694#M1</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm auditing access control policies changes by clicking on &lt;STRONG&gt;System &amp;gt; Monitoring - Audit &amp;gt; Audit&lt;/STRONG&gt; and searching for the last 30 days with changes on the following subsystem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Policies &amp;gt; Access Control &amp;gt; Access Control &amp;gt; Firewall Policy Editor&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With this, I get a table with time and date, user, what policy was changed and also the IP of the user who performed the change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a hard time trying to guess how can I fetch this same table via REST API. Anyone ever tried this?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 00:05:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4107694#M1</guid>
      <dc:creator>renanhingel</dc:creator>
      <dc:date>2020-06-23T00:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: FMC and audit via API</title>
      <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4107734#M2</link>
      <description>&lt;P&gt;I am able to query the same using the endpoint -&lt;/P&gt;
&lt;PRE class="microlight"&gt;/api/fmc_platform/v1/domain/{UUID}/audit/auditrecords&lt;/PRE&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;A sample response -&lt;/P&gt;
&lt;PRE class=" microlight"&gt;&lt;SPAN style="color: #555;"&gt;"items"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN&gt;[&lt;/SPAN&gt;
    &lt;SPAN&gt;{&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"time"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555; font-weight: bold;"&gt;1592881189&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555;"&gt;"Page View:"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"username"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555;"&gt;"admin"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"subSystem"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555;"&gt;"Policies &amp;gt; Access Control &amp;gt; Access Control &amp;gt; Firewall Policy Editor"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"source"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555;"&gt;"&amp;lt;IP ADDR&amp;gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;
      &lt;SPAN style="color: #555;"&gt;"domain"&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt; &lt;SPAN style="color: #555;"&gt;"&amp;lt;UUID&amp;gt;"&lt;/SPAN&gt;
    &lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Is there a specific difficulty that you are facing here?&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 03:55:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4107734#M2</guid>
      <dc:creator>Manoj Papisetty</dc:creator>
      <dc:date>2020-06-23T03:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: FMC and audit via API</title>
      <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172128#M3</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Sorry for the huge delay in responding, had issues with my API access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When issuing a GET request to the endpoint:&lt;/P&gt;&lt;PRE&gt;/api/fmc_platform/v1/domain/{UUID}/audit/auditrecords?expanded=true&lt;/PRE&gt;&lt;P&gt;I get all sorts of audit messages and I'm aiming to obtain only the following subsystem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"subSystem": "Policies &amp;gt; Access Control &amp;gt; Access Control &amp;gt; Firewall Policy Editor"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you managed to accomplish that?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Renan&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 21:34:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172128#M3</guid>
      <dc:creator>renanhingel</dc:creator>
      <dc:date>2020-10-22T21:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: FMC and audit via API</title>
      <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172158#M4</link>
      <description>&lt;P&gt;Ok I have fiddled with the API some and now I understand I can make the GET call with the filter I need by using the endpoint below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/api/fmc_platform/v1/domain/{UUID}/audit/auditrecords?offset=0&amp;amp;limit=1000&amp;amp;starttime=1599007779&amp;amp;subsystem=Policies&amp;amp;expanded=true&lt;/PRE&gt;&lt;P&gt;The trick was add &lt;STRONG&gt;&amp;amp;subsystem=Policies&lt;/STRONG&gt; to my request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 23:03:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172158#M4</guid>
      <dc:creator>renanhingel</dc:creator>
      <dc:date>2020-10-22T23:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: FMC and audit via API</title>
      <link>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172250#M5</link>
      <description>&lt;P&gt;Glad that it is working now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 02:50:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/fmc-and-audit-via-api/m-p/4172250#M5</guid>
      <dc:creator>Manoj Papisetty</dc:creator>
      <dc:date>2020-10-23T02:50:48Z</dc:date>
    </item>
  </channel>
</rss>

