Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OpenAPI Scan

OpenAPI Scan analyzes REST APIs for security vulnerabilities. Upload an OpenAPI (Swagger) specification file in YAML or JSON format that defines your API endpoints, operations, and request/response formats. The scanner discovers and tests all exposed endpoints for common vulnerabilities.

Prerequisites

  • An OpenAPI definition file (.json, .yaml, or .yml) for the target API.
  • The OpenAPI file must accurately reflect the deployed API for complete and reliable scan results.

Adding a Scan

From the sidebar, click OpenAPI Scans. If no scans exist, click Start First Scan. Otherwise, click New Scan in the top-right corner.

First scan page

Select your OpenAPI file by clicking Click to upload or by dragging and dropping it.

New scan form

Unauthenticated Scan

Tests API endpoints without authentication credentials, simulating an anonymous external user.

Unauthenticated scan

Authenticated Scan

Tests API endpoints using valid credentials. Supported authentication methods:

  • Basic Authentication - Username and password
  • Bearer Token - Authorization token
  • API Key - Custom API key header

Authenticated scan

Warning

Only run authenticated scans on UAT or non-production environments. Authenticated scans may have write access and can modify or delete data, trigger real business actions (emails, payments), and pollute databases with test data.

After configuring the scan, click Start OpenAPI Scan.

Note

Scans are queued and run sequentially. If other scans are pending, the new scan will start after they complete. If this is the first scan, it starts immediately.

Viewing Scans

Click OpenAPI Scans in the sidebar to view all scans.

Scan list

Each row shows:

ColumnDescription
API URLThe API endpoint being scanned
StatusCurrent scan state (see below)
CompletedDate and time the scan finished
ActionsReport, Error Logs, View Results, Delete

Scan Statuses

StatusMeaning
PendingWaiting for other scans to complete
ScanningCurrently in progress
CompletedFinished with report generated
FailedDid not complete due to an error
UnreachableTarget URL cannot be accessed from the server
StoppedManually stopped by user

Stopping a Scan

Click the Stop icon on a running scan to stop it. Partial results will be generated.

Stop scan

Report

Available after scan completion. The report includes:

  • Overall CVSS score and severity
  • Executive summary with key findings, risk assessment, and recommendations
  • CVE and CVSS metrics
  • Remediation guidance and references

Report

Error Logs

During scanning, the API Scanner fuzzes the target API. If the server returns 5xx errors, the requests and responses are captured in a downloadable file.

Error logs

Note

Error log downloads are only available when server errors were encountered during the scan.

Scan Results

Click View Results to view vulnerability details within the panel. The scan results page shows:

  • CVSS score chart
  • Scan details
  • Vulnerability count by severity: Critical, High, Medium, Low, Info

Alerts view

Exporting Reports

Click Export Report to download scan results. Available formats:

  • Excel Spreadsheet
  • DOCX Report

Export report

Vulnerability Details

Click a vulnerability title to view its details.

Alert detail

Deleting a Scan

Click the Delete icon and confirm to remove a scan.

Delete scan