You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/security/code_security/iast/setup/_index.md
+63-2Lines changed: 63 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,7 @@ aliases:
11
11
Before setting up Runtime Code Analysis (IAST), ensure the following prerequisites are met:
12
12
13
13
1.**Datadog Agent Installation:** The Datadog Agent is installed and configured for your application's operating system or container, cloud, or virtual environment.
14
-
2.**Datadog APM Configuration:** Datadog APM is configured for your application or service, and web traces (`type:web`) are being received by Datadog.
15
-
3.**Supported Tracing Library:** The Datadog Tracing Library used by your application or service supports Runtime Code Analysis (IAST) capabilities for the language of your application or service. For more details, see the **Compatibility Requirements** section below.
14
+
2.**Supported Tracing Library:** The Datadog Tracing Library used by your application or service supports Runtime Code Analysis (IAST) capabilities for the language of your application or service. For more details, see the **Compatibility Requirements** section below.
16
15
17
16
## Using Datadog Tracing Libraries
18
17
@@ -87,6 +86,34 @@ Update your ECS task definition JSON file, by adding this in the environment sec
87
86
]
88
87
```
89
88
89
+
#### APM Tracing disabled
90
+
91
+
To disable APM tracing while keeping App and API Protection enabled, you must set the APM tracing variable to false.
92
+
93
+
{{< tabs >}}
94
+
{{% tab "Using system properties" %}}
95
+
96
+
Start your Java application with the Datadog agent and App and API Protection enabled using system properties:
@@ -357,6 +407,17 @@ Update your ECS task definition JSON file, by adding this in the environment sec
357
407
]
358
408
```
359
409
410
+
#### APM Tracing disabled
411
+
412
+
To disable APM tracing while keeping App and API Protection enabled, you must set the APM tracing variable to false.
413
+
414
+
```Dockerfile
415
+
DD_IAST_ENABLED=true
416
+
DD_APM_TRACING_ENABLED=false
417
+
DD_SERVICE=<YOUR_SERVICE_NAME>
418
+
DD_ENV=<YOUR_ENVIRONMENT>
419
+
```
420
+
360
421
#### Third-Party Library Compatibility Note
361
422
362
423
Runtime Code Analysis (IAST) modifies Python code at runtime. This could cause conflicts with other third-party Python libraries that perform similar code transformations, particularly with the following, though not limited to them:
0 commit comments