Forum Discussion

JustJozef's avatar
JustJozef
Icon for Cirrus rankCirrus
May 03, 2023
Solved

Icontrol REST upload and apply policy- section "http-protocols" ignored?

I have templates defined for REST API security policies. Basic set up is done in JSON and remaining policy is build based on the swagger file. When I want add to JSON template for examples file types...
  • Juergen_Mang's avatar
    May 05, 2023

    Your settings for http-protocols are ignored because the json path is invalid. It must be a sub-key of blocking-settings.

    {
       "policy" : {
           "blocking-settings" : {
             "http-protocols" : [
                {
                   "description" : "Multiple host headers",
                   "enabled" : true,
                   "learn" : false
                }
           }
       }
    }