getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.08k stars 3.98k forks source link

ref(crons): Include monitor name in audit log entries #70014

Closed davidenwang closed 2 weeks ago

davidenwang commented 2 weeks ago

At the very least, adds the monitor name to the audit log entry to indicate which monitor was removed, added, edited, etc... Also changes the language a bit here to match the structure

example:

image
davidenwang commented 2 weeks ago

Where does it get these variables btw?

https://github.com/getsentry/sentry/blob/7a00c559245d9a7fc4cd944723753434aad53155/src/sentry/audit_log/manager.py#L74

and then from

https://github.com/getsentry/sentry/blob/056c17702449cf3ffa5864a83dd70ef78c56f7bc/src/sentry/monitors/models.py#L326