> For the complete documentation index, see [llms.txt](https://docs.nullify.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nullify.ai/capabilities/pentests/engagement-workflow.md). Agents can also search and read this documentation through its [MCP server](https://docs.nullify.ai/~gitbook/mcp).

# Engagement Workflow

You can request a pentest assessment from the Nullify dashboard, the Nullify CLI or the [DAST GitHub Action](https://docs.nullify.ai/tools/dast-action.md). Our team reviews every request before the pentest runs.

Before requesting an assessment, review [Preparing for an Engagement](https://docs.nullify.ai/capabilities/pentests/preparing-for-an-engagement.md) and agree on the scope with your Nullify contact.

## Dashboard

Use **Request assessment** in the dashboard to submit an application for review. You can open the run page if an assessment is already underway or awaiting review.

<figure><picture><source srcset="https://3946391995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FId2OtLCL6O6V3XSRYxtr%2Fuploads%2Fgit-blob-826847f79db5cde5dd758a13beeee10c1c895572%2Frequest-assessment-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3946391995-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FId2OtLCL6O6V3XSRYxtr%2Fuploads%2Fgit-blob-db4428b7143ee6b608083a4794b537839f4a5b2c%2Frequest-assessment.png?alt=media" alt="Request assessment dialog"></picture><figcaption></figcaption></figure>

The screenshot shows the request dialog before an application is selected. Submitting a request starts review. You can follow progress and results in the dashboard after Nullify starts the assessment.

## CLI

From CLI version 0.29.0, `nullify pentest` requests an assessment of an application configured in Nullify, as **Request assessment** does in the dashboard. Set up the application, its targets and its credentials in Nullify first, as described in [Preparing for an Engagement](https://docs.nullify.ai/capabilities/pentests/preparing-for-an-engagement.md). The command returns once the request is recorded: the scan is awaiting review and no traffic has been sent to the target.

Install the CLI and authenticate:

```bash
curl -sSfL https://raw.githubusercontent.com/Nullify-Platform/cli/main/install.sh | sh -s -- --host 'api.<TENANT>.nullify.ai'
nullify auth login --host 'api.<TENANT>.nullify.ai'
```

In CI, set `NULLIFY_TOKEN` to a service-account token instead of logging in. See [API Configuration](https://docs.nullify.ai/configuration/configuration-api.md) for how to generate one. Inside GitHub Actions you can pass the workflow's GitHub token with `--github-token` and the CLI exchanges it for a Nullify token — see [CLI Authentication](https://docs.nullify.ai/cli/cli/authentication.md).

Request an assessment:

```bash
nullify pentest \
  --app-name    "Payments API" \
  --target-host "https://api.staging.example.dev"
```

* `--app-name` names the application, or `--app-id` gives its ID. When you set both, they must name the same application.
* `--target-host` picks the deployment to test when the application runs at more than one address. Give the deployment's URL. When no deployment has exactly that URL, a single deployment on the same host and port is used.
* The command refuses a target that is marked production or is not confirmed as non-production.
* The output is JSON with `scan_id`, `status`, `awaiting_review`, `target_url` and `check_with`. `status` is `awaiting_manual` while our team reviews the request. Check the scan later with `nullify pentest get-pentest-scans <scan_id>`.

The API schema, credentials and identities come from the application's configuration, not from the command. To test more than one identity, attach one credential per identity to the application, as described in [Preparing for an Engagement](https://docs.nullify.ai/capabilities/pentests/preparing-for-an-engagement.md).

### Earlier CLI versions

CLI versions before 0.29.0 call API routes that no longer exist, so `nullify pentest` fails. From CLI version 0.29.0, `--spec-path`, `--header`, `--auth-config`, `--github-repo` and `--local` are removed, and passing one fails with an unknown-flag error. To test a target that is not reachable from the internet, see [Running in Private Networks](https://docs.nullify.ai/capabilities/pentests/private-networks.md).

## Continuous Integration

Use the [DAST GitHub Action](https://docs.nullify.ai/tools/dast-action.md), or run the CLI in your pipeline. In GitHub Actions, pass the workflow token and the CLI exchanges it for a Nullify token:

```yaml
- name: Nullify pentest
  run: |
    nullify --host "api.<TENANT>.nullify.ai" --github-token "${{ secrets.GITHUB_TOKEN }}" pentest \
      --app-name    "Payments API" \
      --target-host "https://api.staging.example.dev"
```

The step requests the assessment and returns; it does not wait for the pentest to run. `nullify ci gate` checks existing open findings; it does not wait for this scan or restrict results to new findings. `nullify ci report` produces Markdown which your pipeline can publish. See [CI gate limitations](https://docs.nullify.ai/cli/cli.md#ci-gate-and-report).

Request assessments on release branches or a schedule.

## What to expect

Findings and evidence appear on the run page. You can download the PDF report after the engagement completes.

## Readiness, budgets, and scan states

Readiness and estimates depend on the application's configuration and your workspace's access. Discuss requirements with your Nullify contact during review. Treat estimates as planning inputs.

| API status             | Meaning for the operator                                                                                                                                                     |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `queued`               | Accepted for later execution.                                                                                                                                                |
| `in progress`          | Execution is underway. The serialized value contains a space.                                                                                                                |
| `pausing`              | Our team paused the run; it is stopping its traffic and saving its progress.                                                                                                 |
| `paused`               | The run is paused and sends no traffic. It keeps the application, so a new run of it cannot start until the run is resumed or stopped.                                       |
| `resuming`             | The run is starting again from its saved progress.                                                                                                                           |
| `stopping`             | A stop request is being processed.                                                                                                                                           |
| `completed`            | The workflow completed; inspect findings, stages, and coverage.                                                                                                              |
| `cancelled`            | The run was cancelled.                                                                                                                                                       |
| `failed`               | The run failed; inspect the recorded error.                                                                                                                                  |
| `aborted_config_error` | Configuration prevented execution. Correct it before retrying.                                                                                                               |
| `human_fallback`       | Automated execution handed off for operator attention.                                                                                                                       |
| `awaiting_manual`      | The request is waiting for our team to review it. Every assessment you request from the dashboard, the CLI or the API starts here. It does not mean an operator has started. |
| `skipped`              | The run was skipped; inspect the reason.                                                                                                                                     |

A terminal state alone does not establish that every endpoint or identity was tested. Use the run's activity, state, evidence, and report together. DAST autofix uses its own state/activity workflow; do not substitute the SAST/SCA cache routes.
