put https://{hostname}/appsec/v1/configs//versions//security-policies//rapid-rules//condition-exception
Set the rapid rule's conditions and exceptions
Responses
Set the rapid rule's conditions and exceptions
xxxxxxxxxx
curl --request PUT \
--url https://hostname/appsec/v1/configs/configId/versions/versionNumber/security-policies/policyId/rapid-rules/ruleId/condition-exception \
--header 'accept: application/json' \
--header 'content-type: application/json'
xxxxxxxxxx
64}
{
"advancedExceptions": {
"conditionOperator": "AND",
"conditions": [
{
"filenames": [
"bakku"
],
"positiveMatch": true,
"type": "filenameMatch"
},
{
"ips": [
"1.1.1.1/24"
],
"positiveMatch": true,
"type": "ipMatch",
"useHeaders": false
}
],
"headerCookieOrParamValues": [
{
"valueWildcard": false,
"values": [
"baks"