Authenticated Scans

This page explains how to run an authenticated scan with the API. For general info on HostedScan's authenticated scanning features see -

Steps to run an authenticated scan

  1. 1.
    Create a target using the create target API
  2. 2.
    Upload the recorded Selenium script to the target (see details below)
  3. 3.
    Start a scan with the create scan API while sending use_authentication: true in the request.

Uploading the recorded Selenium script

Make a POST request with content-type: multipart/form-data and one file to the endpoint https:/

Example using curl

curl -H "X-HOSTEDSCAN-API-KEY: <<your api key>>" -F file=@YouSeleniumRecording.side