We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8b610d commit db8ea81Copy full SHA for db8ea81
datadog_lambda/__init__.py
@@ -1,9 +1,11 @@
1
from datadog_lambda.cold_start import initialize_cold_start_tracing
2
+from datadog_lambda.config import config
3
import os
4
5
6
if os.environ.get("DD_INSTRUMENTATION_TELEMETRY_ENABLED") is None:
- os.environ["DD_INSTRUMENTATION_TELEMETRY_ENABLED"] = "false"
7
+ # Telemetry is required for Appsec Software Composition Analysis
8
+ os.environ["DD_INSTRUMENTATION_TELEMETRY_ENABLED"] = str(config.appsec_enabled)
9
10
if os.environ.get("DD_API_SECURITY_ENABLED") is None:
11
os.environ["DD_API_SECURITY_ENABLED"] = "False"
0 commit comments