I know this has been posted before under: https://xenforo.com/community/threads/bug-while-banning-with-warning-points.99795/
Since that thread is in the "resolved" forum I didn't know if I should reply there (so I posted here).
In that thread, it's mentioned that the ban_user_id is intentionally left as 0 which is annoying but fine. It's also mentioned, however, that the triggered column should be set to 1 if the ban was caused by a warning action. For us, it looks like some banned users have triggered set to 1 and some are 0.
Looks like the permanent bans are triggered but the temporary bans are not. What's weird is (A) the inconsistency and (B) that all of our warning actions are temporary bans, not permanent.