Auto Fix - Issues

Autofix is a feature, where static code analysis issues can be fixed automatically with the click of a button.

Make sure you have:

  • Installed and configured Falcon Scan Extension .

  • Purchased a valid license or generate a trial license for Mule Scanner or API Scanner or both.

Auto Fix Issues

  1. Navigate to Falcon Scan tab in the panel or use Ctrl+Shift+P (Cmd+Shift+P on macOS) and search for Falcon Scan: Fly Results to open the view fly results

  2. Preview and Fix options will be available in On the Fly Results table against applicable rules

  3. Use the Preview option to view the list of changes that the Fix would perform. No files will be updated in preview mode autofix preview

  4. Use the Fix option to apply the fix to applicable files autofix fix

Auto Fix - Logs

  1. Use Ctrl+Shift+P (Cmd+Shift+P on macOS) and search for >Falcon Scan: Auto Fix Logs to open the view

  2. An audit log of the applied fix will be generated in the target/izanalyzer/autofix-log.csv directory

  3. HTML report of the same will be displayed in Auto Fix Logs view autofix logs

See Also