Skip to main content

Scan Management

This guide covers how to monitor, manage, and troubleshoot Javelin RedTeam scans once they have been initiated. Learn how to track scan progress, cancel running scans, and handle failed scans.

Monitoring Scan Progress

Once a scan is initiated, it will enter the queued state and you'll be redirected to the Assessments List view.

Scan Progress Monitoring Dashboard

The status of the scan on this screen will transition from queuedrunningcompleted or failed.

Scan Status Indicators

StatusDescription
queuedScan is waiting in the queue to be processed.
runningScan is currently in progress.
completedScan completed successfully.
failedScan encountered an error during execution.
cancelledScan was manually cancelled during execution.

Scan Tracking

  • Each scan run is assigned a unique Scan ID and unique RunId for tracking and reporting purposes
  • You can monitor real-time progress in the Assessments List view
note

A completed status only indicates that the scan ran to completion. It does not imply a vulnerability-free result—vulnerabilities may still be present.

Cancelling a Scan

To cancel a running scan, click on the Abort button available in the Actions column of the scan table.

Scan Progress Monitoring Dashboard

A confirmation dialog will appear. Click Yes to confirm and abort the scan.

RedTeam Scan Abort Confirmation

Understanding Failed Scans

If a scan fails for any reason, an error code will be displayed in the Actions column of the scan table.

Quick Error Information

  • Hover over the error icon to view a quick description

Hover on Exit Code

Detailed Error Information

  • Click on Report to open the detailed scan report view

In the report view, you'll find:

  • Scan configuration details
  • Error code
  • Full error description

Failed Scan Report

Scan Exit and Error Codes

When a scan completes (successfully or with failure), it returns an exit code that indicates the outcome. These codes follow Unix/Linux conventions where 0 indicates success and non-zero values indicate various types of errors.

Exit Code Categories

Code RangeCategoryDescription
0SuccessScan completed successfully
100-103Resource ErrorsMemory, disk space, CPU, or concurrency limits
113-114Generic ErrorsUnidentified or internal system errors
120-123Authentication/AuthorizationAPI keys, permissions, or authentication issues
131-135Configuration ErrorsInvalid scan parameters or configuration
140-144Network/ConnectionNetwork timeouts, DNS, SSL, or proxy issues
160-163Target ApplicationTarget service errors, rate limiting, or unavailability
170-173System ErrorsDatabase, Redis, file system, or permission issues
180-186Scan ExecutionTimeouts, agent failures, or worker process issues

Common Exit Codes

CodeNameDescriptionCommon Cause
0SUCCESSScan completed successfullyEverything worked perfectly
180SCAN_TIMEOUTScan exceeded timeout limitMost common failure - scan took too long
141CONNECTION_FAILEDFailed to connect to targetTarget application unreachable
131INVALID_CONFIGScan configuration is invalidCheck your scan configuration
120AUTHENTICATION_FAILEDFailed to authenticate with targetVerify API keys and credentials
186WORKER_PROCESS_KILLEDWorker process was terminatedUsually indicates timeout or resource limits

Quick Troubleshooting Guide

If you see...Try this...
180, 181Reduce timeout or maxScenarios in scan config
141, 142Check target endpoint URL and network connectivity
120, 163Verify API keys and authentication credentials
131-135Review scan configuration parameters
100-103Reduce scan scope or wait for resources
tip

For a complete list of all exit codes, refer to the API documentation or contact support.

Next Steps

After successfully monitoring and completing your scan:

  1. Review Results: Check the Understanding Reports Guide for detailed analysis
  2. Remediate Issues: Address identified vulnerabilities based on severity
  3. Schedule Regular Scans: Integrate red team assessments into your security workflow