Uploading an Archive

If an archive with that name already exists, the following error message displays this message: The file with that name already exists or the HAR file is corrupted.



If you plan to run a scan using an OAS file, you must specify a different discovery option by setting the --discovery to OAS.


<file>A collection of your app's http logs exported into a .HAR file. Typically, you can use any browser's dev tools, or a Cypress plugin to generate them. In addition, you can use an Open API Specification (OAS) file that describes your public API.


--token=apiKey, -t=apiKeyThe unique identifier used to authenticate a user. The token (API key) can be issued in your organization’s dashboard.
Required option.
The specification type, which helps determine the best way to parse passed files.

Default: --type har
--discard, -dWhen true, removes an archive from the cloud storage after the scan finishes running.

Default: --discard true
Extra headers to be passed with the OAS/Postman file. Also, it can be used to remove a header by providing a name without content. For example, -H "Host:".

Warning: Headers set with this option override the archive headers and are set in all requests.
(Deprecated). Embed variables directly into the file. For current best practices on handling variables, see the article. Environment variables passed with the Postman file.
--api=clusterUrl(Deprecated). Set the API endpoint domain, for VPC, use: --api <https://private-domain.brightsec.com>