Lab 2.7 - Creating an APM Policy - Update Initial Access Policy ---------------------------------------------------------------- In this section, you will add the CAC Auth Macro to the initial access policy and update the variable assignments. Task - Update the Initial Access Policy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #. Remove the **Logon Page** by click **X** above the box |image50| #. Click the **Delete** button |image51| #. Click the plus sign between **USG Warning Banner** and **Variable Assign** |image52| #. Select **Macros** across the top, select the **CAC AUTH** button in the main page, and click **Add Item** |image53| #. Click the **Variable Assign** box |image54| #. Click **change** on row 1 |image55| #. Make the following changes - Change the right hand pull down setting to **AAA Attribute** - Change the Agent Type to **LDAP** - Change the Attribute type to **USE LDAP attribute** - Set the LDAP attribute name to **dn** - Click **Finished** |image56| #. Click **Add new entry** |image57| #. Click **change** |image58| #. Make the following changes: - Update the field below Custom Variable with **session.logon.last.username** - Change the Custom Expression pull down to **AAA Attribute** - Change the Agent Type to **LDAP** - Change the Attribute type to **Use LDAP attribute** - Set the LDAP attribute name to **sAMAccountName** - Click **Finished** |image59| #. Click the down arrow on row 1 to move the Assignment to the second row, and click **Save** |image150| |image153| .. note:: Here is the completed initial policy |image151| #. Click **Apply Access Policy** |image152| .. |image50| image:: /_static/module2/image050.png .. |image51| image:: /_static/module2/image051.png .. |image52| image:: /_static/module2/image052.png .. |image53| image:: /_static/module2/image053.png .. |image54| image:: /_static/module2/image054.png .. |image55| image:: /_static/module2/image055.png .. |image56| image:: /_static/module2/image056.png .. |image57| image:: /_static/module2/image057.png .. |image58| image:: /_static/module2/image058.png .. |image59| image:: /_static/module2/image059.png .. |image150| image:: /_static/module2/image150.png .. |image151| image:: /_static/module2/image151.png .. |image152| image:: /_static/module2/image152.png .. |image153| image:: /_static/module2/image153.png