Magento 2 Audit Tool Usage Please run this script in Magento 2 root after installing all modules. Run it php audit.php and you get result shown. Run php audit.php json and it will create audit.json into current working directory.