on 10-Nov-2021 08:14
This article is the second in a two-part series. Go to Part 1 here.
You will identify the endpoints and customize several settings in the F5 cartridge.
The integration uses custom objects to configure endpoints that should be protected. Custom objects are stored locally (per Site).
BotProtectedEndpoints and GETScrapingEndpoints have the same structure. SAFEEndpoints have only ‘id’ and ‘paths’ fields. The custom object stores a list of all protected endpoints and describes their behavior for different F5 Shape solutions. The example below outlines how to configure the account-login-post object as a protected endpoint.
Figure 6: Sample configuration to define a protected endpoint
Here, you will specify the values of various options to customize the F5 integration.
Figure 7: Sample configuration to specify the values for connecting to the F5 Bot Defense back-end engine
Figure 8: Sample configuration to specify the values for F5 Shape JS URL and its path
Figure 9: Sample configuration to assign the JS tag to specific entry pages
This completes the F5 cartridge configuration. When done, click on the Save button at the top right-hand cover of the web page.
To test the F5 Bot Defense integration with SFCC, emulate a malicious request from a client machine to your e-commerce website.
Access and log in to your SFCC site from the browser. Inspect the web page source; you will notice the JS inserted by the SFCC.
Figure 10: JS insertion
You will also notice the prefix string and the telemetry headers passed in the HTTP POST.
Figure 11: Telemetry headers inserted in the HTTP POST
Now, disable the JavaScript support in the setting of the client browser and log in to your site. The F5 Bot Defense will identify this HTTP request as malicious web traffic and will block the request ('Block' is the migration action selected for the account-login-post in the custom objects)
Figure 12: F5 Bot Defense blocked the request from the JS disabled browser
Access your F5 Bot Protection Manager portal to see all the client requests to your e-commerce site. You will notice all the shoppers' traffic to the storefront, the login request from the JavaScript disabled browser that was used to emulate bot traffic will be flagged by F5 Bot Defense in red as malicious.
Figure 13: Malicious bot traffic detection by F5 Bot Defense
The F5 Bot Defense integration with SFCC using the certified cartridge is an easy-to-deploy solution that seamlessly works with the Storefront Reference Architecture. With this industry-leading MI-driven security, your digital business is safeguarded in real-time with superior accuracy & long-term efficacy. Deploy the cartridge from the SFCC Link Marketplace to minimize the impact of Bots on your business, confidently.
F5 Bot Defense integration for SFRA sites: Configuration Guide
F5 Bot Defense integration for SiteGenesis sites: Configuration Guide
Solution Lightboard: YouTube Video
Salesforce partnership: Technology Alliance on F5.com