<?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 User-ID XML API to get data? in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30165#M757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can poll the firewall for its current list of mappings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ curl -k "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://192.168.33.2/api/?type=op&amp;amp;cmd="&gt;https://x.x.x.x/api/?type=op&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;show&amp;gt;&amp;lt;user&amp;gt;&amp;lt;ip-user-mapping&amp;gt;&amp;lt;all&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/ip-user-mapping&amp;gt;&amp;lt;/user&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=INSERT_API_KEY_HERE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from any machine with curl and it outputs all of the mappings on the firewall. It's not polling the agent, but it's close and will probably suffice for what you're wanting. Note, you'll have to have XML API setup, and you'll need to insert your own firewall's IP and XML API key in the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jason Seals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 17:52:39 GMT</pubDate>
    <dc:creator>jseals</dc:creator>
    <dc:date>2012-04-02T17:52:39Z</dc:date>
    <item>
      <title>Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30162#M754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to use User-ID xml api to get data from User-ID agent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 12:13:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30162#M754</guid>
      <dc:creator>aigarkais</dc:creator>
      <dc:date>2011-03-04T12:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30163#M755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there isn't. The User-ID XML API is designed to feed User-IP information into the Agent and the firewall, but not to retrieve any data. Out of curiousity, may I still ask what you are trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2011 21:40:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30163#M755</guid>
      <dc:creator>mwalter</dc:creator>
      <dc:date>2011-03-14T21:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30164#M756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know about &lt;A href="https://live.paloaltonetworks.com/people/aigarkais" id="jive-29013,737,117,447,997,901"&gt;aigarkais&lt;/A&gt; but I would like to be able to get data from the agent so I can do user-id to IP lookups without having to log into a PAN device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A tool like that would be useful to a number of IT groups for supporting users. Currently, if support needs to do a remote login to a workstation, they need to ask the user what their IP address is. If the user is not very knowledgable about computers, this can be a frustrating task for both the user and the support person. Leveraging the user-id agent to lookup the mapping would make a lot of people happy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 16:41:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30164#M756</guid>
      <dc:creator>yesitisme_007</dc:creator>
      <dc:date>2012-04-02T16:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30165#M757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can poll the firewall for its current list of mappings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to run:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ curl -k "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://192.168.33.2/api/?type=op&amp;amp;cmd="&gt;https://x.x.x.x/api/?type=op&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;show&amp;gt;&amp;lt;user&amp;gt;&amp;lt;ip-user-mapping&amp;gt;&amp;lt;all&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/ip-user-mapping&amp;gt;&amp;lt;/user&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=INSERT_API_KEY_HERE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from any machine with curl and it outputs all of the mappings on the firewall. It's not polling the agent, but it's close and will probably suffice for what you're wanting. Note, you'll have to have XML API setup, and you'll need to insert your own firewall's IP and XML API key in the above command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Jason Seals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 17:52:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30165#M757</guid>
      <dc:creator>jseals</dc:creator>
      <dc:date>2012-04-02T17:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30166#M758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the wget equivalent if you'd prefer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;wget --no-check-certificate "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://192.168.33.2/api/?type=op&amp;amp;cmd="&gt;https://x.x.x.x/api/?type=op&amp;amp;cmd=&lt;/A&gt;&lt;SPAN&gt;&amp;lt;show&amp;gt;&amp;lt;user&amp;gt;&amp;lt;ip-user-mapping&amp;gt;&amp;lt;all&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/ip-user-mapping&amp;gt;&amp;lt;/user&amp;gt;&amp;lt;/show&amp;gt;&amp;amp;key=INSERT_API_KEY_HERE"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the wget finishes, you'll just need to view the contents of the index file it pulls down as that contains the user info it pulled from the firewall.&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;Jason Seals&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 18:00:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30166#M758</guid>
      <dc:creator>jseals</dc:creator>
      <dc:date>2012-04-02T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30167#M759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm curious as to how to set this information. Using the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;mgmt ip&amp;gt;/api API browser, I don't see where or how I may set this information. Using IMAP/POP3 logs, I have a plethora of IP&amp;lt;-&amp;gt;username mappings - just need to know how to get them into our 2050.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 20:01:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30167#M759</guid>
      <dc:creator>sps186</dc:creator>
      <dc:date>2012-04-09T20:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30168#M760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Disregard -- I've found ye olde DOC-1348.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 20:17:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30168#M760</guid>
      <dc:creator>sps186</dc:creator>
      <dc:date>2012-04-09T20:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using User-ID XML API to get data?</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30169#M761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We send syslog data from our PA devices that include the username field populated and the IP address they're coming from, and we heavily use our SIEM to normalize that data to provide username-IP mappings all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could build a home grown web interface search that could search a syslog server's logs and return username-IP mappings. Or use something like ELSA and get web access to your PA logs that way:&lt;/P&gt;&lt;P&gt;&lt;A href="http://code.google.com/p/enterprise-log-search-and-archive/" title="http://code.google.com/p/enterprise-log-search-and-archive/"&gt;enterprise-log-search-and-archive - Enterprise log search and archive (ELSA) is an industrial-strength solution for ce…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 20:01:56 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-user-id-xml-api-to-get-data/m-p/30169#M761</guid>
      <dc:creator>ericgearhart</dc:creator>
      <dc:date>2013-09-05T20:01:56Z</dc:date>
    </item>
  </channel>
</rss>

