{ "operationId": "put-attack-group-condition-exception", "method": "PUT", "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/attack-groups/{attackGroupId}/condition-exception", "summary": "Modify the exceptions of an attack group", "requestExamples": [ { "contentType": "application/json", "example": { "exception": { "specificHeaderCookieParamXmlOrJsonNames": [ { "names": [ "*" ], "selector": "REQUEST_HEADERS_NAMES", "wildcard": true }, { "names": [ "header2", "header1" ], "selector": "REQUEST_HEADERS", "wildcard": false }, { "names": [ "connect.sid" ], "selector": "REQUEST_COOKIES_NAMES", "wildcard": false }, { "names": [ "cookie1", "cookie2" ], "selector": "REQUEST_COOKIES", "wildcard": true }, { "names": [ "test*" ], "selector": "ARGS_NAMES", "wildcard": true }, { "names": [ "param-name" ], "selector": "ARGS", "wildcard": true }, { "names": [ "test*" ], "selector": "JSON_NAMES", "wildcard": true }, { "names": [ "json1" ], "selector": "JSON_PAIRS", "wildcard": true }, { "selector": "REQUEST_PROTOCOL", "wildcard": true }, { "selector": "REQUEST_METHOD", "wildcard": true }, { "selector": "REQUEST_URI", "wildcard": true }, { "selector": "QUERY_STRING", "wildcard": true }, { "selector": "REQUEST_FILENAME", "wildcard": true }, { "selector": "REQUEST_PATH_SEGMENT", "wildcard": true }, { "selector": "REQUEST_BODY", "wildcard": true }, { "selector": "REQBODY_PROCESSOR_ERROR", "wildcard": true }, { "selector": "FILES_NAMES", "wildcard": true } ] } } } ], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "exception": { "specificHeaderCookieParamXmlOrJsonNames": [ { "names": [ "*" ], "selector": "REQUEST_HEADERS_NAMES", "wildcard": true }, { "names": [ "header2", "header1" ], "selector": "REQUEST_HEADERS", "wildcard": false }, { "names": [ "connect.sid" ], "selector": "REQUEST_COOKIES_NAMES", "wildcard": false }, { "names": [ "cookie1", "cookie2" ], "selector": "REQUEST_COOKIES", "wildcard": true }, { "names": [ "test*" ], "selector": "ARGS_NAMES", "wildcard": true }, { "names": [ "param-name" ], "selector": "ARGS", "wildcard": true }, { "names": [ "test*" ], "selector": "JSON_NAMES", "wildcard": true }, { "names": [ "json1" ], "selector": "JSON_PAIRS", "wildcard": true }, { "selector": "REQUEST_PROTOCOL", "wildcard": true }, { "selector": "REQUEST_METHOD", "wildcard": true }, { "selector": "REQUEST_URI", "wildcard": true }, { "selector": "QUERY_STRING", "wildcard": true }, { "selector": "REQUEST_FILENAME", "wildcard": true }, { "selector": "REQUEST_PATH_SEGMENT", "wildcard": true }, { "selector": "REQUEST_BODY", "wildcard": true }, { "selector": "REQBODY_PROCESSOR_ERROR", "wildcard": true }, { "selector": "FILES_NAMES", "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": "403", "contentType": "application/problem+json", "example": { "detail": "You do not have the necessary access to perform this operation or the requested resource cannot be modified", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 403, "title": "Forbidden", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/ACCESS-DENIED" } }, { "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" } } ] }