-
Notifications
You must be signed in to change notification settings - Fork 301
Allow login events SDK to be used with appsec disabled #8464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow login events SDK to be used with appsec disabled #8464
Conversation
081dea3
to
dc094dd
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 4 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.042 s) : 0, 1042182
Total [baseline] (10.478 s) : 0, 10477887
Agent [candidate] (1.043 s) : 0, 1042602
Total [candidate] (10.522 s) : 0, 10522341
section appsec
Agent [baseline] (1.191 s) : 0, 1190631
Total [baseline] (10.8 s) : 0, 10799750
Agent [candidate] (1.183 s) : 0, 1182638
Total [candidate] (10.763 s) : 0, 10762791
section iast
Agent [baseline] (1.184 s) : 0, 1183556
Total [baseline] (11.1 s) : 0, 11099984
Agent [candidate] (1.173 s) : 0, 1173082
Total [candidate] (10.967 s) : 0, 10967361
section profiling
Agent [baseline] (1.262 s) : 0, 1262429
Total [baseline] (10.901 s) : 0, 10900931
Agent [candidate] (1.261 s) : 0, 1260883
Total [candidate] (10.921 s) : 0, 10920894
gantt
title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.603 ms) : 0, 717603
BytebuddyAgent [candidate] (719.3 ms) : 0, 719300
GlobalTracer [baseline] (239.339 ms) : 0, 239339
GlobalTracer [candidate] (240.402 ms) : 0, 240402
AppSec [baseline] (54.946 ms) : 0, 54946
AppSec [candidate] (54.758 ms) : 0, 54758
Remote Config [baseline] (686.906 Β΅s) : 0, 687
Remote Config [candidate] (690.496 Β΅s) : 0, 690
Telemetry [baseline] (14.703 ms) : 0, 14703
Telemetry [candidate] (12.183 ms) : 0, 12183
section appsec
BytebuddyAgent [baseline] (740.94 ms) : 0, 740940
BytebuddyAgent [candidate] (735.685 ms) : 0, 735685
GlobalTracer [baseline] (237.833 ms) : 0, 237833
GlobalTracer [candidate] (236.293 ms) : 0, 236293
AppSec [baseline] (177.087 ms) : 0, 177087
AppSec [candidate] (175.43 ms) : 0, 175430
Remote Config [baseline] (659.432 Β΅s) : 0, 659
Remote Config [candidate] (659.028 Β΅s) : 0, 659
Telemetry [baseline] (8.252 ms) : 0, 8252
Telemetry [candidate] (8.609 ms) : 0, 8609
IAST [baseline] (21.814 ms) : 0, 21814
IAST [candidate] (21.44 ms) : 0, 21440
section iast
BytebuddyAgent [baseline] (846.809 ms) : 0, 846809
BytebuddyAgent [candidate] (837.984 ms) : 0, 837984
GlobalTracer [baseline] (232.283 ms) : 0, 232283
GlobalTracer [candidate] (231.317 ms) : 0, 231317
AppSec [baseline] (57.103 ms) : 0, 57103
AppSec [candidate] (56.29 ms) : 0, 56290
Remote Config [baseline] (611.123 Β΅s) : 0, 611
Remote Config [candidate] (608.956 Β΅s) : 0, 609
Telemetry [baseline] (8.79 ms) : 0, 8790
Telemetry [candidate] (8.679 ms) : 0, 8679
IAST [baseline] (22.999 ms) : 0, 22999
IAST [candidate] (22.961 ms) : 0, 22961
section profiling
BytebuddyAgent [baseline] (710.505 ms) : 0, 710505
BytebuddyAgent [candidate] (710.43 ms) : 0, 710430
GlobalTracer [baseline] (350.091 ms) : 0, 350091
GlobalTracer [candidate] (350.439 ms) : 0, 350439
AppSec [baseline] (55.026 ms) : 0, 55026
AppSec [candidate] (53.315 ms) : 0, 53315
Remote Config [baseline] (679.288 Β΅s) : 0, 679
Remote Config [candidate] (665.298 Β΅s) : 0, 665
Telemetry [baseline] (8.878 ms) : 0, 8878
Telemetry [candidate] (8.893 ms) : 0, 8893
ProfilingAgent [baseline] (96.804 ms) : 0, 96804
ProfilingAgent [candidate] (96.406 ms) : 0, 96406
Profiling [baseline] (96.829 ms) : 0, 96829
Profiling [candidate] (96.432 ms) : 0, 96432
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.044 s) : 0, 1043787
Total [baseline] (8.674 s) : 0, 8673843
Agent [candidate] (1.039 s) : 0, 1039091
Total [candidate] (8.686 s) : 0, 8685577
section iast
Agent [baseline] (1.172 s) : 0, 1171643
Total [baseline] (9.241 s) : 0, 9241036
Agent [candidate] (1.171 s) : 0, 1171355
Total [candidate] (9.261 s) : 0, 9261128
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.176 s) : 0, 1176318
Total [baseline] (9.198 s) : 0, 9197848
Agent [candidate] (1.175 s) : 0, 1174754
Total [candidate] (9.216 s) : 0, 9215558
section iast_TELEMETRY_OFF
Agent [baseline] (1.167 s) : 0, 1166567
Total [baseline] (9.239 s) : 0, 9239093
Agent [candidate] (1.18 s) : 0, 1179599
Total [candidate] (9.298 s) : 0, 9297600
gantt
title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (719.49 ms) : 0, 719490
BytebuddyAgent [candidate] (718.446 ms) : 0, 718446
GlobalTracer [baseline] (239.897 ms) : 0, 239897
GlobalTracer [candidate] (239.586 ms) : 0, 239586
AppSec [baseline] (55.055 ms) : 0, 55055
AppSec [candidate] (54.376 ms) : 0, 54376
Remote Config [baseline] (691.193 Β΅s) : 0, 691
Remote Config [candidate] (689.172 Β΅s) : 0, 689
Telemetry [baseline] (13.749 ms) : 0, 13749
Telemetry [candidate] (10.752 ms) : 0, 10752
section iast
BytebuddyAgent [baseline] (837.682 ms) : 0, 837682
BytebuddyAgent [candidate] (837.709 ms) : 0, 837709
GlobalTracer [baseline] (230.533 ms) : 0, 230533
GlobalTracer [candidate] (230.621 ms) : 0, 230621
AppSec [baseline] (56.612 ms) : 0, 56612
AppSec [candidate] (55.885 ms) : 0, 55885
Remote Config [baseline] (601.82 Β΅s) : 0, 602
Remote Config [candidate] (594.911 Β΅s) : 0, 595
Telemetry [baseline] (8.619 ms) : 0, 8619
Telemetry [candidate] (8.625 ms) : 0, 8625
IAST [baseline] (22.693 ms) : 0, 22693
IAST [candidate] (22.667 ms) : 0, 22667
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (841.885 ms) : 0, 841885
BytebuddyAgent [candidate] (839.81 ms) : 0, 839810
GlobalTracer [baseline] (230.451 ms) : 0, 230451
GlobalTracer [candidate] (231.34 ms) : 0, 231340
AppSec [baseline] (55.954 ms) : 0, 55954
AppSec [candidate] (56.13 ms) : 0, 56130
Remote Config [baseline] (602.602 Β΅s) : 0, 603
Remote Config [candidate] (608.873 Β΅s) : 0, 609
Telemetry [baseline] (8.685 ms) : 0, 8685
Telemetry [candidate] (8.654 ms) : 0, 8654
IAST [baseline] (23.675 ms) : 0, 23675
IAST [candidate] (22.919 ms) : 0, 22919
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (833.729 ms) : 0, 833729
BytebuddyAgent [candidate] (842.189 ms) : 0, 842189
GlobalTracer [baseline] (229.752 ms) : 0, 229752
GlobalTracer [candidate] (233.153 ms) : 0, 233153
AppSec [baseline] (56.638 ms) : 0, 56638
AppSec [candidate] (56.745 ms) : 0, 56745
Remote Config [baseline] (604.467 Β΅s) : 0, 604
Remote Config [candidate] (619.041 Β΅s) : 0, 619
Telemetry [baseline] (8.574 ms) : 0, 8574
Telemetry [candidate] (8.739 ms) : 0, 8739
IAST [baseline] (22.349 ms) : 0, 22349
IAST [candidate] (22.773 ms) : 0, 22773
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 13 metrics, 17 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section baseline
no_agent (389.94 Β΅s) : 370, 410
. : milestone, 390,
iast (525.101 Β΅s) : 501, 549
. : milestone, 525,
iast_FULL (737.328 Β΅s) : 715, 759
. : milestone, 737,
iast_GLOBAL (562.162 Β΅s) : 540, 584
. : milestone, 562,
iast_HARDCODED_SECRET_DISABLED (516.608 Β΅s) : 495, 538
. : milestone, 517,
iast_INACTIVE (470.308 Β΅s) : 449, 492
. : milestone, 470,
iast_TELEMETRY_OFF (503.874 Β΅s) : 481, 526
. : milestone, 504,
tracing (460.941 Β΅s) : 440, 481
. : milestone, 461,
section candidate
no_agent (380.539 Β΅s) : 360, 401
. : milestone, 381,
iast (514.481 Β΅s) : 493, 536
. : milestone, 514,
iast_FULL (739.873 Β΅s) : 718, 762
. : milestone, 740,
iast_GLOBAL (562.761 Β΅s) : 541, 584
. : milestone, 563,
iast_HARDCODED_SECRET_DISABLED (520.855 Β΅s) : 499, 543
. : milestone, 521,
iast_INACTIVE (468.195 Β΅s) : 446, 491
. : milestone, 468,
iast_TELEMETRY_OFF (505.74 Β΅s) : 484, 527
. : milestone, 506,
tracing (462.396 Β΅s) : 442, 483
. : milestone, 462,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section baseline
no_agent (1.381 ms) : 1361, 1401
. : milestone, 1381,
appsec (1.742 ms) : 1719, 1766
. : milestone, 1742,
appsec_no_iast (1.754 ms) : 1730, 1778
. : milestone, 1754,
code_origins (1.674 ms) : 1647, 1701
. : milestone, 1674,
iast (1.534 ms) : 1511, 1558
. : milestone, 1534,
profiling (1.519 ms) : 1495, 1543
. : milestone, 1519,
tracing (1.522 ms) : 1498, 1546
. : milestone, 1522,
section candidate
no_agent (1.372 ms) : 1353, 1392
. : milestone, 1372,
appsec (1.761 ms) : 1737, 1785
. : milestone, 1761,
appsec_no_iast (1.74 ms) : 1715, 1765
. : milestone, 1740,
code_origins (1.689 ms) : 1662, 1716
. : milestone, 1689,
iast (1.518 ms) : 1495, 1542
. : milestone, 1518,
profiling (1.548 ms) : 1524, 1572
. : milestone, 1548,
tracing (1.485 ms) : 1461, 1510
. : milestone, 1485,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section baseline
no_agent (1.467 ms) : 1456, 1479
. : milestone, 1467,
appsec (2.325 ms) : 2282, 2369
. : milestone, 2325,
iast (2.114 ms) : 2058, 2169
. : milestone, 2114,
iast_GLOBAL (2.16 ms) : 2103, 2216
. : milestone, 2160,
profiling (1.967 ms) : 1924, 2011
. : milestone, 1967,
tracing (1.943 ms) : 1900, 1985
. : milestone, 1943,
section candidate
no_agent (1.471 ms) : 1460, 1483
. : milestone, 1471,
appsec (2.334 ms) : 2290, 2378
. : milestone, 2334,
iast (2.117 ms) : 2061, 2172
. : milestone, 2117,
iast_GLOBAL (2.161 ms) : 2104, 2217
. : milestone, 2161,
profiling (1.981 ms) : 1936, 2027
. : milestone, 1981,
tracing (1.94 ms) : 1898, 1983
. : milestone, 1940,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~cf301cea71, baseline=1.48.0-SNAPSHOT~a39a27f5b6
dateFormat X
axisFormat %s
section baseline
no_agent (15.652 s) : 15652000, 15652000
. : milestone, 15652000,
appsec (14.731 s) : 14731000, 14731000
. : milestone, 14731000,
iast (18.553 s) : 18553000, 18553000
. : milestone, 18553000,
iast_GLOBAL (18.111 s) : 18111000, 18111000
. : milestone, 18111000,
profiling (15.08 s) : 15080000, 15080000
. : milestone, 15080000,
tracing (15.015 s) : 15015000, 15015000
. : milestone, 15015000,
section candidate
no_agent (15.374 s) : 15374000, 15374000
. : milestone, 15374000,
appsec (14.928 s) : 14928000, 14928000
. : milestone, 14928000,
iast (19.031 s) : 19031000, 19031000
. : milestone, 19031000,
iast_GLOBAL (18.148 s) : 18148000, 18148000
. : milestone, 18148000,
profiling (14.804 s) : 14804000, 14804000
. : milestone, 14804000,
tracing (14.919 s) : 14919000, 14919000
. : milestone, 14919000,
|
dc094dd
to
c4329c6
Compare
internal-api/src/main/java/datadog/trace/api/appsec/AppSecEventTracker.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! check my comment related with create constants for the tag names
c4329c6
to
d0b259b
Compare
21dbd19
to
f712970
Compare
f712970
to
cf301ce
Compare
Allow login event SDK to be used with appsec disabled
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | org.flywaydb.flyway | plugin | misk/gradle/libs.versions.toml | gradle | minor | `11.6.0` -> `11.7.0` | | [com.squareup.okio:okio-fakefilesystem](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.squareup.okio:okio](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | minor | `2.15.0` -> `2.16.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio-fakefilesystem)</summary> ### [`v3.11.0`](https://github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.16.0`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-2160) - \[Feat]: support `com.android.test` projects. - \[Feat]: support typesafe project accessors with opt-in. ```kotlin dependencyAnalysis { useTypesafeProjectAccessors(true) // false by default } ``` </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.48.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.1): 1.48.1 ### Components #### Tracer internal logging - π Remove print line causing unnecessary logs ([#​8687](DataDog/dd-trace-java#8687) - [@​sarahchen6](https://github.com/sarahchen6)) ### [`v1.48.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.0): 1.48.0 ### Known Bugs > \[!NOTE] > If you are experiencing issues with spamming timeout logs, please update to the [latest version](https://github.com/DataDog/dd-trace-java/releases/latest) or set [JDK_SOCKET_ENABLED](https://github.com/DataDog/dd-trace-java/blob/33fc3c9a9b7cda3beda88b8b3e5224ae2b10764a/dd-trace-api/src/main/java/datadog/trace/api/config/GeneralConfig.java#L98) to false. ### Components #### Application Security Management (IAST) - β¨ Fix vulnerability location org.jose4j.lang.HashUtil ([#​8610](DataDog/dd-trace-java#8610) - [@​jandro996](https://github.com/jandro996)) - β¨ Fix weak randomness in oracle.ucp.util.OpaqueString ([#​8609](DataDog/dd-trace-java#8609) - [@​jandro996](https://github.com/jandro996)) - β¨ Fix weak hash false positive in oracle.security.o5logon.O5Logon ([#​8608](DataDog/dd-trace-java#8608) - [@​jandro996](https://github.com/jandro996)) - π Prevent before callsites targeting constructors in super calls ([#​8549](DataDog/dd-trace-java#8549) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Application Security Management (WAF) - β¨ Update login events public SDK to V2 ([#​8620](DataDog/dd-trace-java#8620) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - π Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) - β¨ Improve detection of missing request end events ([#​8510](DataDog/dd-trace-java#8510) - [@​smola](https://github.com/smola)) - π§Ή Remove remote configuration for API Security sampling rate ([#​8486](DataDog/dd-trace-java#8486) - [@​smola](https://github.com/smola)) - β¨ Add setUser to user monitoring SDK ([#​8482](DataDog/dd-trace-java#8482) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - β¨ Add missing address for signup event ([#​8469](DataDog/dd-trace-java#8469) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - β¨ Allow login events SDK to be used with appsec disabled ([#​8464](DataDog/dd-trace-java#8464) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - β¨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - β¨ New API Security sampling algorithm ([#​8178](DataDog/dd-trace-java#8178) - [@​ValentinZakharov](https://github.com/ValentinZakharov)) #### Build & Tooling - β¨ Add buffer size customizability to JDK UDS support ([#​8629](DataDog/dd-trace-java#8629) - [@​sarahchen6](https://github.com/sarahchen6)) - β¨ Add JDK built-in support for UDS on Java 16+ ([#​8314](DataDog/dd-trace-java#8314) - [@​sarahchen6](https://github.com/sarahchen6)) #### Configuration at Runtime - π Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) #### Continuous Integration Visibility - π Prevent double reporting of Scalatest events when using SBT with test forking ([#​8682](DataDog/dd-trace-java#8682) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - π Shutdown CI Visibility test event handlers before tracer ([#​8677](DataDog/dd-trace-java#8677) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - π Do not apply JUnit 4 instrumentation to MUnit runners ([#​8675](DataDog/dd-trace-java#8675), [#​8683](DataDog/dd-trace-java#8683) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - β¨ Remove error log when source path resolution fails on isModified check ([#​8663](DataDog/dd-trace-java#8663) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - β¨ Implement tests reordering for JUnit 4 ([#​8650](DataDog/dd-trace-java#8650) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - π Set default Attempt to Fix retries if none provided from the backend ([#​8615](DataDog/dd-trace-java#8615) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - β¨ Allow to manually set PR info ([#​8566](DataDog/dd-trace-java#8566) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - π Fix Test Optimization init when repo root cannot be determined ([#​8533](DataDog/dd-trace-java#8533) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - β¨ Add capabilities tagging ([#​8499](DataDog/dd-trace-java#8499), [#​8540](DataDog/dd-trace-java#8540) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - π Remove dependency on bash from crash/oome uploder scripts ([#​8652](DataDog/dd-trace-java#8652) - [@​jbachorik](https://github.com/jbachorik)) #### Data Streams Monitoring - β¨ e2e pipeline configuration when data jobs is enabled ([#​8553](DataDog/dd-trace-java#8553) - [@​kr-igor](https://github.com/kr-igor)) #### Dynamic Instrumentation - π Fix In-Product when config is empty ([#​8679](DataDog/dd-trace-java#8679) - [@​jpbempel](https://github.com/jpbempel)) - β¨ Add support for filtering shaded third-party libs ([#​8612](DataDog/dd-trace-java#8612) - [@​jpbempel](https://github.com/jpbempel)) - β¨ Add In-Product Enablement ([#​8587](DataDog/dd-trace-java#8587) - [@​jpbempel](https://github.com/jpbempel)) - β¨β‘ Reduce footprint of SourceFile tracking ([#​8524](DataDog/dd-trace-java#8524) - [@​jpbempel](https://github.com/jpbempel)) - β¨β‘ Optimize the SourceFile tracking ([#​8520](DataDog/dd-trace-java#8520) - [@​jpbempel](https://github.com/jpbempel)) #### OpenTracing - π§Ή Remove activeScope() use in OpenTracing shim ([#​8478](DataDog/dd-trace-java#8478) - [@​mcculls](https://github.com/mcculls)) #### Profiling - β¨ Add profiler env check command to AgentCLI ([#​8671](DataDog/dd-trace-java#8671) - [@​jbachorik](https://github.com/jbachorik)) - β¨ Bump ddprof to 1.23.0 ([#​8668](DataDog/dd-trace-java#8668) - [@​jbachorik](https://github.com/jbachorik)) - Fix a crash related to ElfParser::loadSymbolTable ([#​191](DataDog/dd-trace-java#191)) by [@​yanglong1010](https://github.com/yanglong1010) in DataDog/java-profiler#192 - Unwind String.indexOf intrinsic on AArch64 by [@​MattAlp](https://github.com/MattAlp) in DataDog/java-profiler#193 - Fix Java 24 support by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#194 - A set of fixes related to clang, aarch64 and musl pecularities of vmstructs stack unwinder by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#199 - π Remove process information from JFR recording ([#​8661](DataDog/dd-trace-java#8661) - [@​r1viollet](https://github.com/r1viollet)) - π Make TempLocationManager USER aware ([#​8605](DataDog/dd-trace-java#8605) - [@​jbachorik](https://github.com/jbachorik)) - β¨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Telemetry - π Fix appsec.rasp.error and appsec.waf.error telemetry metrics ([#​8624](DataDog/dd-trace-java#8624) - [@​jandro996](https://github.com/jandro996)) - β¨ Create metric: appsec.rasp.rule.skipped ([#​8618](DataDog/dd-trace-java#8618) - [@​jandro996](https://github.com/jandro996)) - β¨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Testing - π§Ή Simplify ssi tests one-pipeline ([#​8558](DataDog/dd-trace-java#8558) - [@​robertomonteromiguel](https://github.com/robertomonteromiguel)) - β¨ Add smoke tests for java's concurrent API ([#​8438](DataDog/dd-trace-java#8438) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - β¨ Adding Support for `TRACE_PROPAGATION_BEHAVIOR_EXTRACT` ([#​8535](DataDog/dd-trace-java#8535) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - π Ensure shaded helpers have unique names ([#​8559](DataDog/dd-trace-java#8559) - [@​amarziali](https://github.com/amarziali)) - β¨ Support common config sources for user-provided git info ([#​8547](DataDog/dd-trace-java#8547) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - β¨ Make the default config sources more robust when a security manager is installed ([#​8544](DataDog/dd-trace-java#8544) - [@​mcculls](https://github.com/mcculls)) - β¨ Support targeting services with configurations in stable configuration file ([#​8526](DataDog/dd-trace-java#8526) - [@​mtoffl01](https://github.com/mtoffl01)) - β¨ Add new parser for `DD_TAGS` and prioritizing `DD_SERVICE` ([#​8296](DataDog/dd-trace-java#8296) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer internal logging - π Add missing debug log for the cloudPayloadTaggingServices config ([#​8600](DataDog/dd-trace-java#8600) - [@​ygree](https://github.com/ygree)) - β¨ Add the possibility to output the logs of the Java tracer in JSON ([#​8083](DataDog/dd-trace-java#8083) - [@​cecile75](https://github.com/cecile75)) #### Tracer public API - β¨ Introducing `DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED` Config ([#​8536](DataDog/dd-trace-java#8536) - [@​mhlidd](https://github.com/mhlidd)) - β¨ Config Consistency Round 2 ([#​8489](DataDog/dd-trace-java#8489) - [@​mhlidd](https://github.com/mhlidd)) ### Instrumentations #### - π Fix NPE in getMdcCopy of LoggingEventInstrumentation ([#​8599](DataDog/dd-trace-java#8599) - [@​ygree](https://github.com/ygree)) #### Apache Spark instrumentation - β¨ Instrument Runtime.exit() to finish spark application spans ([#​8572](DataDog/dd-trace-java#8572) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) - β¨ Configure OpenLineage if present in Spark instrumentation ([#​8541](DataDog/dd-trace-java#8541) - [@​mobuchowski](https://github.com/mobuchowski)) #### Armeria Instrumentation - β¨ Support armeria grpc 1.32.3 ([#​8606](DataDog/dd-trace-java#8606) - [@​github-actions](https://github.com/github-actions)\[bot]) #### AWS DynamoDB Instrumentation - β¨ Create DynamoDB instrumentation + add span pointers for `updateItem` and `deleteItem` ([#​8490](DataDog/dd-trace-java#8490) - [@​nhulston](https://github.com/nhulston)) #### AWS SDK instrumentation - β¨ Add DynamoDB in DEFAULT_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES ([#​8595](DataDog/dd-trace-java#8595) - [@​joeyzhao2018](https://github.com/joeyzhao2018)) #### Azure Functions instrumentation - β¨ Enable tracer computed trace metrics by default for Azure Functions ([#​8518](DataDog/dd-trace-java#8518) - [@​duncanpharvey](https://github.com/duncanpharvey)) - π‘ Add azure-functions instrumentation ([#​8432](DataDog/dd-trace-java#8432) - [@​duncanpharvey](https://github.com/duncanpharvey)) #### Core Java language instrumentation - π Fix ForkJoinPool.execute() instrumentation on Java 21+ ([#​8560](DataDog/dd-trace-java#8560) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Eclipse Vert.x instrumentation - β¨ Add vertx postgresql client instrumentation ([#​8471](DataDog/dd-trace-java#8471) - [@​vandonr](https://github.com/vandonr) - thanks for the contribution!) #### Kafka instrumentation - β¨ Support and test kafka-clients 4 ([#​8581](DataDog/dd-trace-java#8581) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - β¨ Avoid disconnected traces when using Kotlin flowOn ([#​8651](DataDog/dd-trace-java#8651) - [@​mcculls](https://github.com/mcculls)) #### OpenTelemetry instrumentation - π§Ή Migrate OtelContext wrapper to new internal Context API ([#​8645](DataDog/dd-trace-java#8645) - [@​mcculls](https://github.com/mcculls)) #### Spring instrumentation - π Support CompletableFuture on spring webmvc controllers ([#​8659](DataDog/dd-trace-java#8659) - [@​amarziali](https://github.com/amarziali)) - β¨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### WebSocket Instrumentation - β¨ Instrument Jetty websocket pojo ([#​8562](DataDog/dd-trace-java#8562) - [@​amarziali](https://github.com/amarziali)) - π‘ Instrument Java Websocket API (JSR356) ([#​8440](DataDog/dd-trace-java#8440) - [@​amarziali](https://github.com/amarziali)) #### All other instrumentations - β¨ Introduce cache for peer.hostname lookup ([#​8601](DataDog/dd-trace-java#8601) - [@​mcculls](https://github.com/mcculls)) - β¨ Support pekko http 1.1 ([#​8532](DataDog/dd-trace-java#8532) - [@​amarziali](https://github.com/amarziali)) </details> --- ### Configuration π **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). π¦ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. β» **Rebasing**: Never, or you tick the rebase/retry checkbox. π» **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: 331314f71acaced3adc75ea5d7e855c248d593fc
What Does This Do
Relocates the logic for handling span tags related to the login event SDK from the
com.datadog.appsec.gateway.GatewayBridge
class todatadog.trace.api.appsecAppSecEventTracker
. This modification ensures the functionality remains accessible even if AppSec is explicitly disabled.Motivation
Customers using the SDK should still be able to set the appropriate span tags even when AppSec is disabled.
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]