-
Notifications
You must be signed in to change notification settings - Fork 185
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 enduser domain and add enduser.authentication.id
#1456
base: main
Are you sure you want to change the base?
Changes from 1 commit
3e1655f
6f858a2
07cb1eb
ee0970f
38d8687
b1cdc13
068a822
e05d7a3
c17bec6
0fa3ffc
d0e26d5
614a52e
a499237
5bfbfe2
5f883d0
13919ed
272ded3
5c0d6d3
ff85999
d626e6c
cb32498
1c53711
51d0c99
5d10c08
949bae8
9778890
23bb6fe
f0623df
435fc1b
ca87ccc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -414,34 +414,7 @@ system. It is expected this information would be propagated unchanged from node- | |
using the Baggage mechanism. These attributes should not be used to record system-to-system | ||
authentication attributes. | ||
|
||
Examples of where the `enduser.id` value is extracted from: | ||
|
||
| Authentication protocol | Field or description | | ||
| :---------------------- | :------------------------------ | | ||
| [HTTP Basic/Digest Authentication] | `username` | | ||
| [OAuth 2.0 Bearer Token] | [OAuth 2.0 Client Identifier] value from `client_id` for the [OAuth 2.0 Client Credentials Grant] flow and `subject` or `username` from get token info response for other flows using opaque tokens. | | ||
| [OpenID Connect 1.0 IDToken] | `sub` | | ||
| [SAML 2.0 Assertion] | `urn:oasis:names:tc:SAML:2.0:assertion:Subject` | | ||
| [Kerberos] | `PrincipalName` | | ||
|
||
| Framework | Field or description | | ||
| :---------------------- | :------------------------------ | | ||
| [JavaEE/JakartaEE Servlet] | `javax.servlet.http.HttpServletRequest.getUserPrincipal()` | | ||
| [Windows Communication Foundation] | `ServiceSecurityContext.Current.PrimaryIdentity` | | ||
|
||
[SAML 2.0 Assertion]: http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html | ||
[HTTP Basic/Digest Authentication]: https://tools.ietf.org/html/rfc2617 | ||
[OAuth 2.0 Bearer Token]: https://tools.ietf.org/html/rfc6750 | ||
[OAuth 2.0 Client Identifier]: https://tools.ietf.org/html/rfc6749#section-2.2 | ||
[OAuth 2.0 Client Credentials Grant]: https://tools.ietf.org/html/rfc6749#section-4.4 | ||
[OpenID Connect 1.0 IDToken]: https://openid.net/specs/openid-connect-core-1_0.html#IDToken | ||
[Kerberos]: https://tools.ietf.org/html/rfc4120 | ||
[JavaEE/JakartaEE Servlet]: https://jakarta.ee/specifications/platform/8/apidocs/javax/servlet/http/HttpServletRequest.html | ||
[Windows Communication Foundation]: https://docs.microsoft.com/dotnet/api/system.servicemodel.servicesecuritycontext?view=netframework-4.8 | ||
|
||
Given the sensitive nature of this information, SDKs and exporters SHOULD drop these attributes by | ||
default and then provide a configuration parameter to turn on retention for use cases where the | ||
information is required and would not violate any policies or regulations. | ||
`enduser.pseudo.id` attribute can be set by a specific client component, e.g. through a cookie out of the Span's HTTP request headers. Client side application should be able to stamp this attribute on any telemetry item emitted by the application whenever this cookie is available. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @lmolkova please let me know your thoughts on this statement. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't know if my suggestion is factually correct - please adjust it, but I'd phrase it differently - something along the following lines:
I would also put it above the table. I think it should also replace the content of lines 413-415 above
|
||
|
||
## General thread attributes | ||
|
||
|
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 would prefer to keep this table - it actually explains what the
enduser.id
is - we don't provide an explanation like this anymore. Is this information still accurate and can it be used to captureenduser.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.
enduser.id
has been replaced with 'enduser.pseudo.id`. i don't think it makes sense to keep it.