-
Notifications
You must be signed in to change notification settings - Fork 476
Fix Sign-in logs location.state field to region field #13439
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 Sign-in logs location.state field to region field #13439
Conversation
🚀 Benchmarks reportTo see the full report comment with |
packages/azure/data_stream/signinlogs/elasticsearch/ingest_pipeline/default.yml
Show resolved
Hide resolved
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.
LGTM
Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
/test |
@muthu-mps , could you check the dependency of the removed field on the dashboard, especially : kibana/dashboard/azure-91224490-f1a6-11ec-a5a8-bf965bcd5646.json ? |
Suggestion: I understand that the field As with the case mentioned here, to minimize the impact, do you want to consider first deprecating the field |
|
💚 Build Succeeded
History
cc @muthu-mps |
This is not related to the Do we have similar filed mapping issue for activity logs?While looking into the ingest processor there is no incorrect mapping to the state field. Eventually, we need to revisit the activity logs data stream as well but not as part of this PR. ![]() |
I am not sure that we can remove this field. This is kept for backward compatibility as mentioned here. |
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.
LGTM for security-service-integrations owned files.
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.
LGTM!
Package azure - 1.23.1 containing this change is available at https://epr.elastic.co/package/azure/1.23.1/ |
Proposed commit message
Add a new field
region_name
to map the location.state data to this field. Initially this was mapped tocountry_name
which is not appropriate.Added script to drop the null/empty values in the document and updated with more descriptive on_failure error message.
Checklist
changelog.yml
file.Author's Checklist
Install the integration and verify the signin logs captures the state in region_name field instead of country_name.