Machine inspection and audit framework