Skip to content

Commit 3cc5c54

Browse files
Updating asm to reflect dd-tract-py changes to http_utils._get_blocked_template
1 parent 3a92d01 commit 3cc5c54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/asm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ 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(content_type, blocked.block_id)
227227

228228
response = {
229229
"statusCode": blocked.get("status_code", 403),

0 commit comments

Comments
 (0)