Partial IAST opt-out when AppSec is enabled - #6621
Merged
Merged
Conversation
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 5, 2024 20:39
660dbe5 to
a00e34b
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 10 unstable metrics.
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.31.0-SNAPSHOT~9070f4f58b, baseline=1.31.0-SNAPSHOT~d41fb9c42e
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.077 s) : 0, 1077069
Total [baseline] (9.137 s) : 0, 9137321
Agent [candidate] (1.086 s) : 0, 1085852
Total [candidate] (9.18 s) : 0, 9180464
section appsec
Agent [baseline] (1.176 s) : 0, 1176352
Total [baseline] (9.286 s) : 0, 9286340
Agent [candidate] (1.2 s) : 0, 1200112
Total [candidate] (9.335 s) : 0, 9335323
section iast
Agent [baseline] (1.207 s) : 0, 1207497
Total [baseline] (9.334 s) : 0, 9333640
Agent [candidate] (1.212 s) : 0, 1211625
Total [candidate] (9.371 s) : 0, 9371324
section profiling
Agent [baseline] (1.268 s) : 0, 1268008
Total [baseline] (9.316 s) : 0, 9316422
Agent [candidate] (1.286 s) : 0, 1286102
Total [candidate] (9.484 s) : 0, 9483858
gantt
title petclinic - break down per module: candidate=1.31.0-SNAPSHOT~9070f4f58b, baseline=1.31.0-SNAPSHOT~d41fb9c42e
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (686.355 ms) : 0, 686355
BytebuddyAgent [candidate] (699.062 ms) : 0, 699062
GlobalTracer [baseline] (296.442 ms) : 0, 296442
GlobalTracer [candidate] (292.175 ms) : 0, 292175
AppSec [baseline] (51.428 ms) : 0, 51428
AppSec [candidate] (51.743 ms) : 0, 51743
Remote Config [baseline] (722.047 µs) : 0, 722
Remote Config [candidate] (728.123 µs) : 0, 728
Telemetry [baseline] (7.846 ms) : 0, 7846
Telemetry [candidate] (7.79 ms) : 0, 7790
section appsec
BytebuddyAgent [baseline] (686.281 ms) : 0, 686281
BytebuddyAgent [candidate] (697.111 ms) : 0, 697111
GlobalTracer [baseline] (296.711 ms) : 0, 296711
GlobalTracer [candidate] (292.222 ms) : 0, 292222
AppSec [baseline] (151.439 ms) : 0, 151439
AppSec [candidate] (151.15 ms) : 0, 151150
Remote Config [baseline] (635.83 µs) : 0, 636
Remote Config [candidate] (603.192 µs) : 0, 603
Telemetry [baseline] (6.942 ms) : 0, 6942
Telemetry [candidate] (6.862 ms) : 0, 6862
IAST [candidate] (17.786 ms) : 0, 17786
section iast
BytebuddyAgent [baseline] (801.041 ms) : 0, 801041
BytebuddyAgent [candidate] (803.175 ms) : 0, 803175
GlobalTracer [baseline] (288.581 ms) : 0, 288581
GlobalTracer [candidate] (290.028 ms) : 0, 290028
AppSec [baseline] (50.919 ms) : 0, 50919
AppSec [candidate] (50.254 ms) : 0, 50254
Remote Config [baseline] (601.099 µs) : 0, 601
Remote Config [candidate] (588.821 µs) : 0, 589
Telemetry [baseline] (6.731 ms) : 0, 6731
Telemetry [candidate] (7.483 ms) : 0, 7483
IAST [baseline] (25.25 ms) : 0, 25250
IAST [candidate] (25.656 ms) : 0, 25656
section profiling
BytebuddyAgent [baseline] (676.798 ms) : 0, 676798
BytebuddyAgent [candidate] (694.859 ms) : 0, 694859
GlobalTracer [baseline] (379.001 ms) : 0, 379001
GlobalTracer [candidate] (378.042 ms) : 0, 378042
AppSec [baseline] (52.915 ms) : 0, 52915
AppSec [candidate] (53.428 ms) : 0, 53428
Remote Config [baseline] (753.497 µs) : 0, 753
Remote Config [candidate] (800.153 µs) : 0, 800
Telemetry [baseline] (9.018 ms) : 0, 9018
Telemetry [candidate] (7.485 ms) : 0, 7485
ProfilingAgent [baseline] (93.619 ms) : 0, 93619
ProfilingAgent [candidate] (95.091 ms) : 0, 95091
Profiling [baseline] (93.643 ms) : 0, 93643
Profiling [candidate] (95.115 ms) : 0, 95115
LoadRequest duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~9070f4f58b, baseline=1.31.0-SNAPSHOT~d41fb9c42e
dateFormat X
axisFormat %s
section baseline
no_agent (1.372 ms) : 1353, 1391
. : milestone, 1372,
appsec (1.761 ms) : 1738, 1785
. : milestone, 1761,
iast (1.519 ms) : 1496, 1542
. : milestone, 1519,
profiling (1.539 ms) : 1515, 1562
. : milestone, 1539,
tracing (1.534 ms) : 1510, 1557
. : milestone, 1534,
section candidate
no_agent (1.36 ms) : 1341, 1379
. : milestone, 1360,
appsec (1.78 ms) : 1757, 1804
. : milestone, 1780,
iast (1.551 ms) : 1529, 1574
. : milestone, 1551,
profiling (1.554 ms) : 1529, 1580
. : milestone, 1554,
tracing (1.503 ms) : 1479, 1527
. : milestone, 1503,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~9070f4f58b, baseline=1.31.0-SNAPSHOT~d41fb9c42e
dateFormat X
axisFormat %s
section baseline
no_agent (368.016 µs) : 348, 388
. : milestone, 368,
iast (475.669 µs) : 455, 496
. : milestone, 476,
iast_FULL (541.717 µs) : 521, 562
. : milestone, 542,
iast_GLOBAL (504.745 µs) : 483, 526
. : milestone, 505,
iast_HARDCODED_SECRET_DISABLED (473.189 µs) : 453, 493
. : milestone, 473,
iast_INACTIVE (457.544 µs) : 437, 478
. : milestone, 458,
iast_TELEMETRY_OFF (471.517 µs) : 451, 492
. : milestone, 472,
tracing (445.883 µs) : 425, 467
. : milestone, 446,
section candidate
no_agent (367.603 µs) : 348, 387
. : milestone, 368,
iast (477.187 µs) : 457, 498
. : milestone, 477,
iast_FULL (544.944 µs) : 524, 565
. : milestone, 545,
iast_GLOBAL (494.482 µs) : 474, 515
. : milestone, 494,
iast_HARDCODED_SECRET_DISABLED (471.008 µs) : 451, 491
. : milestone, 471,
iast_INACTIVE (456.398 µs) : 434, 479
. : milestone, 456,
iast_TELEMETRY_OFF (479.397 µs) : 459, 500
. : milestone, 479,
tracing (451.095 µs) : 431, 471
. : milestone, 451,
|
jandro996
reviewed
Feb 6, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 6, 2024 11:00
a00e34b to
393ddd3
Compare
jandro996
reviewed
Feb 6, 2024
jandro996
approved these changes
Feb 6, 2024
manuel-alvarez-alvarez
marked this pull request as ready for review
February 6, 2024 12:44
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 6, 2024 13:23
3b0905b to
3c785f2
Compare
manuel-alvarez-alvarez
changed the base branch from
master
to
malvarez/iast-application-vul-telemetry
February 6, 2024 13:24
Base automatically changed from
malvarez/iast-application-vul-telemetry
to
master
February 7, 2024 08:28
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
2 times, most recently
from
February 7, 2024 17:14
64d04f9 to
9949052
Compare
dougqh
approved these changes
Feb 12, 2024
ygree
approved these changes
Feb 12, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
3 times, most recently
from
February 16, 2024 11:56
ddc70a9 to
d7fcd58
Compare
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 16, 2024 12:02
d7fcd58 to
ab20ca0
Compare
smola
approved these changes
Feb 16, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 16, 2024 12:16
ab20ca0 to
4a2d58e
Compare
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
February 20, 2024 08:57
4a2d58e to
bb62a04
Compare
jandro996
approved these changes
Feb 23, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
2 times, most recently
from
February 29, 2024 08:19
cc4f895 to
9f85a07
Compare
manuel-alvarez-alvarez
force-pushed
the
malvarez/iast-opt-out-appsec
branch
from
March 1, 2024 09:53
2111fc6 to
9070f4f
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
Enables certain IAST instrumentations when AppSec is enabled, the rationale is to enable all instrumentations that do not require taint tracking / call sites and provide value without any noticeable overhead.
The list of vulnerabilities that will be enabled in opt-out are:
Motivation
Additional Notes
Jira ticket: APPSEC-10441