HTTP with pre-loaded WAF Policy BIG-IP Next AS3 Example DeclarationΒΆ

HTTP service configuration using pre-loaded WAF policies

{
     "class": "ADC",
     "id": "id-policy-waf-preloaded",
     "schemaVersion": "3.0.0",
     "mytenant": {
       "class": "Tenant",
       "myapp": {
         "class": "Application",
         "my_pool": {
           "class": "Pool",
           "loadBalancingMode": "least-connections-member",
           "members": [
             {
               "serverAddresses": [
                 "198.18.10.10"
               ],
               "servicePort": 80
             }
           ]
         },
         "my_service": {
           "class": "Service_HTTP",
           "enable": true,
           "policyWAF": {
             "cm": "app-waf-policy-01"
           },
           "pool": "my_pool",
           "virtualAddresses": [
             "198.18.1.10"
           ],
           "virtualPort": 80
         }
       }
     }
   }