Add OS security patch level to app context
Problem Statement
There are security patches from OS vendors, that break critical parts of the storage and break librarires and apps. It happened recently with a security patch from Samsung. See more info here.
Solution Brainstorm
In order to investigate this type of issues, it's valuable to have OS security patch level reported to sentry tags. We've now added it manually on our side, but I think it would be great to have it by default coming from Sentry.
Product Area
Issues
┆Issue is synchronized with this Jira Improvement by Unito
Assigning to @getsentry/support for routing ⏲️
Hi, thank you for the message,
can the patch level be mapped to one of the values we already send in the OS Context?
https://develop.sentry.dev/sdk/event-payloads/contexts/#os-context
Maybe the OS Build number?
Could you share a code snippet of how you added it?
I'm moving this to the sentry-java repository as sentry-react-native uses the Android SDK to collect this kind of information.
We're planning to add this to the app context, which means it'll be visible in the UI on the issue, but not searchable for now due to processing/storage restraints.
For inspiration on how to retrieve the patch level: https://stackoverflow.com/questions/41545674/how-to-determine-the-security-patch-level-of-an-android-device
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀