StackHawk Documentation StackHawk Logo HawkDocs

No results found

Try different keywords or check your spelling

Search documentation

Find guides, API references, and more

esc

Add an Application

Every scan in StackHawk runs against an application record, a lightweight object that holds your app’s identity, environment, and configuration. This guide walks through adding an application, configuring it, and running your first scan.

  1. Log into the StackHawk Platform.
  2. Click Add an App to open the Create an Application panel.
  3. Enter your application details:
    • Application Name — a recognizable name (e.g., repo name, service name).
    • Host — the base URL where your app runs. Pick https:// or http:// from the protocol dropdown and enter the host (e.g., test.your-api.com).
    • EnvironmentDevelopment, Staging, Production, or Custom (with a custom environment name).
  4. Click Next to move on to configuration.

StackHawk Platform - Create an Application, Application Details

Next, choose how you want to configure your scan. Pick the path that fits your workflow. You can always change it later.

Configure with StackHawk Agent

Log in to your app in a secure browser session. We'll create your app and build your scan configuration for you. Your app must be publicly reachable from the internet.

Configure with Guided Fields

Set up your scan using guided fields. Best for when you already know your app's endpoints and auth details.

The StackHawk Agent launches a secure browser session against your running app and generates a tailored scan configuration from your real traffic, including routes, parameters, and auth flows. This is powered by FlightPath, and it’s the fastest way to get high-fidelity coverage without hand-writing any YAML.

A few things to know:

  • Your app must be publicly reachable from the internet for the Agent to connect.
  • FlightPath is available on paid plans. Free-trial accounts will see an Upgrade prompt on this option.

See FlightPath documentation for setup instructions.

The guided Config Form lets you set up your scan directly in the StackHawk platform through a step-by-step form. Best for when you already know your app’s endpoints and auth details, or when your app isn’t publicly reachable. Common options include:

  • Authentication — configure login so the scanner can test protected routes
  • API Specifications — upload OpenAPI, GraphQL, or SOAP specs to expand coverage
  • Environment Variables — pass secrets and runtime values to the scanner
  • Scan Policy — select which plugins and tests run

Changes save directly to your application record and apply to every scan unless overridden locally in a stackhawk.yml file.

With your application created and configured, you’re ready to scan. StackHawk supports three scan targets. Pick whichever fits where your app runs.

Local Scan

Run HawkScan from your machine against a locally-running app. Best for development and quick iteration.

Scan locally

CI/CD

Run HawkScan in your pipeline on every PR or merge. Best for automated, continuous coverage.

Set up CI/CD

Hosted Scanner

Run scans from StackHawk's infrastructure, with no local install or CI/CD wiring. Best for production and staged environments reachable from the internet.

Use Hosted Scanner

If you want to try a local scan right now, install HawkScan and run the following from your project root with a stackhawk.yml file containing your applicationId:

$ hawk scan

See Quick Start for full setup.

Your privacy settings

We use first and third party cookies to ensure that we give you the best experience on our website and in our products.