-
Is there a way how to notify admins via email about newly created using available source? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Have a look at https://docs.goauthentik.io/docs/sys-mgmt/events/notifications |
Beta Was this translation helpful? Give feedback.
-
Thanks, I know about that, however I wasn't able to filter user write event coming from source enrollment. |
Beta Was this translation helpful? Give feedback.
-
For that you'd need to write an expression policy to filter those. I recommend looking into the |
Beta Was this translation helpful? Give feedback.
-
Thanks for directing me the right way... return request.context["event"].action == "user_write" and request.context["event"].context["created"] does the thing. |
Beta Was this translation helpful? Give feedback.
Thanks for directing me the right way...
does the thing.