-
Notifications
You must be signed in to change notification settings - Fork 323
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
Automated Session Tracking #5060
Conversation
return | ||
} | ||
|
||
const isSdkCalled = rootSpan.context()._tags['usr.session_id'] |
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.
You can use USER_SESSION_ID
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.
no this is a tag, not an address, and we have hardcoded tags all around, we've never properly took the time to enum the tags used in appsec, not really a fan of doing it in this PR particularly
What does this PR do?
Adds instrumentation for
express-session
to get sessionIDs, send them to the WAF, feed them into our fingerprinting algorithm, and potentially block bad actors.ST PR: DataDog/system-tests#3755