{ "operationId": "get-rule-condition-exception", "method": "GET", "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rules/{ruleId}/condition-exception", "summary": "Get the conditions and exceptions of a rule", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "advancedExceptions": { "conditionOperator": "AND", "conditions": [ { "extensions": [ "test" ], "positiveMatch": true, "type": "extensionMatch" }, { "filenames": [ "test2" ], "positiveMatch": true, "type": "filenameMatch" }, { "hosts": [ "www.test.com" ], "positiveMatch": true, "type": "hostMatch" }, { "ips": [ "192.0.2.34" ], "positiveMatch": true, "type": "ipMatch", "useHeaders": true }, { "caseSensitive": true, "name": "test3", "nameCase": false, "positiveMatch": true, "type": "uriQueryMatch", "value": "test4", "wildcard": true }, { "header": "referer", "positiveMatch": true, "type": "requestHeaderMatch", "value": "test5", "valueCase": false, "valueWildcard": false }, { "methods": [ "GET" ], "positiveMatch": true, "type": "requestMethodMatch" }, { "paths": [ "/test6" ], "positiveMatch": true, "type": "pathMatch" }, { "clientLists": [ "77547_AGEOLIST" ], "positiveMatch": true, "type": "clientListMatch", "useHeaders": false } ], "headerCookieOrParamValues": [ { "valueWildcard": true, "values": [ "test" ] } ], "specificHeaderCookieOrParamNameValue": [ { "namesValues": [ { "names": [ "Test" ], "values": [ "test" ] } ], "selector": "REQUEST_HEADERS", "valueWildcard": true, "wildcard": true } ] } } }, { "status": "400", "contentType": "application/json", "example": { "detail": "The request could not be understood by the server due to malformed syntax.", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 400, "title": "Bad Request", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/BAD-REQUEST" } }, { "status": "404", "contentType": "application/problem+json", "example": { "detail": "The requested resource is not found", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 404, "title": "Not Found", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND" } }, { "status": "500", "contentType": "application/problem+json", "example": { "detail": "Internal Server Error", "instance": "12ab3c45-789d-01ef-2gh3-ijk4l56m78no", "status": 500, "title": "Internal Server Error", "type": "internal_server_error" } } ] }