<?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: Automating the changing of the AUP page on the Hotspot Portal in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4719395#M578160</link>
    <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/317086"&gt;@Charlie Moreton&lt;/a&gt;&amp;nbsp;I just to work on this yesterday and it worked like a dream. It is really impressive. Thanks for all your patience and your help.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 16:07:00 GMT</pubDate>
    <dc:creator>Anthony O'Reilly</dc:creator>
    <dc:date>2022-11-10T16:07:00Z</dc:date>
    <item>
      <title>Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4707997#M577883</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have a two-node ISE deployment, version 3.1.0.518 Patch 3.&lt;/P&gt;
&lt;P&gt;We have a customer that has a Hot-Spot portal which grants Internet access. The portal is setup with a PIN on the AUP page. When someone accesses the portal, they need to enter the PIN to allow them access to the Internet.&lt;/P&gt;
&lt;P&gt;They have a requirement to change the PIN on the AUP page on a weekly basis.&lt;/P&gt;
&lt;P&gt;Is it possible to automatically create a new PIN and email to a distribution list weekly? Their deployment is integrated with the Active Directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 08:31:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4707997#M577883</guid>
      <dc:creator>Anthony O'Reilly</dc:creator>
      <dc:date>2022-10-24T08:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4708190#M577896</link>
      <description>&lt;P&gt;API is the way to go!&amp;nbsp; You can use the &lt;STRONG&gt;PUT&lt;/STRONG&gt; request to automate the changing of the access code.&amp;nbsp; I show how to do this in the video linked below.&amp;nbsp; I use the &lt;STRONG&gt;PATCH&lt;/STRONG&gt; command that was introduced in 3.2, and while this &lt;EM&gt;does&lt;/EM&gt; make the process much simpler, I also show what is needed to use the PUT command for those versions older than 3.2.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=9WANTAHZXBI" target="_self"&gt;Cisco ISE Simplifies API updates using the 'PATCH' method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see examples and instructions for all things API in ISE at&amp;nbsp;&lt;A href="https://cs.co/ise-api" target="_self"&gt;https://cs.co/ise-api&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:47:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4708190#M577896</guid>
      <dc:creator>Charlie Moreton</dc:creator>
      <dc:date>2022-10-24T14:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4708228#M577900</link>
      <description>Thanks Charlie, this looks really interesting. I will have a look over the next few days and let you know.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Oct 2022 16:06:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4708228#M577900</guid>
      <dc:creator>Anthony O'Reilly</dc:creator>
      <dc:date>2022-10-24T16:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4709540#M577907</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/317086"&gt;@Charlie Moreton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your youtube video is very good. Do you have a location when all your commands are? It will save me typing them out incorrectly. It looks like I am going to have to use the UPDATE command instead of PATCH. Do you have an example for the UPDATE for changing the AUP code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Anthony.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 15:35:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4709540#M577907</guid>
      <dc:creator>Anthony O'Reilly</dc:creator>
      <dc:date>2022-10-25T15:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4711125#M577937</link>
      <description>&lt;P&gt;I don't have a repository set up.&lt;/P&gt;
&lt;P&gt;First, perform a GET request to get the object ID for your Hotspot Portal&lt;/P&gt;
&lt;PRE&gt;curl --include --insecure --location \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--user $ise_username:$ise_password \&lt;BR /&gt;--request GET &amp;nbsp;https://$ise_cloud/ers/config/hotspotportal&lt;/PRE&gt;
&lt;P&gt;Then, using the results perform another GET request to get ALL the settings from your portal:&lt;/P&gt;
&lt;PRE&gt;curl --include --insecure --location \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--user $ise_username:$ise_password \&lt;BR /&gt;--request GET &amp;nbsp;https://$ise_cloud/ers/config/hotspotportal/75a5bf99-ce47-422f-8f97-4f9ab4dc67f3&lt;/PRE&gt;
&lt;P&gt;Using these results (and you have to use ALL the results.&amp;nbsp; With the PUT request, any value that is missing is an assumed delete for that value), submit a PUT request&lt;/P&gt;
&lt;PRE&gt;curl --include --insecure --location \&lt;BR /&gt;--header 'Content-Type:application/json' \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--user $ise_username:$ise_password \&lt;BR /&gt;--request PUT https://$ise_cloud/ers/config/hotspotportal/75a5bf99-ce47-422f-8f97-4f9ab4dc67f3 \&lt;BR /&gt;--data '{&lt;BR /&gt;    "HotspotPortal": {&lt;BR /&gt;        "name": "Hotspot Guest Portal",&lt;BR /&gt;        "description": "Guests do not require username and password credentials to access the network, but you can optionally require an access code",&lt;BR /&gt;        "portalType": "HOTSPOTGUEST",&lt;BR /&gt;        "settings": {&lt;BR /&gt;            "portalSettings": {&lt;BR /&gt;            "httpsPort": 8443,&lt;BR /&gt;            "allowedInterfaces": [&lt;BR /&gt;                "eth0",&lt;BR /&gt;                "bond0"&lt;BR /&gt;            ],&lt;BR /&gt;            "certificateGroupTag": "Default Portal Certificate Group",&lt;BR /&gt;            "endpointIdentityGroup": "aa178bd0-8bff-11e6-996c-525400b48521",&lt;BR /&gt;            "coaType": "COAREAUTHENTICATE",&lt;BR /&gt;            "displayLang": "USEBROWSERLOCALE",&lt;BR /&gt;            "fallbackLanguage": "English",&lt;BR /&gt;            "alwaysUsedLanguage": "English"&lt;BR /&gt;        },&lt;BR /&gt;        "aupSettings": {&lt;BR /&gt;            "includeAup": true,&lt;BR /&gt;            "requireScrolling": false&lt;BR /&gt;&lt;STRONG&gt;            "requireAccessCode": true,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;            "accessCode": "ISEisC00L"&lt;/STRONG&gt;&lt;BR /&gt;        },&lt;BR /&gt;        "postAccessBannerSettings": {&lt;BR /&gt;            "includePostAccessBanner": false&lt;BR /&gt;        },&lt;BR /&gt;        "authSuccessSettings": {&lt;BR /&gt;            "successRedirect": "AUTHSUCCESSPAGE"&lt;BR /&gt;        },&lt;BR /&gt;        "supportInfoSettings": {&lt;BR /&gt;            "includeSupportInfoPage": false,&lt;BR /&gt;           &amp;nbsp;"includeMacAddr": true,&lt;BR /&gt;            "includeIpAddress": true,&lt;BR /&gt;            "includeBrowserUserAgent": true,&lt;BR /&gt;            "includePolicyServer": true,&lt;BR /&gt;            "includeFailureCode": true,&lt;BR /&gt;            "emptyFieldDisplay": "HIDE"&lt;BR /&gt;        }&lt;BR /&gt;    },&lt;BR /&gt;    "customizations": {&lt;BR /&gt;        "portalTheme": {&lt;BR /&gt;            "id": "9eb421c0-8c01-11e6-996c-525400b48521",&lt;BR /&gt;            "name": "Default Blue theme"&lt;BR /&gt;        },&lt;BR /&gt;        "language": {&lt;BR /&gt;            "viewLanguage": "English"&lt;BR /&gt;        },&lt;BR /&gt;&lt;BR /&gt;#######################################################################################################################&lt;BR /&gt;#######################################################################################################################&lt;BR /&gt;#######################################################################################################################&lt;BR /&gt;Content removed for space&lt;/PRE&gt;
&lt;P&gt;The values you need are under&amp;nbsp;"aupSettings", I have made them bold.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;DO NOT&lt;/STRONG&gt; copy/use the code above as it is only partial and will result in deleting elements from your portal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 16:30:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4711125#M577937</guid>
      <dc:creator>Charlie Moreton</dc:creator>
      <dc:date>2022-10-26T16:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Automating the changing of the AUP page on the Hotspot Portal</title>
      <link>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4719395#M578160</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/317086"&gt;@Charlie Moreton&lt;/a&gt;&amp;nbsp;I just to work on this yesterday and it worked like a dream. It is really impressive. Thanks for all your patience and your help.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 16:07:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/automating-the-changing-of-the-aup-page-on-the-hotspot-portal/m-p/4719395#M578160</guid>
      <dc:creator>Anthony O'Reilly</dc:creator>
      <dc:date>2022-11-10T16:07:00Z</dc:date>
    </item>
  </channel>
</rss>

