> For the complete documentation index, see [llms.txt](https://knowledgebase.autorabit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-analyzer/autofix/autofix-anypoint-studio.md).

# Autofix - Anypoint Studio

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

{% hint style="warning" %}
Make sure you have:

* Installed the latest version of [Anypoint Studio / WSO2](/product-guides/integral-zone/iz-suite/iz-scan/anypoint-studio/installation/install-iz-analyzer-studio.md) Integration Studio Plugin
* Configured the Business Group/Organization associated with the issued license.
* Valid license with Auto Fix module enabled
  {% endhint %}

### Enable Autofix

1. Go to **`Window`** -> **`Preferences`** -> **`IZ Preferences`**, and **`Sync Metadata`** if not done already
2. Click on **`Enable Auto Fix`**

### Auto Fix Issues

1. Go to **`Window`** -> **`Show View`** -> **`other`** -> **`IZ Analyzer`** -> select **`On the 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&#x20;
4. Use the **`Fix`** option to apply the fix to applicable files\
   &#x20;

   <figure><img src="/files/ySyDwBKqOvk4yXHArlpj" alt=""><figcaption></figcaption></figure>

### Auto Fix - Logs

1. Go to **`Window`** -> **`Show View`** -> **`other`** -> **`IZ Analyzer`** -> select **`Auto Fix Logs`**
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\
   &#x20;

   <figure><img src="/files/9UyBNhkl95aNT7J86tPR" alt=""><figcaption></figcaption></figure>

#### Details

* [Manage Anypoint Studio Plugin](/product-guides/integral-zone/iz-suite/iz-scan/anypoint-studio/installation/install-iz-analyzer-studio.md)
* [Manage Server Plugin](/product-guides/integral-zone/iz-analyzer/manage-server-plugin/install-server-plugin.md)

***

[SonarQube™](https://www.sonarqube.org) is a trademark belonging to SonarSource SA. For further information, please visit [www.sonarqube.org](https://www.sonarqube.org).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/integral-zone/iz-analyzer/autofix/autofix-anypoint-studio.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
