-
Notifications
You must be signed in to change notification settings - Fork 301
Create metric: appsec.rasp.error #8364
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
Create metric: appsec.rasp.error #8364
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 58 metrics, 5 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.038 s) : 0, 1037793
Total [baseline] (10.52 s) : 0, 10520218
Agent [candidate] (1.037 s) : 0, 1037147
Total [candidate] (10.502 s) : 0, 10501712
section appsec
Agent [baseline] (1.185 s) : 0, 1185350
Total [baseline] (10.708 s) : 0, 10707995
Agent [candidate] (1.188 s) : 0, 1187954
Total [candidate] (10.768 s) : 0, 10767588
section iast
Agent [baseline] (1.176 s) : 0, 1176310
Total [baseline] (11.007 s) : 0, 11006805
Agent [candidate] (1.169 s) : 0, 1168876
Total [candidate] (11.004 s) : 0, 11004250
section profiling
Agent [baseline] (1.261 s) : 0, 1260735
Total [baseline] (10.837 s) : 0, 10836576
Agent [candidate] (1.258 s) : 0, 1258493
Total [candidate] (10.856 s) : 0, 10855808
gantt
title petclinic - break down per module: candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (716.0 ms) : 0, 716000
BytebuddyAgent [candidate] (715.054 ms) : 0, 715054
GlobalTracer [baseline] (239.119 ms) : 0, 239119
GlobalTracer [candidate] (238.691 ms) : 0, 238691
AppSec [baseline] (55.314 ms) : 0, 55314
AppSec [candidate] (55.346 ms) : 0, 55346
Remote Config [baseline] (695.965 µs) : 0, 696
Remote Config [candidate] (701.897 µs) : 0, 702
Telemetry [baseline] (11.49 ms) : 0, 11490
Telemetry [candidate] (12.149 ms) : 0, 12149
section appsec
BytebuddyAgent [baseline] (735.359 ms) : 0, 735359
BytebuddyAgent [candidate] (738.06 ms) : 0, 738060
GlobalTracer [baseline] (237.349 ms) : 0, 237349
GlobalTracer [candidate] (237.404 ms) : 0, 237404
AppSec [baseline] (177.547 ms) : 0, 177547
AppSec [candidate] (177.458 ms) : 0, 177458
Remote Config [baseline] (669.019 µs) : 0, 669
Remote Config [candidate] (673.651 µs) : 0, 674
Telemetry [baseline] (8.287 ms) : 0, 8287
Telemetry [candidate] (8.284 ms) : 0, 8284
IAST [baseline] (21.725 ms) : 0, 21725
IAST [candidate] (21.451 ms) : 0, 21451
section iast
BytebuddyAgent [baseline] (839.926 ms) : 0, 839926
BytebuddyAgent [candidate] (834.445 ms) : 0, 834445
GlobalTracer [baseline] (230.966 ms) : 0, 230966
GlobalTracer [candidate] (229.959 ms) : 0, 229959
AppSec [baseline] (57.581 ms) : 0, 57581
AppSec [candidate] (57.309 ms) : 0, 57309
Remote Config [baseline] (635.625 µs) : 0, 636
Remote Config [candidate] (624.173 µs) : 0, 624
Telemetry [baseline] (8.762 ms) : 0, 8762
Telemetry [candidate] (8.663 ms) : 0, 8663
IAST [baseline] (23.075 ms) : 0, 23075
IAST [candidate] (22.649 ms) : 0, 22649
section profiling
BytebuddyAgent [baseline] (707.201 ms) : 0, 707201
BytebuddyAgent [candidate] (705.878 ms) : 0, 705878
GlobalTracer [baseline] (349.776 ms) : 0, 349776
GlobalTracer [candidate] (350.045 ms) : 0, 350045
AppSec [baseline] (55.559 ms) : 0, 55559
AppSec [candidate] (54.41 ms) : 0, 54410
Remote Config [baseline] (669.661 µs) : 0, 670
Remote Config [candidate] (681.655 µs) : 0, 682
Telemetry [baseline] (8.874 ms) : 0, 8874
Telemetry [candidate] (8.89 ms) : 0, 8890
ProfilingAgent [baseline] (96.248 ms) : 0, 96248
ProfilingAgent [candidate] (96.33 ms) : 0, 96330
Profiling [baseline] (96.272 ms) : 0, 96272
Profiling [candidate] (96.354 ms) : 0, 96354
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.046 s) : 0, 1045845
Total [baseline] (8.655 s) : 0, 8654753
Agent [candidate] (1.039 s) : 0, 1038884
Total [candidate] (8.653 s) : 0, 8653002
section iast
Agent [baseline] (1.179 s) : 0, 1179211
Total [baseline] (9.25 s) : 0, 9250180
Agent [candidate] (1.17 s) : 0, 1170431
Total [candidate] (9.258 s) : 0, 9258294
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.174 s) : 0, 1174435
Total [baseline] (9.223 s) : 0, 9222889
Agent [candidate] (1.169 s) : 0, 1168836
Total [candidate] (9.207 s) : 0, 9206931
section iast_TELEMETRY_OFF
Agent [baseline] (1.172 s) : 0, 1171609
Total [baseline] (9.237 s) : 0, 9236777
Agent [candidate] (1.165 s) : 0, 1165078
Total [candidate] (9.275 s) : 0, 9274960
gantt
title insecure-bank - break down per module: candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (721.143 ms) : 0, 721143
BytebuddyAgent [candidate] (715.408 ms) : 0, 715408
GlobalTracer [baseline] (241.396 ms) : 0, 241396
GlobalTracer [candidate] (240.238 ms) : 0, 240238
AppSec [baseline] (55.784 ms) : 0, 55784
AppSec [candidate] (55.74 ms) : 0, 55740
Remote Config [baseline] (702.613 µs) : 0, 703
Remote Config [candidate] (702.938 µs) : 0, 703
Telemetry [baseline] (11.508 ms) : 0, 11508
Telemetry [candidate] (11.631 ms) : 0, 11631
section iast
BytebuddyAgent [baseline] (842.287 ms) : 0, 842287
BytebuddyAgent [candidate] (835.761 ms) : 0, 835761
GlobalTracer [baseline] (231.637 ms) : 0, 231637
GlobalTracer [candidate] (230.848 ms) : 0, 230848
IAST [baseline] (23.133 ms) : 0, 23133
IAST [candidate] (22.57 ms) : 0, 22570
AppSec [baseline] (57.407 ms) : 0, 57407
AppSec [candidate] (56.787 ms) : 0, 56787
Remote Config [baseline] (622.714 µs) : 0, 623
Remote Config [candidate] (603.095 µs) : 0, 603
Telemetry [baseline] (8.802 ms) : 0, 8802
Telemetry [candidate] (8.604 ms) : 0, 8604
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (839.542 ms) : 0, 839542
BytebuddyAgent [candidate] (833.741 ms) : 0, 833741
GlobalTracer [baseline] (230.665 ms) : 0, 230665
GlobalTracer [candidate] (230.296 ms) : 0, 230296
IAST [baseline] (22.607 ms) : 0, 22607
IAST [candidate] (22.908 ms) : 0, 22908
AppSec [baseline] (57.04 ms) : 0, 57040
AppSec [candidate] (57.316 ms) : 0, 57316
Remote Config [baseline] (615.192 µs) : 0, 615
Remote Config [candidate] (631.944 µs) : 0, 632
Telemetry [baseline] (8.654 ms) : 0, 8654
Telemetry [candidate] (8.65 ms) : 0, 8650
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (835.716 ms) : 0, 835716
BytebuddyAgent [candidate] (831.204 ms) : 0, 831204
GlobalTracer [baseline] (231.168 ms) : 0, 231168
GlobalTracer [candidate] (230.033 ms) : 0, 230033
IAST [baseline] (24.002 ms) : 0, 24002
IAST [candidate] (24.75 ms) : 0, 24750
AppSec [baseline] (55.96 ms) : 0, 55960
AppSec [candidate] (54.688 ms) : 0, 54688
Remote Config [baseline] (645.168 µs) : 0, 645
Remote Config [candidate] (617.615 µs) : 0, 618
Telemetry [baseline] (8.722 ms) : 0, 8722
Telemetry [candidate] (8.585 ms) : 0, 8585
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section baseline
no_agent (1.348 ms) : 1329, 1368
. : milestone, 1348,
appsec (1.745 ms) : 1721, 1769
. : milestone, 1745,
appsec_no_iast (1.753 ms) : 1730, 1776
. : milestone, 1753,
iast (1.524 ms) : 1500, 1547
. : milestone, 1524,
profiling (1.499 ms) : 1475, 1523
. : milestone, 1499,
tracing (1.498 ms) : 1474, 1522
. : milestone, 1498,
section candidate
no_agent (1.366 ms) : 1347, 1385
. : milestone, 1366,
appsec (1.76 ms) : 1736, 1783
. : milestone, 1760,
appsec_no_iast (1.758 ms) : 1735, 1782
. : milestone, 1758,
iast (1.504 ms) : 1480, 1528
. : milestone, 1504,
profiling (1.517 ms) : 1494, 1540
. : milestone, 1517,
tracing (1.487 ms) : 1462, 1512
. : milestone, 1487,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.47.0-SNAPSHOT~c8581b22d2, baseline=1.47.0-SNAPSHOT~053a36f28a
dateFormat X
axisFormat %s
section baseline
no_agent (369.694 µs) : 350, 389
. : milestone, 370,
iast (505.659 µs) : 483, 528
. : milestone, 506,
iast_FULL (743.565 µs) : 722, 765
. : milestone, 744,
iast_GLOBAL (553.637 µs) : 531, 576
. : milestone, 554,
iast_HARDCODED_SECRET_DISABLED (507.287 µs) : 484, 530
. : milestone, 507,
iast_INACTIVE (465.442 µs) : 444, 487
. : milestone, 465,
iast_TELEMETRY_OFF (496.629 µs) : 475, 518
. : milestone, 497,
tracing (446.407 µs) : 425, 468
. : milestone, 446,
section candidate
no_agent (376.124 µs) : 356, 396
. : milestone, 376,
iast (504.062 µs) : 482, 526
. : milestone, 504,
iast_FULL (740.208 µs) : 718, 762
. : milestone, 740,
iast_GLOBAL (558.331 µs) : 536, 581
. : milestone, 558,
iast_HARDCODED_SECRET_DISABLED (507.45 µs) : 486, 529
. : milestone, 507,
iast_INACTIVE (465.74 µs) : 444, 488
. : milestone, 466,
iast_TELEMETRY_OFF (495.751 µs) : 474, 518
. : milestone, 496,
tracing (453.341 µs) : 433, 474
. : milestone, 453,
Dacapo |
dd-java-agent/appsec/src/main/java/com/datadog/appsec/gateway/AppSecRequestContext.java
Outdated
Show resolved
Hide resolved
ab0f960
to
375a464
Compare
@@ -290,4 +290,17 @@ class AppSecRequestContextSpecification extends DDSpecification { | |||
then: | |||
ctx.getRaspTimeouts() == 2 | |||
} | |||
|
|||
def "test increase and get RaspErrors"() { |
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.
It's more readable if you also use the constants in the tests :)
DD_WAF_RUN_INTERNAL_ERROR
DD_WAF_RUN_INVALID_OBJECT_ERROR
DD_WAF_RUN_INVALID_ARGUMENT_ERROR
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.
seems that we can also use the constants for the codes in this test
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.
I've made some minor comments
Good Job!!! :)
3c96b70
to
c8581b2
Compare
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.46.1` -> `1.47.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.33` -> `2.30.34` | --- ### Release Notes <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.47.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.47.0): 1.47.0 ##### Components ##### Application Security Management (IAST) - 🐛 Exclude com.stripe.net.HttpURLConnectionClient to solve IAST SSRF vulnerability false positives ([#​8483](DataDog/dd-trace-java#8483) - [@​jandro996](https://github.com/jandro996)) - 🐛 Add exclusion to solve IAST weak randomness vulnerability false positives ([#​8462](DataDog/dd-trace-java#8462) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness false positive in Kafka client ([#​8408](DataDog/dd-trace-java#8408) - [@​smola](https://github.com/smola)) - ✨ Fix location for SSRF with Kong Unirest ([#​8407](DataDog/dd-trace-java#8407) - [@​smola](https://github.com/smola)) - ✨ Exclude IBM Instana from IAST ([#​8406](DataDog/dd-trace-java#8406) - [@​smola](https://github.com/smola)) - 🐛 Fix org.json iast instrumentation test for latest dependency ([#​8347](DataDog/dd-trace-java#8347) - [@​jandro996](https://github.com/jandro996)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) - ✨ Address cookie vulnerability cardinality issues ([#​8210](DataDog/dd-trace-java#8210) - [@​jandro996](https://github.com/jandro996)) - ✨ Email HTML Injection detection in IAST ([#​8205](DataDog/dd-trace-java#8205) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Application Security Management (WAF) - 🐛✨ Ensure usr.exists tag is not overridden when UsernameNotFoundException is thrown ([#​8376](DataDog/dd-trace-java#8376) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛✨ Ensure usr.exists tag is not overridden by auto instrumentation ([#​8374](DataDog/dd-trace-java#8374) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update appsec metrics with event_rules_version tag ([#​8354](DataDog/dd-trace-java#8354) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Improve ASM support in vert.x 5.0 ([#​8285](DataDog/dd-trace-java#8285) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Update metrics: appsec.waf.updates and appsec.waf.init ([#​8280](DataDog/dd-trace-java#8280) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Configuration to Disable APM Tracing ([#​8219](DataDog/dd-trace-java#8219) - [@​jandro996](https://github.com/jandro996)) ##### Build & Tooling - 🐛 Do not generate Muzzle references for primitive arrays in method body ([#​8361](DataDog/dd-trace-java#8361) - [@​amarziali](https://github.com/amarziali)) - 📖 Improve dev env setup documentation for Windows ([#​8180](DataDog/dd-trace-java#8180) - [@​lucaspimentel](https://github.com/lucaspimentel)) ##### Continuous Integration Visibility - ✨ Add support for skip-EFD tagging ([#​8487](DataDog/dd-trace-java#8487) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix an NPE in Gradle Android instrumentation ([#​8484](DataDog/dd-trace-java#8484) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Consider modified tests when applying fail-fast tests ordering ([#​8474](DataDog/dd-trace-java#8474) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests reordering for TestNG ([#​8467](DataDog/dd-trace-java#8467) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Gradle Launcher instrumentation to not interfere with Gradle Test Kit ([#​8465](DataDog/dd-trace-java#8465) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Use separate TestEventHandlers per framework in CI Vis instrumentations ([#​8451](DataDog/dd-trace-java#8451) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Remove warning log when JUnit 4 test method cannot be retrieved ([#​8445](DataDog/dd-trace-java#8445) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Scalatest tracing for tests that are reported asynchronously ([#​8444](DataDog/dd-trace-java#8444) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement attempt to fix tests ([#​8393](DataDog/dd-trace-java#8393) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement test disabling ([#​8377](DataDog/dd-trace-java#8377) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Update CODEOWNERS parser to not log errors on comments with leading whitespace ([#​8349](DataDog/dd-trace-java#8349) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Request Test Management tests list ([#​8345](DataDog/dd-trace-java#8345) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Receive test management settings from CIVis settings request ([#​8331](DataDog/dd-trace-java#8331) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement quarantined tests tagging ([#​8326](DataDog/dd-trace-java#8326) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement tests quarantining ([#​8320](DataDog/dd-trace-java#8320) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add tag to specify if the user is setting DD_SERVICE ([#​8318](DataDog/dd-trace-java#8318) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) ##### Crash tracking - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Use Java home of the crashed process to launch crash uploader ([#​8348](DataDog/dd-trace-java#8348) - [@​jbachorik](https://github.com/jbachorik)) ##### Data Streams Monitoring - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) - 🐛 Fix service name overrides in consumers ([#​8387](DataDog/dd-trace-java#8387) - [@​piochelepiotr](https://github.com/piochelepiotr)) ##### Database Monitoring - ✨ Add DBMTracePreparedStatements to tracer configuration log ([#​8508](DataDog/dd-trace-java#8508) - [@​cecile75](https://github.com/cecile75)) ##### Dynamic Instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Fix Exception Replay with Lambda proxy classes ([#​8452](DataDog/dd-trace-java#8452) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add support for scanning jar from loaded class ([#​8370](DataDog/dd-trace-java#8370) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Disable capture of entry values ([#​8369](DataDog/dd-trace-java#8369) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix CodeOrigin for `@Trace` annotation ([#​8344](DataDog/dd-trace-java#8344) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Fix equals/hashCode for CodeOrigin probe ([#​8319](DataDog/dd-trace-java#8319) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### Metrics - ✨ Create metric: appsec.waf.error ([#​8381](DataDog/dd-trace-java#8381) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Create metric: appsec.rasp.error ([#​8364](DataDog/dd-trace-java#8364) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Profiling - ✨ Bump ddprof library to 1.22.0 ([#​8463](DataDog/dd-trace-java#8463) - [@​jbachorik](https://github.com/jbachorik)) - IBM J9 8u361 corresponds to OpenJDK 8u362 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#187 - Fix compatibility with musl libc 1.2.4 by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#189 - Modify version extraction by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#179 - Do not write null values to jvminfo event by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#184 - Productize VMStructs-based stack walker by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#177 - A few minor downport issues by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#180 - Enable ASGCT by default on fairly safe J9 JDK versions by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#181 - 🐛 Exclude OrderedThreadPoolExecutor from queue-time measurements ([#​8456](DataDog/dd-trace-java#8456) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Record JVM info on JVMs without JFR ([#​8431](DataDog/dd-trace-java#8431) - [@​jbachorik](https://github.com/jbachorik)) - 🐛 Actually use CleanupTask in TempLocationManager ([#​8420](DataDog/dd-trace-java#8420) - [@​mcculls](https://github.com/mcculls)) - ✨ Only fork jps when required ([#​8419](DataDog/dd-trace-java#8419) - [@​mcculls](https://github.com/mcculls)) - 🐛 Adjust JFR checks for J9 ([#​8405](DataDog/dd-trace-java#8405) - [@​jbachorik](https://github.com/jbachorik)) - 🧹 Disable smap RSS parsing by default ([#​8342](DataDog/dd-trace-java#8342) - [@​MattAlp](https://github.com/MattAlp)) ##### Telemetry - 🐛 Add support for JBoss jar:file format to DependencyResolver ([#​8428](DataDog/dd-trace-java#8428) - [@​jandro996](https://github.com/jandro996)) - ✨ Update metrics: appsec.waf.requests ([#​8353](DataDog/dd-trace-java#8353) - [@​Mariovido](https://github.com/Mariovido)) ##### Trace context propagation - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Tracer core - 🐛 Fix Stable Config telemetry source names ([#​8460](DataDog/dd-trace-java#8460) - [@​BaptisteFoy](https://github.com/BaptisteFoy)) - ✨ Probe trace endpoints with a valid payload of empty arrays ([#​8414](DataDog/dd-trace-java#8414) - [@​mcculls](https://github.com/mcculls)) - ✨ Add 1 minute fail-safe to JUL/JMX class-loading callback ([#​8399](DataDog/dd-trace-java#8399) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate DSM injection calls to context-first APIs ([#​8383](DataDog/dd-trace-java#8383) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Move continuation capture methods from scope to tracer ([#​8371](DataDog/dd-trace-java#8371) - [@​mcculls](https://github.com/mcculls)) - ✨ Migrate context extraction calls to context-first APIs ([#​8368](DataDog/dd-trace-java#8368) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 🧹 Migrate context injection calls to context-first APIs ([#​8358](DataDog/dd-trace-java#8358) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - 💡 Support reading configurations from files ([#​8338](DataDog/dd-trace-java#8338) - [@​mtoffl01](https://github.com/mtoffl01)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - 🧹 Combine continuation implementations into one which supports multiple activations ([#​8324](DataDog/dd-trace-java#8324) - [@​mcculls](https://github.com/mcculls)) - ✨ Introduce tracing propagator ([#​8313](DataDog/dd-trace-java#8313) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Remove old context propagation API ([#​8271](DataDog/dd-trace-java#8271) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Instrumentations ##### AWS Lambda instrumentation - 🐛 Send error message and stack to Lambda extension ([#​8417](DataDog/dd-trace-java#8417) - [@​nhulston](https://github.com/nhulston)) ##### AWS SDK instrumentation - 🐛 Fix error happening when sqs message attributes are readonly ([#​8473](DataDog/dd-trace-java#8473) - [@​vandonr](https://github.com/vandonr)) - 💡 Inject trace context into AWS Step Functions input ([#​7585](DataDog/dd-trace-java#7585) - [@​DylanLovesCoffee](https://github.com/DylanLovesCoffee)) ##### Core Java language instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add code origin support for spring-webmvc ([#​8416](DataDog/dd-trace-java#8416) - [@​evanchooly](https://github.com/evanchooly)) - 💡 Implementation of BaggagePropagator and BaggageContext ([#​8330](DataDog/dd-trace-java#8330) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Add code origin support to kafka message listeners ([#​8301](DataDog/dd-trace-java#8301) - [@​evanchooly](https://github.com/evanchooly)) ##### gRPC instrumentation - ✨ Look in another location for grpc service methods ([#​8468](DataDog/dd-trace-java#8468) - [@​evanchooly](https://github.com/evanchooly)) ##### Kafka instrumentation - ✨ Add messaging.destination.name tag to kafka integrations ([#​8366](DataDog/dd-trace-java#8366) - [@​rarguelloF](https://github.com/rarguelloF)) ##### Protocol Buffer instrumentation - 🐛 Fix bug on proto schema extraction ([#​8403](DataDog/dd-trace-java#8403) - [@​vandonr](https://github.com/vandonr)) </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: 108a0f86aa59ab4c938cbac0688dd4c19cb301fa
What Does This Do
Creates appsec.rasp.error: this metric can be used to count the number of errors generated when calling ddwaf_run on RASP-specific instrumentation
Motivation
RASP metrics provide an aggregate view of the deployment health for the deployment of RASP rules.
Additional Notes
This metric notably holds the field waf_error that contains the numeric code returned by the ddwaf_run
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: APPSEC-56678