Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion datadog_lambda/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def get_asm_blocked_response(
content = ""
else:
content_type = blocked.get("content-type", "application/json")
content = http_utils._get_blocked_template(content_type)
content = http_utils._get_blocked_template(
content_type, blocked.get("block_id", "default")
)

response = {
"statusCode": blocked.get("status_code", 403),
Expand Down
Loading