post https://{hostname}/appsec/v1/configs//versions//url-protections
All products Creates a new URL protection policy for a specific configuration version.
Responses
All products Creates a new URL protection policy for a specific configuration version.
xxxxxxxxxx
curl --request POST \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/url-protections \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"intelligentLoadShedding": true
}
'
xxxxxxxxxx
83}
{
"bypassCondition": {
"atomicConditions": [
{
"checkIps": "connecting",
"className": "NetworkListCondition",
"positiveMatch": true,
"value": [
"12345_10CLIENTLIST",
"54321_123"
]
},
{
"className": "RequestHeaderCondition",
"name": [
"my-custom-header"
],
"nameWildcard": false,
"positiveMatch": true,
"value": [
"my-custom-value"
],
"valueCase": false,
"valueWildcard": false
}