Manual Chapter :
Configuring AP and AI profile
Applies To:
Show Versions
BIG-IP Distributed Cloud Services
- 17.5.0, 17.1.2, 17.1.1, 17.1.0
Configuring AP and AI profile
Configuring AP and AI profile
Before configuring Account Protection (AP) and Authentication Intelligence (AI) profile you need to configure a Proxy Pool or Domain Pool, or select an existing pool during configuration. For more information, refer to BIG-IP Local Traffic Management: Basics - Introduction to pools.
Use this task to configure AP and AI profile.
The screen elements described here are for basic configuration. Refer to the help text available in the configuration utility for details about all the fields.
- On the Main tab, click.The AP and AI Profiles screen displays the list of AP and AI profiles on the BIG-IP.
- Click theCreatebutton.The New Profile screen opens.
- In the General Properties section, enter the following details:
- In the Basic or Advanced dropdown, selectAdvanced.
- InProfile Namefield, enter a unique name for the AP and AI profile.
- InParent Profilefield, select the AP and AI parent profile from which this profile will inherit settings.
- In Service Configuration section, update the following fields:
- InAccount Protectionfield, selectYesto enable Account Protection (AP) to collect the telemetry and securely process transactions.If Bot Defense (BD) is enabled on the same virtual server as AP, then BD processes the traffic first and therefore can block the page before traffic is processed by AP.
- InAuthentication Intelligencefield, selectYesto enable Authentication Intelligence (AI) to extend the login session for authentic users.If BD and/or AP are enabled on the same virtual server as AI, then BD and/or AP processes the traffic first and therefore can block the page before traffic is processed by AI.
- In the Proxy Configuration section, enter the following details:
- InUse Proxy Serverfield, selectYesif you want the data to be routed through a proxy server or selectNoto send data directly from the BIG-IP to the Distributed Cloud backend server.
- InProxy Poolfield, select an existing pool or click the+button to add a new pool.TheProxy Poolfield is displayed when theUse Proxy Serverfield is set toYes.
- In the API Configuration section, enter the following details:
- InProxy Destinationfield, enter the protocol and domain from the JS URL you received in the F5 Distributed Cloud Console or from F5 Support. For example, if the JS URLhttps://us.gimp.zeronaught.com/__imp_apg__/js/ab123_abcdefg-12345678.jsis received, then you would enterhttps://us.gimp.zeronaught.com. Optionally, you can add a port number if you are instructed by F5 support. For example,https://us.gimp.zeronaught.com:550.TheProxy Destinationfield is displayed when theUse Proxy Serverfield is set toYes.
- InDomain Poolfield, select an existing pool or click the+button to add a new pool.TheDomain Poolfield is displayed when theUse Proxy Serverfield is set toNo.
- InHostnamefield, enter the hostname or IP address.TheHostnamefield is displayed when theUse Proxy Serverfield is set toNo.
- InSSL Profilefield, select the profile that attaches to a new virtual server for routing traffic to the service pool.
- InJavaScript Pathfield, enter the path starting with/__imp_apg__/in the JS URL that you received in the Distributed Cloud Console or from F5 Support. For example, if the JS URLhttps://us.gimp.zeronaught.com/__imp_apg__/js/ab123_abcdefg-12345678.jsis received, then use the path/__imp_apg__/js/ab123_abcdefg-12345678.js.
- InCustomer IDfield, enter the ID that you received from the Distributed Cloud Console. The ID can be taken from the JavaScript Path. For example, if the JavaScript Path is/__imp_apg__/js/ab123_abcdefg-12345678.js, then the Customer ID isab123_abcdefg-12345678.
- InTelemetry Path Prefixfield, enter the value provided by F5 Support.
- In the Cookie Decryption and Processing section, enter the following details:
- InDecrypt Cookiefield, selectYesif you want the BIG-IP to decrypt the encrypted cookie on protected endpoints or selectNoto forward the cookie to the origin server without processing.
- InEncryption Key (Base64)field, enter the value provided by F5 Support.
- InProtected Endpointsfield, clickAddbutton and use the following settings to configure which endpoints will be protected:In TMSH and WebUI while configuring AP and AI profile, when entering value in path fields the special character?will display a\as a prefix. This has no impact on functionality. For example, during path configuration in query parameter/hello?age=20is displayed as/hello\?age=20, where an additional backslash is added before special character?.
- InHostfield, enter the hostname or IP address of the application to be protected by AP. You can add a port number if you are using a port that is not standard for HTTP or HTTPS.
- InPathfield, enter the path to the application to be protected by AP. For example,/login.
- InAccount Protectionfield, selectYesto enable AP protection to the endpoint.
- InEnforcement Modefield, selectMonitorto collect the telemetry or selectMitigateto block or redirect the HTTP request.
- InMitigation Actionfield, select the mitigation action that the BIG-IP should take if a malicious HTTP request is detected on the endpoint.
- InMitigate Missing Cookiefield, selectYesto mitigate the request if the cookie is missing.The AP cookie might not be added from the client browser for the first request towards virtual server when ASM policy is being used. The initial client request towards AP endpoint might get blocked due to missing AP cookie. Set theMitigate Missing Cookiefield toNofor the particular endpoint.
- InMitigate Malformed Cookiefield, selectYesto mitigate the request if the cookie is malformed.
- InMitigate Cookie Agefield, selectYesto mitigate the request if the cookie age is more than the configured maximum cookie age value.
- InMax Cookie Agefield, enter the maximum cookie age in days.
- InAuthentication Intelligencefield, selectYesto enable AI protection to the endpoint.
- ClickAdd Endpointbutton.
- InRecommendation Cookie Namefield, enter the name of the cookie
- InAccount Protection Header Namefield, enter the name of the AP header. The default isx-safe-fr, do not change the header name unless instructed by F5 Support.
- InAuthentication Intelligence Header Namefield, enter the name of the AI header. The default isx-apg-sr, do not change the header name unless instructed by F5 Support.
- In the Advanced Features section, enter the following details:
- InAdd Connecting IP to Headersfield, selectYesto add a new header with a connecting IP to the HTTP request.
- InConnecting IP Header Namefield, enter the name of the connecting IP header. The default isx-iapp-real-ip, do not change the header name unless instructed by F5 Support.
- ClickSavebutton.The AP and AI profile is created.
Assign the AP and AI profile to Virtual Server, refer to Assigning AP and AI Profile to Virtual Server.