Skip to content

Magento installation filter

Choose a tag to compare

@ChristopheFerreboeuf ChristopheFerreboeuf released this 04 Mar 15:13
· 31 commits to main since this release
47c03dd

Added

  • Magento root auto-detection: When scanning a Magento installation root, EasyAudit now detects it automatically (2+ indicators: bin/magento, nginx.conf.sample, app/etc/env.php, generated/, pub/) and displays the list of auto-excluded directories
  • Default exclusion of Magento noise directories: vendor, generated, var, pub, setup, lib, dev, phpserver, update are now always excluded — no need to pass --exclude manually
  • Interactive vendor prompt: When a Magento root is detected in interactive mode, the user is asked whether to include the vendor/ directory in the scan (default: no)
  • --all-magento flag: In CI/CD environments, pass --all-magento to include vendor/ in the scan (auto-excluded by default)
  • Scanner::isMagentoRoot() public static method for Magento root detection

Fixed

  • --exclude now matches directory basenames: Previously, --exclude=custom only matched full paths; now it correctly skips directories by name during recursive scanning

Full Changelog: v1.0.1...v1.0.2