diff --git a/internal/appsec/dyngo/instrumentation/httpsec/http.go b/internal/appsec/dyngo/instrumentation/httpsec/http.go index dcd885cf8c..3b64bf7ce9 100644 --- a/internal/appsec/dyngo/instrumentation/httpsec/http.go +++ b/internal/appsec/dyngo/instrumentation/httpsec/http.go @@ -302,7 +302,9 @@ func IPFromRequest(r *http.Request) netaddrIP { } var ( + // BlockedTemplateJSON is the default JSON template used to write responses for blocked requests BlockedTemplateJSON = []byte(`{"errors": [{"title": "You've been blocked", "detail": "Sorry, you cannot access this page. Please contact the customer service team. Security provided by Datadog."}]}`) + // BlockedTemplateHTML is the default HTML template used to write responses for blocked requests BlockedTemplateHTML = []byte(` You've been blocked

Sorry, you cannot access this page. Please contact the customer service team.

`) )