File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -223,7 +223,9 @@ def get_asm_blocked_response(
223223 content = ""
224224 else :
225225 content_type = blocked .get ("content-type" , "application/json" )
226- content = http_utils ._get_blocked_template (content_type )
226+ content = http_utils ._get_blocked_template (
227+ content_type , blocked .get ("block_id" , "default" )
228+ )
227229
228230 response = {
229231 "statusCode" : blocked .get ("status_code" , 403 ),
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ classifiers = [
2929python = " >=3.8.0,<4"
3030datadog = " >=0.51.0,<1.0.0"
3131wrapt = " ^1.11.2"
32- ddtrace = " >=3.16.2,<3.19.0 "
32+ ddtrace = " >=3.19.1,<4 "
3333ujson = " >=5.9.0"
3434botocore = { version = " ^1.34.0" , optional = true }
3535requests = { version =" ^2.22.0" , optional = true }
You can’t perform that action at this time.
0 commit comments