diff --git a/ddtrace/appsec/_iast/_ast/ast_patching.py b/ddtrace/appsec/_iast/_ast/ast_patching.py index 7e2258bd556..4c9f0dccaec 100644 --- a/ddtrace/appsec/_iast/_ast/ast_patching.py +++ b/ddtrace/appsec/_iast/_ast/ast_patching.py @@ -27,6 +27,46 @@ # Prefixes for modules where IAST patching is allowed IAST_ALLOWLIST: Tuple[Text, ...] = ("tests.appsec.iast.",) IAST_DENYLIST: Tuple[Text, ...] = ( + "altgraph.", + "dipy.", + "black.", + "mypy.", + "mypy_extensions.", + "autopep8.", + "pycodestyle.", + "pydicom.", + "pyinstaller.", + "pystray.", + "contourpy.", + "cx_logging.", + "dateutil.", + "pytz.", + "wcwidth.", + "win32ctypes.", + "xlib.", + "cycler.", + "cython.", + "dnspython.", + "elasticdeform." "numpy.", + "matplotlib.", + "skbase.", + "scipy.", + "networkx.", + "imageio.", + "fonttools.", + "nibabel.", + "nilearn.", + "gprof2dot.", + "h5py.", + "kiwisolver.", + "pandas.", + "pdf2image.", + "pefile.", + "pil.", + "threadpoolctl.", + "tifffile.", + "tqdm.", + "trx.", "flask.", "werkzeug.", "aiohttp._helpers.", @@ -110,6 +150,7 @@ "difflib.", "dill.info.", "dill.settings.", + "silk.", # django-silk package "django.apps.config.", "django.apps.registry.", "django.conf.", diff --git a/releasenotes/notes/denylist-extend-more-f0d96917c50d43cf.yaml b/releasenotes/notes/denylist-extend-more-f0d96917c50d43cf.yaml new file mode 100644 index 00000000000..b0c378dadaa --- /dev/null +++ b/releasenotes/notes/denylist-extend-more-f0d96917c50d43cf.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Add more modules to the IAST patching denylist to improve startup time