Modify the exceptions of an attack group
PUT https://{{host}}/appsec/v1/configs/{{configId}}/versions/{{versionNumber}}/security-policies/{{policyId}}/attack-groups/{{attackGroupId}}/condition-exception
Request Body
{"exception"=>{"specificHeaderCookieParamXmlOrJsonNames"=>[{"selector"=>"REQUEST_HEADERS_NAMES", "wildcard"=>true}, {"names"=>["header2", "header1"], "selector"=>"REQUEST_HEADERS", "wildcard"=>false}, {"selector"=>"REQUEST_COOKIES_NAMES", "wildcard"=>true}, {"names"=>["cookie1", "cookie2"], "selector"=>"REQUEST_COOKIES", "wildcard"=>true}, {"selector"=>"ARGS_NAMES", "wildcard"=>true}, {"names"=>["param-name"], "selector"=>"ARGS", "wildcard"=>true}, {"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}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |