Skip to content

Commit 646fe14

Browse files
committed
feat(appsec): default to telemetry enabled
1 parent f8b610d commit 646fe14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

datadog_lambda/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33

44

55
if os.environ.get("DD_INSTRUMENTATION_TELEMETRY_ENABLED") is None:
6-
os.environ["DD_INSTRUMENTATION_TELEMETRY_ENABLED"] = "false"
6+
# Telemetry is required for Appsec Software Composition Analysis
7+
os.environ["DD_INSTRUMENTATION_TELEMETRY_ENABLED"] = os.environ.get(
8+
"DD_APPSEC_ENABLED", "false"
9+
)
710

811
if os.environ.get("DD_API_SECURITY_ENABLED") is None:
912
os.environ["DD_API_SECURITY_ENABLED"] = "False"

0 commit comments

Comments
 (0)