{
"operationMetadata" : {
"targetScope" : "ENDPOINT" ,
"targetEndpoint" : "/api/v1/secure" ,
"targetEndpointHTTPMethod" : "POST" ,
"targetPipeline" : "REQUEST" ,
"deploy" : true ,
"deployTargetEnvironmentNameList" : [
"test" , "prod"
],
"order" : 1
},
"policy" : {
"type" : "policy-black-ip" ,
"name" : " PrivateVariableIpBlocking " ,
"description" : " Get and block IP from X-Forwarded-For header " ,
"ipList" : [ "192.168.1.0-255" , "10.0.*.*" ],
"targetVariableForIP" : {
"name" : "clientIp" ,
"type" : "HEADER" ,
"headerName" : "X-Forwarded-For" ,
"description" : " Real IP behind Load Balancer "
}
}
}
|