Policies : Policies > Authentication : Building Blocks of an Authentication Policy Rule

Building Blocks of an Authentication Policy Rule
Whenever a user requests a resource (such as when visiting a web page), the firewall evaluates Authentication policy. Based on the matching policy rule, the firewall then prompts the user to respond to one or more challenges of different factors (types), such as login and password, voice, SMS, push, or one-time password (OTP) authentication. After the user responds to all the factors, the firewall evaluates Security policy (see Policies > Security) to determine whether to allow access to the resource.
Note: 
*
The firewall does not prompt users to authenticate if they access non-web-based resources (such as a printer) through a GlobalProtect™ gateway that is internal or in tunnel mode. Instead, the users will see connection failure messages. To ensure users can access these resources, set up an authentication portal and train users to visit it when they see connection failures. Consult your IT department to set up an authentication portal.
The following table describes each building block or component in an Authentication policy rule. Before you Add a rule, complete the prerequisites described in Create and Manage Authentication Policy.
Each rule is automatically numbered and the order changes as rules are moved. When you filter rules to match specific filters, the Policies > Authentication page lists each rule with its number in the context of the complete set of rules in the rulebase and its place in the evaluation order. For details, see rule sequence and its evaluation order.
View previous Audit Comments for the policy rule. You can export the Audit Comment Archive in CSV format.
Note:
If you select this option, you must select an address object that contains the source IP addresses of your trusted devices, a custom URL category that contains the destination IP addresses of your trusted devices, or both.
Add zones to apply the rule only to traffic coming from interfaces in the zones that you specify (default is any).
Add addresses or address groups to apply the rule only to traffic originating from the sources that you specify (default is any).
Select Negate to choose any address except the selected ones.
•
any—Includes any traffic regardless of source user.
•
pre-logon—Includes remote users who are not logged into their client systems but whose client systems connect to the network through the GlobalProtect pre-logon feature.
•
known-user—Includes all users for whom the firewall already has IP address-to-username mappings before the rule evokes authentication.
•
unknown—Includes all users for whom the firewall does not have IP address-to-username mappings. After the rule evokes authentication, the firewall creates user mappings for unknown users based on the usernames they entered.
•
Select—Includes only the users and user groups that you Add to the Source User list.
Note: 
Add host information profiles (HIP) to enable you to collect information about the security status of your end hosts, such as whether they have the latest security patches and antivirus definitions. For details and to define new HIPs, see Objects > GlobalProtect > HIP Profiles.
Add zones to apply the rule only to traffic going to interfaces in the zones that you specify (default is any). To define new zones, see Network > Zones.
Add addresses or address groups to apply the rule only to the destinations that you specify (default is any).
Select Negate to choose any address except the selected ones.
•
any—Specifies services on any port and using any protocol.
•
default—Specifies services only on the default ports that Palo Alto Networks defines.
•
Select—Enables you to Add services or service groups. To create new services and service groups, see Objects > Services and Objects > Service Groups.
Fastpath: 
The default selection is service-http. When you use the Authentication policy for Authentication Portal, also enable service-https to ensure that the firewall learns user-to-ip-address mapping for all web traffic.
•
Select any to specify all traffic regardless of the URL category.
•
Add categories. To define custom categories, see Objects > Custom Objects > URL Category.
Select the authentication enforcement object (Objects > Authentication) that specifies the method (such as Authentication Portal or browser challenge) and authentication profile that the firewall uses to authenticate users. The authentication profile defines whether users respond to a single challenge or to multi-factor authentication (see Device > Authentication Profile). You can select a predefined or custom authentication enforcement object.
Note: 
*
If you must exclude hosts or servers from a Authentication Portal policy, add them to an Authentication Profile that specifies no-captive-portal as the Authentication Enforcement. However, Authentication Portal policies help the firewall learn user-to-IP-address mapping and should be used when possible.
If the Authentication Enforcement object specifies multi-factor authentication, the user must authenticate once for each factor. The firewall records a timestamp and reissues a challenge only when the timeout for a factor expires. Redistributing the timestamps to other firewalls enables you to apply the timeout even if the firewall that initially allows access for a user is not the same firewall that later controls access for that user.
Note: 
*
Timeout is a tradeoff between tighter security (less time between authentication prompts) and the user experience (more time between authentication prompts). More frequent authentication is often the right choice for access to critical systems and sensitive areas such as a data center. Less frequent authentication is often the right choice at the network perimeter and for businesses for which the user experience is key.
Select this option (disabled by default) if you want the firewall to generate Authentication logs whenever the Timeout associated with an authentication factor expires. Enabling this option provides more data to troubleshoot access issues. In conjunction with correlation objects, you can also use Authentication logs to identify suspicious activity on your network (such as brute force attacks).
Note: 
Select a Log Forwarding profile if you want the firewall to forward Authentication logs to Panorama or to external services such as a syslog server (see Objects > Log Forwarding).
Add one or more tags to push the policy rule to managed firewalls in the device group with the specified tag.
Policies > Authentication