Commit 0ec0f9a
AppSec Lambda: Analyze HTTP response (#11750)
refactor + add appsec data to span
unit tests
add better support for query parameters
apply spotless
fix test crash
remove unused var
forwarded headers parsing + downgrade log level
formatting
WIP
wip
AppSec Lambda: HTTP trigger type detection + resource name fix for extension dedup
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PR review fixes: revert broken startSpan calls + test quality cleanup
spotlessApply
Normalise content-type casing before JSON detection
spotlessApply
Address review: narrow throws, add IAST slot and null appSecContext assertions
Use assertDoesNotThrow for no-op method assertions, remove throws Exception
Add coverage tests for LambdaAppSecHandler edge cases
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Address review: hoist isHttp() guard, skip notifyAppSecEnd on throwable, remove FQNs
URL-encode query param keys/values in LambdaAppSecHandler.buildFullPath
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Propagate ASM_KEEP for Lambda traces kept by trace-tagging rules with no WAF events
Test percent-encoding of special characters in query params
Guard AppSecContext cast in processRequestEnd to prevent ClassCastException
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge branch 'master' into clara.poncet/appsec-lambda-response
Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>1 parent fc6f5e4 commit 0ec0f9a
17 files changed
Lines changed: 2223 additions & 740 deletions
File tree
- dd-java-agent
- appsec/src/main/java/com/datadog/appsec/gateway
- instrumentation/aws-java/aws-java-lambda-handler-1.2/src
- main/java/datadog/trace/instrumentation/aws/v1/lambda
- test
- groovy
- java
- dd-trace-core/src
- main/java/datadog/trace
- core
- lambda
- test/java/datadog/trace/lambda
- internal-api/src/main/java/datadog/trace
- api/appsec
- bootstrap/instrumentation/api
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
Lines changed: 0 additions & 294 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments