-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix azure fields names #14098
Fix azure fields names #14098
Conversation
jenkins test this |
1 similar comment
jenkins test this |
type: keyword | ||
description: > | ||
Initiated by user | ||
- name: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name |
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.
Something looks wrong here, is this the expected field name?
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.
@exekias , yes:
azure.activitylogs.identity.claims.name
azure.activitylogs.identity.claims.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
azure.activitylogs.identity.claims.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname
azure.activitylogs.identity.claims.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname
are used as filters for the dashboards.
An example of the filebeat index (when the activity has been initiated by an user):
....
"claims" : {
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" : "...",
"aio" : "...",
"iss" : "...",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn" : ...",
"puid" : "...",
"wids" : "...",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" : "...",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname" : "...",
"exp" : "1571242827",
"ipaddr" : "...",
"iat" : "...",
"ver" : "1.0",
"groups" : "...",
"http://schemas.microsoft.com/claims/authnmethodsreferences" : "pwd",
"uti" : "...",
"aud" : "https://management.core.windows.net/",
"http://schemas.microsoft.com/claims/authnclassreference" : "1",
"nbf" : "...",
"appidacr" : "2",
"http://schemas.microsoft.com/identity/claims/tenantid" : "...",
"appid" : "...",
"name" : "...",
"http://schemas.microsoft.com/identity/claims/objectidentifier" : "...",
"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" : "...",
"http://schemas.microsoft.com/identity/claims/scope" : "user_impersonation"
}
....
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.
Oh understood, thanks. What about the rest of claims in that example? I see aio
, iss
and many more. Should we map those?
* Fix azure fields names * Add changelog entry * Add claims fields * Add "claims.name" field (dashboards) * Create claims_initiated_by object * REmove dummy pipeline file * Fix condition on category and initiated_by fields (cherry picked from commit 6f9dcd9)
* Fix azure fields names (#14098) * Fix azure fields names * Add changelog entry * Add claims fields * Add "claims.name" field (dashboards) * Create claims_initiated_by object * REmove dummy pipeline file * Fix condition on category and initiated_by fields (cherry picked from commit 6f9dcd9) * Changelog cleanup
* Fix azure fields names * Add changelog entry * Add claims fields * Add "claims.name" field (dashboards) * Create claims_initiated_by object * REmove dummy pipeline file * Fix condition on category and initiated_by fields
* Fix azure fields names (elastic#14098) * Fix azure fields names * Add changelog entry * Add claims fields * Add "claims.name" field (dashboards) * Create claims_initiated_by object * REmove dummy pipeline file * Fix condition on category and initiated_by fields (cherry picked from commit 87deb79) * Changelog cleanup
Replaced
type
withprovider
andresource_group
withgroup
in the azure resource object.