<?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 Using the API to refresh the group mapping cache in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1467#M26</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way using the Rest API to refresh the group mapping cache?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using AD groups where possible to control access in policies, and the system refreshes every hour but sometimes this is too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the CLI command to do this but would like to set this up with the API if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eugeneoup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Mar 2013 05:30:02 GMT</pubDate>
    <dc:creator>eugenep</dc:creator>
    <dc:date>2013-03-28T05:30:02Z</dc:date>
    <item>
      <title>Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1467#M26</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way using the Rest API to refresh the group mapping cache?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're using AD groups where possible to control access in policies, and the system refreshes every hour but sometimes this is too long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the CLI command to do this but would like to set this up with the API if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Eugeneoup&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 05:30:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1467#M26</guid>
      <dc:creator>eugenep</dc:creator>
      <dc:date>2013-03-28T05:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1468#M27</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I think all commands are possible... there is a thread describing on how to map CLI commands into REST API... will return when I find this thread (unless someone else is quicker than me &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>Thu, 28 Mar 2013 21:14:46 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1468#M27</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-03-28T21:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1469#M28</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not the thread I had in mind but this should answer your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://live.paloaltonetworks.com/docs/DOC-4126" title="https://live.paloaltonetworks.com/docs/DOC-4126"&gt;https://live.paloaltonetworks.com/docs/DOC-4126&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;2.4 Operational Commands&amp;nbsp; &lt;/P&gt;&lt;P&gt;Beginning with PAN-OS 4.1.0, you can use any of the operational commands available on the command line &lt;/P&gt;&lt;P&gt;interface using the Op API request below: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=xml-body &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the API browser and follow the link for operational commands to see a complete listing of all the &lt;/P&gt;&lt;P&gt;different options available for the xml-body and their corresponding operation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examples of operational API requests include setting, showing, or clearing runtime parameters, saving and &lt;/P&gt;&lt;P&gt;loading configurations to disk, retrieving interface or system information, etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To request a system restart, use: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;restart&amp;gt;&amp;lt;system&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/restart&amp;gt;&amp;lt;/request&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To install system software version 4.1.0, use: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;request&amp;gt;&amp;lt;system&amp;gt;&amp;lt;software&amp;gt;&amp;lt;install&amp;gt;&amp;lt;version&amp;gt;4.1.0&amp;lt;/version&amp;gt;&amp;lt;/install&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/software&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/request&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To set the system setting to turn on multi-vsys mode, use: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;set&amp;gt;&amp;lt;system&amp;gt;&amp;lt;setting&amp;gt;&amp;lt;multi-vsys&amp;gt;&amp;lt;/multi-&lt;/P&gt;&lt;P&gt;vsys&amp;gt;&amp;lt;/setting&amp;gt;&amp;lt;/system&amp;gt;&amp;lt;/set&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To schedule a User Activity Report, use: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;schedule&amp;gt;&amp;lt;uar-&lt;/P&gt;&lt;P&gt;report&amp;gt;&amp;lt;user&amp;gt;username&amp;lt;/user&amp;gt;&amp;lt;title&amp;gt;titlename&amp;lt;/title&amp;gt;&amp;lt;/uar-report&amp;gt;&amp;lt;/schedule&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To save or load config to/from a file, use: &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;save&amp;gt;&amp;lt;config&amp;gt;&amp;lt;to&amp;gt;filename&amp;lt;/to&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/save&amp;gt;, and &lt;/P&gt;&lt;P&gt;http(s)://hostname/api/?type=op&amp;amp;cmd=&amp;lt;load&amp;gt;&amp;lt;config&amp;gt;&amp;lt;from&amp;gt;filename&amp;lt;/from&amp;gt;&amp;lt;/config&amp;gt;&amp;lt;/load&amp;gt; &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;The API browser is available at http(s)://hostname/api. You need to be logged in to the device’s WebUI to be &lt;/P&gt;&lt;P&gt;able to view the API browser. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use API browser to navigate different API requests that are available for use. For configuration &lt;/P&gt;&lt;P&gt;commands, you can navigate to any path and view the corresponding xpath and API URL on the browser.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Configuration commands, you can navigate to a specific command to see its xpath.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Operational commands and Commit commands, you can navigate to a specific command to see the xml &lt;/P&gt;&lt;P&gt;body to use for the cmd parameter. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reports, you can view the report names for all the supported dynamic and predefined reports.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 22:22:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1469#M28</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-03-28T22:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1470#M29</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help but I'm after a debug command, specifically this one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;debug user-id refresh group-mapping group-mapping-name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I couldn't find this in the thread you supplied and any documentation or anywhere in the Discussions, just thought I'd check here before ruling it out completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 23:23:49 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1470#M29</guid>
      <dc:creator>eugenep</dc:creator>
      <dc:date>2013-04-01T23:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1471#M30</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;panip&amp;gt;/debug ? &lt;/SPAN&gt;:smileysilly:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I have no idea, tried support@ in case noone in here is able to help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I guess this didnt work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;panip&amp;gt;/api/?type=op&amp;amp;cmd=&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;debug&amp;gt;&amp;lt;user-id&amp;gt;&amp;lt;refresh&amp;gt;&amp;lt;group-mapping&amp;gt;&amp;lt;group-mapping-name&amp;gt;&amp;lt;/group-mapping-name&amp;gt;&amp;lt;/&lt;/EM&gt;&lt;EM&gt;group-mapping&amp;gt;&amp;lt;/&lt;/EM&gt;&lt;EM&gt;refresh&amp;gt;&amp;lt;/&lt;/EM&gt;&lt;EM&gt;user-id&amp;gt;&amp;lt;/&lt;/EM&gt;&lt;EM&gt;debug&amp;gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:15:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1471#M30</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-04-02T03:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1472#M31</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Debug commands are not among the &amp;lt;op&amp;gt; commands that are exposed via the API.&amp;nbsp; If you search for PAN-Perl there is an expect based CLI tool for remotely executing CLI commands on the firewall that will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:23:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1472#M31</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2013-04-02T03:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1473#M32</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh snap!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How come?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:28:50 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1473#M32</guid>
      <dc:creator>mikand</dc:creator>
      <dc:date>2013-04-02T03:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1474#M33</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are lots of debug commands that can impact the performance of the device significantly so they limit what is exposed, the correct handling of this is to map it to a corresponding &amp;lt;op&amp;gt; command that makes sense like request user-id refresh (dp-uid-gid | group-mapping | user-id).&amp;nbsp; I think that is an excellent Feature Request!&amp;nbsp; I can bring it up to the User-ID Product Manager if you would like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:37:18 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1474#M33</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2013-04-02T03:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1475#M34</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try something similar in the API browser to see what works but it didn't come back with anything useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyways &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:47:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1475#M34</guid>
      <dc:creator>eugenep</dc:creator>
      <dc:date>2013-04-02T03:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1476#M35</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, can you please put that in as a Feature Request.&amp;nbsp; Let me know if I should also bring it to the attention of my local PAN guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:48:07 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1476#M35</guid>
      <dc:creator>eugenep</dc:creator>
      <dc:date>2013-04-02T03:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1477#M36</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; Yes you should have them flag it as well - you can have them reach out to me for additional details (I'm at corporate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 03:50:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1477#M36</guid>
      <dc:creator>mbenoit</dc:creator>
      <dc:date>2013-04-02T03:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using the API to refresh the group mapping cache</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1478#M37</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks I've let them know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 04:19:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/using-the-api-to-refresh-the-group-mapping-cache/m-p/1478#M37</guid>
      <dc:creator>eugenep</dc:creator>
      <dc:date>2013-04-02T04:19:19Z</dc:date>
    </item>
  </channel>
</rss>

