<?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: Using PLINK to script FMC to export AnyConnect users in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5081447#M1111787</link>
    <description>&lt;P&gt;Thank you for your response.&amp;nbsp; Set up a FlexObject that worked perfectly!&lt;/P&gt;</description>
    <pubDate>Sun, 28 Apr 2024 22:48:33 GMT</pubDate>
    <dc:creator>dpditstaff</dc:creator>
    <dc:date>2024-04-28T22:48:33Z</dc:date>
    <item>
      <title>Using PLINK to script FMC to export AnyConnect users</title>
      <link>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5080856#M1111743</link>
      <description>&lt;P&gt;We are trying to use PLINK to export a list of active AnyConnect users via TFTP to a text file that's then parsed and displayed via HTML.&lt;/P&gt;&lt;P&gt;We use a batch file with the following contents that calls a text file containing the required commands:&lt;/P&gt;&lt;P&gt;plink -ssh -l admin -pw IDpd#:!7763 165.206.243.61 -m FirePower-VPN-script.txt&lt;BR /&gt;pause&lt;/P&gt;&lt;P&gt;Contents of FirePower-VPN-Script.txt:&lt;/P&gt;&lt;P&gt;system support diagnostic-cli&lt;BR /&gt;enable&lt;BR /&gt;/r/n&lt;BR /&gt;show vpn-sessiondb anyconnect | redirect tftp://&amp;lt;TFTP Server IP Address&amp;gt;/Firepower-vpnconnections.txt&lt;BR /&gt;exit&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated or if there is another process we can use to schedule the export of the active AnyConnect sessions such as the api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 00:00:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5080856#M1111743</guid>
      <dc:creator>dpditstaff</dc:creator>
      <dc:date>2024-04-28T00:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using PLINK to script FMC to export AnyConnect users</title>
      <link>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5080908#M1111744</link>
      <description>&lt;P&gt;You can also run EEM script on FTD to export automatically every day 1:00am or desired timing or frequency&lt;/P&gt;
&lt;P&gt;example :&lt;/P&gt;
&lt;P&gt;event manager applet vpnsessiondb&lt;BR /&gt;description vpnsessiondb-export&lt;BR /&gt;event timer absolute time 00:01:00&lt;BR /&gt;action 1 cli command "show vpn-sessiondb anyconnect | redirect tftp://&amp;lt;TFTP Server IP Address&amp;gt;/Firepower-vpnconnections.txt"&lt;/P&gt;
&lt;P&gt;I have not played with API - you can use postman to see if you get output you looking and incorporate with your program to get data once it working.&lt;/P&gt;
&lt;H3 id="ariaid-title425" class="title topictitle3"&gt;GET remoteaccessvpns&lt;/H3&gt;
&lt;SECTION class="body refbody"&gt;
&lt;SECTION id="Cisco_Reference.dita_9dedf0aa-7511-41d9-88b2-210c2afa5e05__d953e25864" class="section"&gt;
&lt;P class="p"&gt;Request Type:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="keyword cmdname"&gt;GET&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p"&gt;Description: Retrieves the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;FTD&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;RA VPN topology associated with the specified ID. If no ID is specified for a GET, retrieves list of all&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ph"&gt;FTD&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;RA VPN topologies.&lt;/P&gt;
&lt;/SECTION&gt;
&lt;/SECTION&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you can check below :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70/Objects_In_The_REST_API.html#Cisco_Reference.dita_9dedf0aa-7511-41d9-88b2-210c2afa5e05" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/security/firepower/70/api/REST/firepower_management_center_rest_api_quick_start_guide_70/Objects_In_The_REST_API.html#Cisco_Reference.dita_9dedf0aa-7511-41d9-88b2-210c2afa5e05&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 05:48:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5080908#M1111744</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2024-04-28T05:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using PLINK to script FMC to export AnyConnect users</title>
      <link>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5081447#M1111787</link>
      <description>&lt;P&gt;Thank you for your response.&amp;nbsp; Set up a FlexObject that worked perfectly!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 22:48:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/using-plink-to-script-fmc-to-export-anyconnect-users/m-p/5081447#M1111787</guid>
      <dc:creator>dpditstaff</dc:creator>
      <dc:date>2024-04-28T22:48:33Z</dc:date>
    </item>
  </channel>
</rss>

