# Ensure a WAF is attached to every public-facing Load Balancer

- Source: https://support.icompaas.com/support/solutions/articles/a_1786022869354452-ensure-a-waf-is-attached-to-every-public-facing-load-balancer
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [Utho Cloud](https://support.icompaas.com/support/solutions/c_1786022244474917) › [Utho Checks](https://support.icompaas.com/support/solutions/folders/utho-checks)
- Last updated: 2026-08-12
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

Description:

This check verifies that every Utho Cloud Load Balancer exposed to public Internet traffic has a Web Application Firewall (WAF) attached. A WAF helps inspect and filter HTTP/HTTPS traffic and protect applications from common web-based attacks.

  

Rationale:

Public-facing Load Balancers are directly exposed to Internet traffic and can become an entry point for application-layer attacks.

This check helps:

-   Protect applications from common web attacks.
    
-   Filter malicious HTTP/HTTPS requests.
    
-   Reduce the application attack surface.
    
-   Improve web application security and compliance.
    

  

Impact:

-   Provides an additional security layer for public applications.
    
-   Helps block malicious web traffic before it reaches backend servers.
    
-   WAF rules may block legitimate traffic if incorrectly configured.
    
-   Additional WAF processing may introduce minor request latency.
    

  

Default Value:

Every public-facing Utho Cloud Load Balancer should have a WAF attached.

A Load Balancer is considered non-compliant if it is publicly accessible and does not have an associated WAF.

  

Pre-requisites:

-   Utho Cloud account.
    
-   Permissions to view Load Balancers and WAF configurations.
    
-   Access to the Utho Cloud Console or Utho API.
    
-   Public-facing Load Balancers configured in the account.
    

  

Test Plan:

1.  Sign in to the Utho Cloud Console.
    
2.  Navigate to Networking → Load Balancer.
    
3.  List all Load Balancers.
    
4.  Identify Load Balancers exposed to public Internet traffic.
    
5.  Check whether a WAF is attached to each public-facing Load Balancer in WAF.
    
6.  In the resource section, check whether WAF is attached to an Internet-facing Load Balancer.
    

  

Using the Utho API:

List all Load Balancers:

curl -s \\  
\-H "Authorization: Bearer $UTHO\_API\_TOKEN" \\  
https://api.utho.com/v2/loadbalancer

Check weather Load Balancer is attached to the WAF

curl -X GET "https://api.utho.com/v2/waf?action=list" \\  
  -H "Authorization: Bearer $UTHO\_API\_TOKEN" \\  -H "Content-Type: application/json" | jq   

If the load balancer is attached to the WAF it will appear in the instance section the load balancer id appers in the instance section.

Implementation Plan:

1.  Log in to the Utho Cloud Console.
    
2.  Navigate to the WAF under the Networking section.
    

3.  Create or select an appropriate WAF. Click on the WAF name or on Manage.
    

4.  In the Resource section, click on Attach Load Balancer.
    

5.  Select the Internet-facing load balancer and click on Load Balancer.
    

6.  Save the configuration.
    
7.  Verify that the WAF is active and protecting the Load Balancer.
    

  

Using the Utho API:

Utho provides WAF and Load Balancer API endpoints. Use the WAF API to attach the Load Balancer to the appropriate WAF according to the API version available in the environment.

  

Backout Plan:

1.  Log in to the Utho Cloud Console.
    
2.  Navigate to the WAF under the Networking section.
    
3.  Create or select an appropriate WAF. Click on the WAF name or on Manage.
    
4.  In the Resource section, under the protected resource, detach the internet-facing load balancer.
    

  

References:

-   [Utho Docs – Attach LoadBalancer to WAF](https://utho.com/docs/products/networking/web-application-firewall/how-tos/attach-loadbalancer-to-waf/?utm_source=chatgpt.com)
    
-   [Utho Docs – Load Balancer](https://utho.com/docs/tags/loadbalancer/?utm_source=chatgpt.com)
    
-   [Utho Cloud REST API](https://utho.com/rest-api/?utm_source=chatgpt.com)

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
