Understanding auditing standards and legal compliance