Add debug info to tainted objects to troubleshoot null ranges#7455
Merged
manuel-alvarez-alvarez merged 3 commits intomasterfrom Aug 27, 2024
Merged
Add debug info to tainted objects to troubleshoot null ranges#7455manuel-alvarez-alvarez merged 3 commits intomasterfrom
manuel-alvarez-alvarez merged 3 commits intomasterfrom
Conversation
smola
approved these changes
Aug 16, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 12 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.047 s) : 0, 1047030
Total [baseline] (10.411 s) : 0, 10411030
Agent [candidate] (1.056 s) : 0, 1055507
Total [candidate] (10.441 s) : 0, 10440608
section appsec
Agent [baseline] (1.176 s) : 0, 1175553
Total [baseline] (10.52 s) : 0, 10519875
Agent [candidate] (1.171 s) : 0, 1170760
Total [candidate] (10.533 s) : 0, 10533194
section iast
Agent [baseline] (1.175 s) : 0, 1174639
Total [baseline] (10.813 s) : 0, 10813071
Agent [candidate] (1.175 s) : 0, 1174714
Total [candidate] (10.823 s) : 0, 10822942
section profiling
Agent [baseline] (1.257 s) : 0, 1256636
Total [baseline] (10.61 s) : 0, 10610077
Agent [candidate] (1.247 s) : 0, 1246969
Total [candidate] (10.617 s) : 0, 10617343
gantt
title petclinic - break down per module: candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (668.443 ms) : 0, 668443
BytebuddyAgent [candidate] (673.129 ms) : 0, 673129
GlobalTracer [baseline] (305.562 ms) : 0, 305562
GlobalTracer [candidate] (308.884 ms) : 0, 308884
AppSec [baseline] (51.352 ms) : 0, 51352
AppSec [candidate] (51.687 ms) : 0, 51687
Remote Config [baseline] (681.312 µs) : 0, 681
Remote Config [candidate] (679.234 µs) : 0, 679
Telemetry [baseline] (7.472 ms) : 0, 7472
Telemetry [candidate] (7.532 ms) : 0, 7532
section appsec
BytebuddyAgent [baseline] (682.358 ms) : 0, 682358
BytebuddyAgent [candidate] (679.159 ms) : 0, 679159
GlobalTracer [baseline] (301.76 ms) : 0, 301760
GlobalTracer [candidate] (300.132 ms) : 0, 300132
AppSec [baseline] (160.46 ms) : 0, 160460
AppSec [candidate] (160.515 ms) : 0, 160515
Remote Config [baseline] (648.513 µs) : 0, 649
Remote Config [candidate] (636.344 µs) : 0, 636
Telemetry [baseline] (7.464 ms) : 0, 7464
Telemetry [candidate] (7.417 ms) : 0, 7417
IAST [baseline] (18.538 ms) : 0, 18538
IAST [candidate] (18.679 ms) : 0, 18679
section iast
BytebuddyAgent [baseline] (779.464 ms) : 0, 779464
BytebuddyAgent [candidate] (779.81 ms) : 0, 779810
GlobalTracer [baseline] (296.557 ms) : 0, 296557
GlobalTracer [candidate] (296.359 ms) : 0, 296359
AppSec [baseline] (49.609 ms) : 0, 49609
AppSec [candidate] (51.334 ms) : 0, 51334
Remote Config [baseline] (609.163 µs) : 0, 609
Remote Config [candidate] (616.614 µs) : 0, 617
Telemetry [baseline] (8.055 ms) : 0, 8055
Telemetry [candidate] (11.126 ms) : 0, 11126
IAST [baseline] (26.788 ms) : 0, 26788
IAST [candidate] (21.89 ms) : 0, 21890
section profiling
ProfilingAgent [baseline] (96.842 ms) : 0, 96842
ProfilingAgent [candidate] (96.219 ms) : 0, 96219
BytebuddyAgent [baseline] (669.329 ms) : 0, 669329
BytebuddyAgent [candidate] (663.585 ms) : 0, 663585
GlobalTracer [baseline] (392.45 ms) : 0, 392450
GlobalTracer [candidate] (389.886 ms) : 0, 389886
AppSec [baseline] (52.394 ms) : 0, 52394
AppSec [candidate] (52.073 ms) : 0, 52073
Remote Config [baseline] (698.084 µs) : 0, 698
Remote Config [candidate] (678.4 µs) : 0, 678
Telemetry [baseline] (7.384 ms) : 0, 7384
Telemetry [candidate] (7.304 ms) : 0, 7304
Profiling [baseline] (96.867 ms) : 0, 96867
Profiling [candidate] (96.242 ms) : 0, 96242
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.047 s) : 0, 1047357
Total [baseline] (8.508 s) : 0, 8507508
Agent [candidate] (1.047 s) : 0, 1046863
Total [candidate] (8.519 s) : 0, 8519183
section iast
Agent [baseline] (1.171 s) : 0, 1171177
Total [baseline] (8.984 s) : 0, 8984173
Agent [candidate] (1.172 s) : 0, 1172147
Total [candidate] (9.011 s) : 0, 9010729
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.172 s) : 0, 1171661
Total [baseline] (8.963 s) : 0, 8963231
Agent [candidate] (1.172 s) : 0, 1171764
Total [candidate] (9.01 s) : 0, 9009916
section iast_TELEMETRY_OFF
Agent [baseline] (1.178 s) : 0, 1177777
Total [baseline] (8.977 s) : 0, 8977281
Agent [candidate] (1.187 s) : 0, 1186831
Total [candidate] (9.027 s) : 0, 9026909
gantt
title insecure-bank - break down per module: candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (667.906 ms) : 0, 667906
BytebuddyAgent [candidate] (667.948 ms) : 0, 667948
GlobalTracer [baseline] (306.427 ms) : 0, 306427
GlobalTracer [candidate] (306.074 ms) : 0, 306074
AppSec [baseline] (51.407 ms) : 0, 51407
AppSec [candidate] (51.173 ms) : 0, 51173
Remote Config [baseline] (655.714 µs) : 0, 656
Remote Config [candidate] (660.859 µs) : 0, 661
Telemetry [baseline] (7.441 ms) : 0, 7441
Telemetry [candidate] (7.508 ms) : 0, 7508
section iast
BytebuddyAgent [baseline] (778.586 ms) : 0, 778586
BytebuddyAgent [candidate] (778.608 ms) : 0, 778608
GlobalTracer [baseline] (296.202 ms) : 0, 296202
GlobalTracer [candidate] (296.615 ms) : 0, 296615
AppSec [baseline] (50.62 ms) : 0, 50620
AppSec [candidate] (49.699 ms) : 0, 49699
Remote Config [baseline] (601.849 µs) : 0, 602
Remote Config [candidate] (601.584 µs) : 0, 602
Telemetry [baseline] (9.57 ms) : 0, 9570
Telemetry [candidate] (8.008 ms) : 0, 8008
IAST [baseline] (22.027 ms) : 0, 22027
IAST [candidate] (25.063 ms) : 0, 25063
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (778.355 ms) : 0, 778355
BytebuddyAgent [candidate] (777.358 ms) : 0, 777358
GlobalTracer [baseline] (296.166 ms) : 0, 296166
GlobalTracer [candidate] (295.924 ms) : 0, 295924
AppSec [baseline] (48.272 ms) : 0, 48272
AppSec [candidate] (49.18 ms) : 0, 49180
Remote Config [baseline] (598.833 µs) : 0, 599
Remote Config [candidate] (606.686 µs) : 0, 607
Telemetry [baseline] (9.542 ms) : 0, 9542
Telemetry [candidate] (10.16 ms) : 0, 10160
IAST [baseline] (25.134 ms) : 0, 25134
IAST [candidate] (24.978 ms) : 0, 24978
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (782.469 ms) : 0, 782469
BytebuddyAgent [candidate] (787.552 ms) : 0, 787552
GlobalTracer [baseline] (298.175 ms) : 0, 298175
GlobalTracer [candidate] (300.673 ms) : 0, 300673
AppSec [baseline] (49.857 ms) : 0, 49857
AppSec [candidate] (51.176 ms) : 0, 51176
Remote Config [baseline] (597.559 µs) : 0, 598
Remote Config [candidate] (620.861 µs) : 0, 621
Telemetry [baseline] (8.658 ms) : 0, 8658
Telemetry [candidate] (11.107 ms) : 0, 11107
IAST [baseline] (24.345 ms) : 0, 24345
IAST [candidate] (21.946 ms) : 0, 21946
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 6 metrics, 22 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section baseline
no_agent (449.271 µs) : 421, 478
. : milestone, 449,
iast (594.803 µs) : 560, 630
. : milestone, 595,
iast_FULL (680.266 µs) : 648, 712
. : milestone, 680,
iast_GLOBAL (617.104 µs) : 584, 650
. : milestone, 617,
iast_HARDCODED_SECRET_DISABLED (586.155 µs) : 553, 619
. : milestone, 586,
iast_INACTIVE (537.763 µs) : 508, 568
. : milestone, 538,
iast_TELEMETRY_OFF (568.053 µs) : 535, 601
. : milestone, 568,
tracing (535.633 µs) : 505, 566
. : milestone, 536,
section candidate
no_agent (447.921 µs) : 419, 477
. : milestone, 448,
iast (579.876 µs) : 548, 612
. : milestone, 580,
iast_FULL (686.384 µs) : 654, 719
. : milestone, 686,
iast_GLOBAL (620.572 µs) : 589, 652
. : milestone, 621,
iast_HARDCODED_SECRET_DISABLED (593.232 µs) : 560, 626
. : milestone, 593,
iast_INACTIVE (535.53 µs) : 505, 566
. : milestone, 536,
iast_TELEMETRY_OFF (569.888 µs) : 537, 602
. : milestone, 570,
tracing (527.819 µs) : 498, 558
. : milestone, 528,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section baseline
no_agent (1.691 ms) : 1665, 1717
. : milestone, 1691,
appsec (2.162 ms) : 2131, 2193
. : milestone, 2162,
appsec_no_iast (2.172 ms) : 2140, 2203
. : milestone, 2172,
iast (1.895 ms) : 1866, 1925
. : milestone, 1895,
profiling (1.996 ms) : 1960, 2032
. : milestone, 1996,
tracing (1.893 ms) : 1861, 1925
. : milestone, 1893,
section candidate
no_agent (1.719 ms) : 1693, 1745
. : milestone, 1719,
appsec (2.166 ms) : 2135, 2197
. : milestone, 2166,
appsec_no_iast (2.212 ms) : 2180, 2244
. : milestone, 2212,
iast (1.912 ms) : 1882, 1941
. : milestone, 1912,
profiling (1.961 ms) : 1925, 1996
. : milestone, 1961,
tracing (1.87 ms) : 1838, 1902
. : milestone, 1870,
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.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section baseline
no_agent (1.466 ms) : 1454, 1477
. : milestone, 1466,
appsec (2.229 ms) : 2194, 2265
. : milestone, 2229,
iast (1.974 ms) : 1931, 2017
. : milestone, 1974,
iast_GLOBAL (2.029 ms) : 1985, 2073
. : milestone, 2029,
profiling (1.865 ms) : 1831, 1900
. : milestone, 1865,
tracing (1.848 ms) : 1815, 1882
. : milestone, 1848,
section candidate
no_agent (1.459 ms) : 1447, 1470
. : milestone, 1459,
appsec (2.243 ms) : 2207, 2279
. : milestone, 2243,
iast (1.966 ms) : 1924, 2008
. : milestone, 1966,
iast_GLOBAL (2.024 ms) : 1981, 2068
. : milestone, 2024,
profiling (1.858 ms) : 1823, 1893
. : milestone, 1858,
tracing (1.836 ms) : 1803, 1869
. : milestone, 1836,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.39.0-SNAPSHOT~ac8c8db3e7, baseline=1.39.0-SNAPSHOT~8eaed7d885
dateFormat X
axisFormat %s
section baseline
no_agent (14.961 s) : 14961000, 14961000
. : milestone, 14961000,
appsec (15.107 s) : 15107000, 15107000
. : milestone, 15107000,
iast (18.71 s) : 18710000, 18710000
. : milestone, 18710000,
iast_GLOBAL (18.081 s) : 18081000, 18081000
. : milestone, 18081000,
profiling (14.788 s) : 14788000, 14788000
. : milestone, 14788000,
tracing (15.194 s) : 15194000, 15194000
. : milestone, 15194000,
section candidate
no_agent (14.986 s) : 14986000, 14986000
. : milestone, 14986000,
appsec (15.325 s) : 15325000, 15325000
. : milestone, 15325000,
iast (18.834 s) : 18834000, 18834000
. : milestone, 18834000,
iast_GLOBAL (17.856 s) : 17856000, 17856000
. : milestone, 17856000,
profiling (15.145 s) : 15145000, 15145000
. : milestone, 15145000,
tracing (14.956 s) : 14956000, 14956000
. : milestone, 14956000,
|
c87650e to
bc7b646
Compare
bc7b646 to
ac8c8db
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Does This Do
Adds information to troubleshoot and issue with null values in ranges.
Motivation
Recently we've starting receiving issues at:
This PR should help us pinpoint the issue.
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any usefull labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]