Hi, Jason.
1. I believe you're talking about audit logging of authentication events? Such feature is in development, but it will be an exclusive offer for customers (not planned for CE)
2. Custom person authentication scripts allow you a lot of flexibility. The only caveat is that you'll have to implement this logic yourself. You can do whatever check you want in the script and interrupt auth flow if some criteria isn't met, or add an extra step to it, like engage some 2fa or other more secure method. You can find examples [here](https://github.com/GluuFederation/oxAuth/tree/master/Server/integrations), check "allowed_countries" script in particular; please keep in mind we don't usually provide help with any kind of development tasks to community users; all sources are open though