Reporting on users in /etc/sudoers

I’d like to report on users with privilege in AIX and Linux systems. So I need to parse lines in /etc/sudoers. Since many entries grant privileges to groups (e.g. %wheel) it would be really nice to expand groups.

Has anybody written an analysis like this?