-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NullAway to IAST module and fix errors
- Loading branch information
1 parent
9ae368f
commit 323d21d
Showing
80 changed files
with
459 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
dd-java-agent/agent-iast/src/main/java/com/datadog/iast/Dependencies.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.datadog.iast; | ||
|
||
import com.datadog.iast.overhead.OverheadController; | ||
import datadog.trace.api.Config; | ||
import datadog.trace.util.stacktrace.StackWalker; | ||
import javax.annotation.Nonnull; | ||
|
||
public class Dependencies { | ||
|
||
private final Config config; | ||
private final Reporter reporter; | ||
private final OverheadController overheadController; | ||
private final StackWalker stackWalker; | ||
|
||
public Dependencies( | ||
@Nonnull final Config config, | ||
@Nonnull final Reporter reporter, | ||
@Nonnull final OverheadController overheadController, | ||
@Nonnull final StackWalker stackWalker) { | ||
this.config = config; | ||
this.reporter = reporter; | ||
this.overheadController = overheadController; | ||
this.stackWalker = stackWalker; | ||
} | ||
|
||
public Config getConfig() { | ||
return config; | ||
} | ||
|
||
public Reporter getReporter() { | ||
return reporter; | ||
} | ||
|
||
public OverheadController getOverheadController() { | ||
return overheadController; | ||
} | ||
|
||
public StackWalker getStackWalker() { | ||
return stackWalker; | ||
} | ||
} |
45 changes: 0 additions & 45 deletions
45
dd-java-agent/agent-iast/src/main/java/com/datadog/iast/HasDependencies.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
dd-java-agent/agent-iast/src/main/java/com/datadog/iast/RequestStartedHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.