Skip to content

Commit

Permalink
remove code commented
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-papazian committed Oct 8, 2024
1 parent 41502da commit 538b0bf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ddtrace/appsec/_asm_request_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
from urllib import parse

from ddtrace._trace.span import Span

# from ddtrace.appsec import _handlers
from ddtrace.appsec._constants import APPSEC
from ddtrace.appsec._constants import EXPLOIT_PREVENTION
from ddtrace.appsec._constants import SPAN_DATA_NAMES
Expand All @@ -23,8 +21,6 @@
from ddtrace.appsec._utils import get_triggers
from ddtrace.internal import core
from ddtrace.internal._exceptions import BlockingException

# from ddtrace.internal._exceptions import BlockingException
from ddtrace.internal.constants import REQUEST_PATH_PARAMS
from ddtrace.internal.logger import get_logger
from ddtrace.settings.asm import config as asm_config
Expand Down Expand Up @@ -208,9 +204,6 @@ def flush_waf_triggers(env: ASM_Environment) -> None:
telemetry_results["rasp"]["sum_eval"] = 0


# GLOBAL_CALLBACKS[_CONTEXT_CALL].append(flush_waf_triggers)


def finalize_asm_env(env: ASM_Environment) -> None:
callbacks = GLOBAL_CALLBACKS[_CONTEXT_CALL] + env.callbacks[_CONTEXT_CALL]
for function in callbacks:
Expand Down

0 comments on commit 538b0bf

Please sign in to comment.