-
Notifications
You must be signed in to change notification settings - Fork 174
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 all commits
3e1655f
6f858a2
07cb1eb
ee0970f
38d8687
b1cdc13
068a822
e05d7a3
c17bec6
0fa3ffc
d0e26d5
614a52e
a499237
5bfbfe2
5f883d0
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
# | ||
# If your change doesn't affect end users you should instead start | ||
# your pull request title with [chore] or use the "Skip Changelog" label. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: enhancement | ||
|
||
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) | ||
component: enduser | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: introduce new attribute `enduser.authentication.id` and deprecate `enduser.authentication.role`, and `enduser.authentication.scope`. | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
# The values here must be integers. | ||
issues: [1104] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | | ||
The new attribute `enduser.authentication.id` is intended to provide an unique identifier of an authenticated enduser. | ||
The deprecated attributes `enduser.authentication.role` and `enduser.authentication.scope` are removed from the enduser registry. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!--- Hugo front matter used to generate the website version of this page: | ||
---> | ||
|
||
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. --> | ||
<!-- see templates/registry/markdown/attribute_namespace.md.j2 --> | ||
|
||
# Authentication | ||
|
||
## Authentication Attributes | ||
|
||
"Describes the authentication information of an authenticated user." | ||
|
||
| Attribute | Type | Description | Examples | Stability | | ||
| ------------------- | ------ | --------------------------------------------------------- | -------------------------------------------------- | ---------------------------------------------------------------- | | ||
| `authentication.id` | string | Unique identifier of an authenticated user in the system. | `S-1-5-21-202424912787-2692429404-2351956786-1000` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
@@ -0,0 +1,35 @@ | ||||
groups: | ||||
- id: registry.enduser | ||||
type: attribute_group | ||||
display_name: End User Attributes | ||||
brief: > | ||||
Describes information about the end user, which can be used as a subdomain of browser, client, or user domains. | ||||
attributes: | ||||
- id: enduser.id | ||||
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. It seems confusing to set https://github.com/open-telemetry/semantic-conventions/pull/1146/files#r1712997369 and https://github.com/open-telemetry/semantic-conventions/pull/1146/files#r1710187141 It'd be more clear if we called this one 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. per earlier discussion, it seemed that 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. do you mean that 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 like 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. some examples semantic-conventions/schemas/1.19.0 Line 32 in d5d2b9d
nesting is used for 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. Not that I really want to extend the discussion further, but based on @jsuereth comments and understanding from his perspective, I can see how
From these comments, I would suggest the It's also represents a possible "linkable" identifier, while on it's own it doesn't identify the user, but in conjunction with other attributes it (may) be possible to identify the 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. My concerns around anonymous still apply. I don't think the id is really anonymous and can't be considered as such. It's a tracking id, and should be considered sensitive 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. how about 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.
Let's create a list of options and add pros/cons. 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 @trisch-me Please review and fill in anything that i may have missed.:
|
||||
type: string | ||||
stability: experimental | ||||
brief: > | ||||
Identifier of an end user who interacts with a system. | ||||
This identifier may be unique only through best-effort means and does not imply that the user is authenticated to the system. | ||||
examples: ['QdH5CAWJgqVT4rOr0qtumf'] | ||||
- id: enduser.role | ||||
heyams marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
type: string | ||||
deprecated: "Removed." | ||||
stability: experimental | ||||
brief: 'Actual/assumed role the client is making the request under extracted from token or application security context.' | ||||
examples: 'admin' | ||||
- id: enduser.scope | ||||
heyams marked this conversation as resolved.
Show resolved
Hide resolved
|
||||
type: string | ||||
deprecated: "Removed." | ||||
stability: experimental | ||||
brief: > | ||||
Scopes or granted authorities the client currently possesses extracted from token | ||||
or application security context. The value would come from the scope associated | ||||
with an [OAuth 2.0 Access Token](https://tools.ietf.org/html/rfc6749#section-3.3) | ||||
or an attribute value in a [SAML 2.0 Assertion](http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0.html). | ||||
examples: 'read:message, write:files' | ||||
- id: enduser.authentication.id | ||||
type: string | ||||
brief: "Unique identifier of an authenticated user in the system." | ||||
examples: [ 'S-1-5-21-202424912787-2692429404-2351956786-1000' ] | ||||
stability: experimental |
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 think this should be inside
enduser.md
. If you add it like this, it will introduce a new "area" calledauthentication
which is not what you are doing in this PR. The authentication attributes are insideenduser
namespace which is the area. Please move it toenduser.md