@@ -531,6 +531,7 @@ public InstallDatadogTracerCallback(
531
531
532
532
installDatadogTracer (initTelemetry , scoClass , sco );
533
533
maybeInstallLogsIntake (scoClass , sco );
534
+ maybeStartIast (instrumentation );
534
535
}
535
536
536
537
@ Override
@@ -545,7 +546,6 @@ public void execute() {
545
546
}
546
547
547
548
maybeStartAppSec (scoClass , sco );
548
- maybeStartIast (instrumentation , scoClass , sco );
549
549
maybeStartCiVisibility (instrumentation , scoClass , sco );
550
550
// start debugger before remote config to subscribe to it before starting to poll
551
551
maybeStartDebugger (instrumentation , scoClass , sco );
@@ -847,14 +847,14 @@ private static boolean isSupportedAppSecArch() {
847
847
return true ;
848
848
}
849
849
850
- private static void maybeStartIast (Instrumentation instrumentation , Class <?> scoClass , Object o ) {
850
+ private static void maybeStartIast (Instrumentation instrumentation ) {
851
851
if (iastEnabled || !iastFullyDisabled ) {
852
852
853
853
StaticEventLogger .begin ("IAST" );
854
854
855
855
try {
856
856
SubscriptionService ss = AgentTracer .get ().getSubscriptionService (RequestContextSlot .IAST );
857
- startIast (instrumentation , ss , scoClass , o );
857
+ startIast (instrumentation , ss );
858
858
} catch (Exception e ) {
859
859
log .error ("Error starting IAST subsystem" , e );
860
860
}
@@ -863,8 +863,7 @@ private static void maybeStartIast(Instrumentation instrumentation, Class<?> sco
863
863
}
864
864
}
865
865
866
- private static void startIast (
867
- Instrumentation instrumentation , SubscriptionService ss , Class <?> scoClass , Object sco ) {
866
+ private static void startIast (Instrumentation instrumentation , SubscriptionService ss ) {
868
867
try {
869
868
final Class <?> appSecSysClass = AGENT_CLASSLOADER .loadClass ("com.datadog.iast.IastSystem" );
870
869
final Method iastInstallerMethod =
0 commit comments