I have, in my spare time, begun work on a bash script to audit OSX.
A couple of caveats.
This is extremely new. Only a day or so old. The code reflects this - it's a quick and dirty hack (but it should work).
There is NO error checking.
It only returns the system, cpu and memory sections.
It works on my MacBook Pro Retina (late 2012) 10.8.4 ( Mountain Lion) - I have no idea if it will work on other Macs/OSX versions.
You have to run it as root. If you don't run it as root it will ask you for a password anyway - one of the function calls obviously requires root. I've not chased it down yet. Just run it as root or with sudo.
Just set the usual variables at the top of the script.
An additional option is "terminal_print" - set it to "y" and it will dump the result to the console (handy for debugging).