-
Notifications
You must be signed in to change notification settings - Fork 292
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
Update user lifecycle tracking to V3 #8108
Merged
Merged
Conversation
This file contains 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
manuel-alvarez-alvarez
added
the
comp: asm waf
Application Security Management (WAF)
label
Dec 18, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
from
December 18, 2024 11:24
6ea6598
to
eea748d
Compare
BenchmarksStartupLoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~6cd2d892eb, baseline=1.45.0-SNAPSHOT~c24db361be
dateFormat X
axisFormat %s
section baseline
no_agent (1.356 ms) : 1335, 1376
. : milestone, 1356,
appsec (1.761 ms) : 1738, 1784
. : milestone, 1761,
appsec_no_iast (1.761 ms) : 1735, 1786
. : milestone, 1761,
iast (1.501 ms) : 1478, 1524
. : milestone, 1501,
profiling (1.522 ms) : 1499, 1546
. : milestone, 1522,
tracing (1.483 ms) : 1457, 1508
. : milestone, 1483,
section candidate
no_agent (1.343 ms) : 1324, 1362
. : milestone, 1343,
appsec (1.765 ms) : 1741, 1788
. : milestone, 1765,
appsec_no_iast (1.756 ms) : 1732, 1780
. : milestone, 1756,
iast (1.491 ms) : 1469, 1514
. : milestone, 1491,
profiling (1.487 ms) : 1464, 1510
. : milestone, 1487,
tracing (1.486 ms) : 1462, 1510
. : milestone, 1486,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~6cd2d892eb, baseline=1.45.0-SNAPSHOT~c24db361be
dateFormat X
axisFormat %s
section baseline
no_agent (384.206 µs) : 364, 404
. : milestone, 384,
iast (495.251 µs) : 474, 517
. : milestone, 495,
iast_FULL (661.994 µs) : 640, 684
. : milestone, 662,
iast_GLOBAL (529.49 µs) : 507, 552
. : milestone, 529,
iast_HARDCODED_SECRET_DISABLED (492.654 µs) : 471, 514
. : milestone, 493,
iast_INACTIVE (462.133 µs) : 440, 484
. : milestone, 462,
iast_TELEMETRY_OFF (483.389 µs) : 462, 505
. : milestone, 483,
tracing (452.947 µs) : 432, 474
. : milestone, 453,
section candidate
no_agent (368.025 µs) : 348, 388
. : milestone, 368,
iast (488.371 µs) : 467, 510
. : milestone, 488,
iast_FULL (654.308 µs) : 633, 676
. : milestone, 654,
iast_GLOBAL (520.701 µs) : 498, 543
. : milestone, 521,
iast_HARDCODED_SECRET_DISABLED (489.235 µs) : 468, 511
. : milestone, 489,
iast_INACTIVE (452.514 µs) : 431, 474
. : milestone, 453,
iast_TELEMETRY_OFF (485.772 µs) : 464, 507
. : milestone, 486,
tracing (442.733 µs) : 423, 463
. : milestone, 443,
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.45.0-SNAPSHOT~6cd2d892eb, baseline=1.45.0-SNAPSHOT~c24db361be
dateFormat X
axisFormat %s
section baseline
no_agent (1.468 ms) : 1457, 1479
. : milestone, 1468,
appsec (2.355 ms) : 2314, 2397
. : milestone, 2355,
iast (2.09 ms) : 2037, 2143
. : milestone, 2090,
iast_GLOBAL (2.127 ms) : 2074, 2180
. : milestone, 2127,
profiling (1.946 ms) : 1904, 1988
. : milestone, 1946,
tracing (1.93 ms) : 1889, 1970
. : milestone, 1930,
section candidate
no_agent (1.468 ms) : 1456, 1479
. : milestone, 1468,
appsec (2.337 ms) : 2295, 2379
. : milestone, 2337,
iast (2.091 ms) : 2038, 2144
. : milestone, 2091,
iast_GLOBAL (2.134 ms) : 2081, 2187
. : milestone, 2134,
profiling (1.95 ms) : 1908, 1992
. : milestone, 1950,
tracing (1.937 ms) : 1896, 1977
. : milestone, 1937,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~6cd2d892eb, baseline=1.45.0-SNAPSHOT~c24db361be
dateFormat X
axisFormat %s
section baseline
no_agent (14.962 s) : 14962000, 14962000
. : milestone, 14962000,
appsec (15.011 s) : 15011000, 15011000
. : milestone, 15011000,
iast (18.799 s) : 18799000, 18799000
. : milestone, 18799000,
iast_GLOBAL (18.238 s) : 18238000, 18238000
. : milestone, 18238000,
profiling (14.905 s) : 14905000, 14905000
. : milestone, 14905000,
tracing (15.219 s) : 15219000, 15219000
. : milestone, 15219000,
section candidate
no_agent (14.923 s) : 14923000, 14923000
. : milestone, 14923000,
appsec (15.061 s) : 15061000, 15061000
. : milestone, 15061000,
iast (18.796 s) : 18796000, 18796000
. : milestone, 18796000,
iast_GLOBAL (17.82 s) : 17820000, 17820000
. : milestone, 17820000,
profiling (15.088 s) : 15088000, 15088000
. : milestone, 15088000,
tracing (14.909 s) : 14909000, 14909000
. : milestone, 14909000,
|
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
from
December 18, 2024 14:06
eea748d
to
8c89366
Compare
manuel-alvarez-alvarez
requested review from
ValentinZakharov,
jandro996 and
smola
December 18, 2024 14:06
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
from
December 18, 2024 14:13
8c89366
to
b48fedf
Compare
smola
approved these changes
Dec 19, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
3 times, most recently
from
December 19, 2024 22:28
25c9ab7
to
1464796
Compare
Merged
7 tasks
jandro996
approved these changes
Dec 20, 2024
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
2 times, most recently
from
January 2, 2025 08:52
222ceb5
to
798c61d
Compare
manuel-alvarez-alvarez
force-pushed
the
malvarez/waf-ato-v3
branch
from
January 2, 2025 11:06
7da317c
to
6cd2d89
Compare
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
This pull request updates the user lifecycle tracking logic to align with the latest specifications. The key changes include:
Refactored Business Logic: Consolidated all handling of trace tags and WAF (Web Application Firewall) interactions within the
com.datadog.appsec.gateway.GatewayBridge
. This centralization enhances maintainability and clarity.New Address for User Login Property: Introduced a new address dedicated to the
usr.login
property.Renamed Telemetry Metric: The metric previously named
instrum.user_auth.missing_user_id
has been renamed toinstrum.user_auth.missing_user_login
. Additionally, two new tags have been integrated: one for the framework and another for the event type, providing more granular telemetry data.Motivation
This pull request is driven by the need to implement changes based on a newly issued RFC that consolidates all previous specifications. The RFC introduces several minor modifications, including a crucial distinction between user IDs and user logins. By adhering to this updated specification, we aim to enhance our system's accuracy and consistency in tracking user lifecycle events.
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: APPSEC-55579
RFC: Automated user lifecycle tracking