> For the complete documentation index, see [llms.txt](https://support.attackforge.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.attackforge.com/app/getting-started/retesting.md).

# Retesting and Remediation

## Overview <a href="#overview" id="overview"></a>

Finding a vulnerability is only half the job. The other half is proving it's been fixed. AttackForge tracks every vulnerability's remediation history, from **Open** to **Retesting** to **Closed**, so everyone can see what was fixed, who fixed it, when, and whether the fix held up.

Any team member can record a fix, mark it ready and request a round. Users with Edit access approve the round, retest each vulnerability and complete the round. A vulnerability that's still not fixed is re-opened and goes round again.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FDTyC0nPSWHrvWzACzXGs%2Fretesting-at-a-glance.svg?alt=media&amp;token=00ad2f27-13b6-4731-a44a-79c507eea5e5" alt=""><figcaption></figcaption></figure>

## Why retesting in AttackForge matters <a href="#why-retesting-in-attackforge-matters" id="why-retesting-in-attackforge-matters"></a>

* **One shared record.** Remediation notes, plans, retest evidence and status changes all sit on the vulnerability, rather than in emails and spreadsheets.
* **Clear hand-offs.** Engineering teams mark fixes as ready, request a retest when it suits them, and testers know exactly what's in scope.
* **Proof of closure.** Each closed vulnerability has evidence from the retest behind it, which is what auditors, clients and risk owners want to see.
* **Nothing slips.** Target remediation dates and automated follow-up emails keep fixes moving.

## Who benefits <a href="#who-benefits" id="who-benefits"></a>

| Who                                  | How                                                                                |
| ------------------------------------ | ---------------------------------------------------------------------------------- |
| **Developers and engineering teams** | Record what they fixed, mark it ready, and request a retest without chasing anyone |
| **Testers**                          | Get a defined scope, a test window and the fix history before they start           |
| **Security and delivery managers**   | Approve rounds and track remediation progress across the project                   |
| **Clients and risk owners**          | See evidence that each finding was actually fixed                                  |

## The retesting journey <a href="#the-retesting-journey" id="the-retesting-journey"></a>

1. **Record the fix.** Add remediation notes, and a remediation plan if it's enabled.
2. **Mark it ready.** Set the vulnerability to **Ready for Retesting**.
3. **Request a retest round.** Choose a test window and the vulnerabilities to include.
4. **Approve the round** (optional).
5. **Perform the retest.** Close each vulnerability that's fixed, and re-open each one that isn't.
6. **Complete the round.** The project team is notified.

## Who can do what <a href="#who-can-do-what" id="who-can-do-what"></a>

| Task                                     | Who                                                          |
| ---------------------------------------- | ------------------------------------------------------------ |
| Add remediation notes                    | Any project team member                                      |
| Mark a vulnerability Ready for Retesting | Any project team member                                      |
| Request a retest round                   | Any project team member                                      |
| Approve a retest round                   | Users with **Edit** access to the project                    |
| Perform a retest and complete the round  | Users with **Edit** access to the project                    |
| Cancel a retest round                    | The requestor, and users with **Edit** access to the project |

## Add remediation notes <a href="#add-remediation-notes" id="add-remediation-notes"></a>

Remediation notes record what's been done to fix a vulnerability, when it was done and who did it. They give the tester the context they need for the retest, and they build the remediation history that clients and auditors rely on.

Any project team member can add remediation notes.

**To add a note to one vulnerability:**

1. Open the vulnerability.
2. Click the **Remediation** icon on the right-hand side.
3. Write the note and save it.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2F9kSkjjEnpTJVokdHl9Ps%2FScreenshot%202026-11-01%20at%2010.33.55%E2%80%AFam.png?alt=media&amp;token=6419e230-d86b-413e-864c-83c691750029" alt=""><figcaption></figcaption></figure>

**To add the same note to several vulnerabilities:**

1. Go to the project's vulnerabilities list.
2. Select the vulnerabilities.
3. Choose **Actions > Add Remediation Note**.
4. Write the note and save it.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FIYNMeASaqDFMc0v7rUK1%2FScreenshot%202026-11-01%20at%2010.35.08%E2%80%AFam.png?alt=media&amp;token=00532a8d-f2e1-4a34-9a85-9e62dba9a7bf" alt=""><figcaption></figcaption></figure>

## Set a remediation plan <a href="#set-a-remediation-plan" id="set-a-remediation-plan"></a>

A remediation plan sets out how and when a vulnerability will be fixed. It's especially useful when a fix needs to be scheduled, such as a patch waiting for a change window.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FyIvBQgXjTjT2EWGdBURg%2FScreenshot%202026-11-01%20at%2010.38.10%E2%80%AFam.png?alt=media&amp;token=50c0af91-3338-482a-8734-4d9783ae7037" alt=""><figcaption></figcaption></figure>

The **Remediation Plan** field must first be enabled in the Administration module in **Administration > Projects > Vulnerabilities > Features > Remediation Plan**. Once it's enabled:

1. Open the vulnerability.
2. Add the remediation plan, including a **Target Remediation Date**.
3. Save it. The vulnerability now tracks the Target Remediation Date.

You can use the Target Remediation Date in **Custom Time-Based Emails**, which follow up on vulnerabilities automatically. For example, you could remind the asset owner a week before the target date.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FWBKq0uS5EnNaHmePorKv%2FScreenshot%202026-11-01%20at%2010.37.48%E2%80%AFam.png?alt=media&amp;token=ea386da7-f2c4-44b8-be9d-a2db9b8bcfa4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FviB8v3F473plKtQwMek7%2FScreenshot%202026-11-01%20at%2010.37.58%E2%80%AFam.png?alt=media&amp;token=b3c8745e-c95b-4db7-8fdf-06b886361d2a" alt=""><figcaption></figcaption></figure>

## Mark a vulnerability ready for retesting <a href="#mark-a-vulnerability-ready-for-retesting" id="mark-a-vulnerability-ready-for-retesting"></a>

When a fix is in place, tell the security team it's ready to be checked. Any project team member can do this.

1. Open the vulnerability.
2. Click **Update Status > Ready for Retesting**.
3. Optionally, add a remediation note explaining the fix. This helps the tester understand what was changed.
4. Confirm.

You can also mark several vulnerabilities as ready at once from the vulnerabilities list.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2F1MQLjbA6vktKijVwDXzf%2FScreenshot%202026-10-31%20at%2010.55.55%E2%80%AFpm.png?alt=media&amp;token=1d973dc2-632d-4d14-af64-a6a2f5124c98" alt=""><figcaption></figcaption></figure>

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2Fxusdp2mvhn3pPstpx3Rx%2FScreenshot%202026-10-31%20at%2010.56.25%E2%80%AFpm.png?alt=media&amp;token=ed56ab15-c708-4307-8d17-c3004ac4a8e0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FGbu38qfo2m0c8VVzGwiZ%2FScreenshot%202026-10-31%20at%2010.56.07%E2%80%AFpm.png?alt=media&amp;token=db20028d-e67a-4c18-a6e4-b2ec15936712" alt=""><figcaption></figcaption></figure>

## Request a retest round <a href="#request-a-retest-round" id="request-a-retest-round"></a>

A retest round groups the vulnerabilities to be retested together, in an agreed test window. This means the testing team can schedule the work, and the requestor knows when to expect results.

1. Open the project and go to **Retesting**.
2. Click **Request Retest**.
3. Select the test window when the retest can take place.
4. Select the vulnerabilities to include in this round.
5. Fill in any custom fields your organisation has added. See [Custom fields and forms](https://support.attackforge.com/app/getting-started/custom-fields-and-forms).
6. Click **Request Retest**.

You'll get a confirmation email. Administrators, and any other users set up to be notified, also get an email.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FkcjwVOz007zgcjLgWfMh%2FScreenshot%202026-11-01%20at%2010.40.58%E2%80%AFam.png?alt=media&amp;token=b084f95b-6099-43f6-8ed6-a6a60f4d2097" alt=""><figcaption></figcaption></figure>

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FDQHrI3cYRlvMR9CUfZf9%2FScreenshot%202026-11-01%20at%2010.40.38%E2%80%AFam.png?alt=media&amp;token=5516f8db-a71e-4e9d-a255-100943c772bb" alt=""><figcaption></figcaption></figure>

## Update a retest round <a href="#update-a-retest-round" id="update-a-retest-round"></a>

Who can change a round depends on its status. To change it, choose **Actions > Edit** on the round.

| Round status  | Who can change it                              |
| ------------- | ---------------------------------------------- |
| **Requested** | The requestor                                  |
| **Approved**  | Only users with **Edit** access to the project |
| **Completed** | No one. The round can't be changed.            |
| **Cancelled** | No one. The round can't be changed.            |

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FdG6wvYiGpqAzfNkTr7D7%2FScreenshot%202026-11-01%20at%2010.42.20%E2%80%AFam.png?alt=media&amp;token=0fdba7dd-57ce-4c58-b8a0-fb45f25cd261" alt=""><figcaption></figcaption></figure>

## Approve a retest round <a href="#approve-a-retest-round" id="approve-a-retest-round"></a>

Approval lets the security or delivery team confirm the round before testing starts, for example by checking the test window and scope. Approving a round is optional.

Users with **Edit** access to the project can approve a round. The requestor gets an email when it's approved. After approval, the requestor can no longer edit the round, but users with Edit access still can.

## Perform a retest <a href="#perform-a-retest" id="perform-a-retest"></a>

You need **Edit** access to the project to perform a retest. The vulnerabilities in scope are listed under **Retesting**.

For each vulnerability in scope:

1. **Check the workspace** for the information and context you need to set up the retest.
2. **Read the remediation notes** to understand what's been done to fix it.
3. **Retest the vulnerability.**
4. **Upload evidence**, such as screenshots and proof of what you observed.
5. **Add a remediation note** recording what you found.
6. **Close the vulnerability** if it's fixed, or **re-open it** if it isn't.

When you've retested every vulnerability in scope, choose **Complete Round** from the actions menu. The project team gets an email to say the retest is complete.

## Track retesting <a href="#track-retesting" id="track-retesting"></a>

* **Global retesting rounds as a list:** see the Projects module.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FenVzrK2c0euDaCHDBFDb%2FScreenshot%202026-11-01%20at%2010.44.38%E2%80%AFam.png?alt=media&amp;token=d20c5529-db80-4410-8f7d-e163ae8a7dda" alt=""><figcaption></figcaption></figure>

* **Global retesting rounds as a calendar:** see the Scheduling module.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FAA1kNLtc24k2ym1ZlrcM%2FScreenshot%202026-11-01%20at%2010.44.56%E2%80%AFam.png?alt=media&amp;token=823ef98a-5810-4b2d-8d36-266754597421" alt=""><figcaption></figcaption></figure>

* **Project dashboard:** see the project's retesting history.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FBaw3dmhhyk2LKegDGzXB%2FScreenshot%202026-11-01%20at%2010.49.52%E2%80%AFam.png?alt=media&amp;token=3d0d303f-8dbd-40e1-835a-95f3ee1767e7" alt=""><figcaption></figcaption></figure>

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2Fn804z7FinYKaTvmOoOP5%2FScreenshot%202026-11-01%20at%2010.47.51%E2%80%AFam.png?alt=media&amp;token=3642353b-3d54-4374-87cb-1b386d2e1f2d" alt=""><figcaption></figcaption></figure>

* **Retest rounds table:** see every retest round on the project.

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2FD7VSyBpDcR0DXED42MUQ%2FScreenshot%202026-11-01%20at%2010.49.17%E2%80%AFam.png?alt=media&amp;token=b1f5e721-6912-41ba-87d9-9260fb75f784" alt=""><figcaption></figcaption></figure>

## Cancel a retest round <a href="#cancel-a-retest-round" id="cancel-a-retest-round"></a>

If a round is no longer needed, for example because the fixes weren't deployed in time, the requestor or a user with **Edit** access to the project can cancel it.

1. Open the round.
2. Choose **Cancel Round** from the actions menu.

When a round is cancelled:

* every vulnerability in scope goes back to **Open**
* a remediation note is added to each one, recording that the status changed because the retest was cancelled

You can request a new round at any time.

## Retest in a new project with Project Clone <a href="#retest-in-a-new-project-with-project-clone" id="retest-in-a-new-project-with-project-clone"></a>

Retest rounds keep the retest inside the original project. Sometimes a separate project works better. For example:

* the retest is a separate engagement, with its own dates, team or statement of work
* you want a separate report and schedule for the retest
* you're retesting only the open vulnerabilities from a previous project, or from an earlier round of annual testing

The **Clone Project** workflow sets up the retest project from the original, so you don't have to start again.

### What's carried over <a href="#whats-carried-over" id="whats-carried-over"></a>

* **Project settings:** name, codes, test suites, scope, email templates, portfolios, custom fields and the project team. You can change any of these before the clone is created.
* **Workspace:** all notes and files.
* **Project notes:** all notes, except private ones.
* **Executive summary:** including any uploaded files.
* **Vulnerabilities:** only the ones you choose, such as those still open.

### Vulnerabilities are shared, not copied <a href="#vulnerabilities-are-shared-not-copied" id="vulnerabilities-are-shared-not-copied"></a>

Vulnerabilities you bring across are **linked to both projects**, not duplicated. When a tester closes or re-opens a vulnerability in the retest project, the change shows in the original project too. The assets the vulnerabilities affect are added to the new project's scope. The full history is kept, so you can see when each vulnerability was first found, retested and closed.

### To clone a project for a retest <a href="#to-clone-a-project-for-a-retest" id="to-clone-a-project-for-a-retest"></a>

Only Administrators and Project Coordinators can clone a project.

1. Go to the **Projects** module.
2. Choose **Clone Project** from the original project's actions menu.
3. Check the settings that are carried over, and update them for the retest, such as the name, dates and scope.
4. Select the vulnerabilities to retest.
5. Choose any cloning options.
6. Click **Review and Create Project**.

Then retest the vulnerabilities in the new project in the usual way. You can still use retest rounds in the new project if the Retesting feature is turned on for it.

See [Creating and managing projects](https://support.attackforge.com/app/getting-started/creating-and-managing-projects) for more about cloning.

### Retest round or cloned project? <a href="#retest-round-or-cloned-project" id="retest-round-or-cloned-project"></a>

| Use a retest round when                                    | Use a cloned project when                                               |
| ---------------------------------------------------------- | ----------------------------------------------------------------------- |
| The retest is part of the same engagement                  | The retest is a separate engagement, or is quoted and billed separately |
| The same team does the retest                              | The team, dates or scope are different                                  |
| One report covering both the test and the retest is enough | You want a separate report for the retest                               |

## Automate retesting with Flows <a href="#automate-retesting-with-flows" id="automate-retesting-with-flows"></a>

Many teams track fixes in a ticketing system, not in AttackForge. **Flows** can keep the two in step. For example:

* when a Jira ticket moves to Done, a Flow sets the matching vulnerability to Ready for Retesting and adds the ticket's resolution as a remediation note
* when a retest closes or re-opens a vulnerability, a Flow updates the ticket

See [Flows](https://support.attackforge.com/app/modules/flows).

## Retest with AI agents <a href="#retest-with-ai-agents" id="retest-with-ai-agents"></a>

Retesting is one of the best tasks to automate. The hard work of finding and exploiting the vulnerability is already done, and the steps to reproduce it are on record. An AI agent can rerun those steps against each vulnerability and record the result in AttackForge.

### Why use agentic retesting <a href="#why-use-agentic-retesting" id="why-use-agentic-retesting"></a>

* **Faster verification.** Fixes are checked as soon as they're ready, without waiting for a tester to be free.
* **Reproducible evidence.** The agent follows the same reproduction steps every time.
* **Parallel retesting.** Many vulnerabilities can be retested at once.
* **Regression checks.** Retests can be run again on a schedule, to catch fixes that have been undone.

### How it works <a href="#how-it-works" id="how-it-works"></a>

1. Someone runs an **Action** from the project's **Actions** menu.
2. The Action starts a **Flow**, which sends the project to your AI agent.
3. The agent uses the AttackForge MCP tools to find the vulnerabilities to retest, and reruns the reproduction steps for each one.
4. The agent updates each vulnerability: it closes or re-opens it, and adds a remediation note recording what it found.

You can follow the agent's progress in your agent platform. For example, the OpenClaw Gateway Control UI shows each session live.

### Set it up <a href="#set-it-up" id="set-it-up"></a>

1. **Set up your agent.** The guide uses OpenClaw on a Linux server with an AI model from Microsoft Foundry, but any agentic system will work. The agent needs web search, its config files, and the testing tools for the targets in scope. Harden the environment before you start: OpenClaw's default settings are not secure.
2. **Protect the agent's endpoint.** Put a reverse proxy such as NGINX in front of it, and use an IP allowlist and an authorisation key.
3. **Give the agent the AttackForge MCP tools it needs.** These are Find Project, Find Vulnerabilities, Patch Vulnerability, Update Vulnerability Status, Create Remediation Note, Get Args Schema for Tool, Get Field Structure and Count Vulnerabilities.
4. **Create a Flow.** Set the trigger type to **Action** and restrict it to **Project**. Add an HTTP action that sends a POST request with the `project_id` to your agent's hook URL. Store the hostname, API key and hook name as secrets.
5. **Create an Action.** Under **System Actions**, create an Action for the **Project** entity and select your Flow. If others will use it, give them access to the Action.

For the full walkthrough, see [Agentic retesting](https://support.attackforge.com/app/ai-agentic-workflows#agentic-retesting).

### Keep a person in the loop <a href="#keep-a-person-in-the-loop" id="keep-a-person-in-the-loop"></a>

Agents are good at reproducing a known exploit against a known target. They're much weaker at deciding whether a different kind of fix really closes the weakness. For example, they might not be able to tell whether a WAF rule is as good as a code fix. A tester should review the agent's results, especially closures, before they're reported to the client.

| Use an agent for                       | Keep a person for                                                                         |
| -------------------------------------- | ----------------------------------------------------------------------------------------- |
| Rerunning known reproduction steps     | Judging fixes that work differently from what was expected, such as compensating controls |
| Retesting many vulnerabilities at once | Retests that need manual exploitation or business-logic judgement                         |
| Scheduled regression checks            | Signing off results before they go to the client                                          |

Agentic retesting updates vulnerability statuses directly. How it fits with retest rounds isn't covered in the guide, for example whether the agent completes the round.

## Tips <a href="#tips" id="tips"></a>

* **Always explain the fix.** A short remediation note when you mark something ready saves the tester time, and makes a first-time pass more likely.
* **Batch fixes into one round.** Requesting a single round for related fixes is easier to schedule than many small ones.
* **Pick a realistic test window.** Make sure the fixes are deployed to the environment being tested before the window starts.
* **Upload evidence for closures too.** Proof that a fix works is as valuable as proof that it doesn't.
* **Use target remediation dates and time-based emails** so overdue fixes are followed up automatically.
* **Cancel rounds you no longer need**, so the tester's queue stays accurate.

## FAQ <a href="#faq" id="faq"></a>

**Who can mark a vulnerability ready for retesting?** Any project team member.

**Do retest rounds have to be approved?** No. Approval is optional.

**Why can't I edit my retest round?** It's been approved, completed or cancelled. Once it's approved, only users with Edit access to the project can change it. Completed and cancelled rounds can't be changed.

**Why can't I perform the retest?** You need Edit access to the project.

**What happens to the vulnerabilities if a round is cancelled?** They go back to **Open**, and each one gets a remediation note recording the change.

**What if a fix doesn't work?** The tester re-opens the vulnerability and records what they found. Once it's fixed again, it can go into a new round.

**Who's told when a retest is finished?** The project team gets an email when the round is completed.

## Related pages <a href="#related-pages" id="related-pages"></a>

* [Updating vulnerabilities](https://support.attackforge.com/app/getting-started/updating-vulnerabilities)
* [Reviewing and QA vulnerabilities](https://support.attackforge.com/app/getting-started/reviewing-and-qa-vulnerabilities)
* [Reporting](https://support.attackforge.com/app/getting-started/reporting)
* [Project workspace](https://support.attackforge.com/app/getting-started/project-workspace)
* [Custom fields and forms](https://support.attackforge.com/app/getting-started/custom-fields-and-forms)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.attackforge.com/app/getting-started/retesting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
