Resource Center  >  Videos

Running a Scan Using a HAR File via the CLI

Speaker 1: Welcome to NeuraLegion. In this video, you’ll learn how to run a security scan using a ha file via the CLI without leaving your development environment. Are Legion uses data recorded in horror files to define the scope of the security scan and optimize the selected security tests. Using a ha, you can easily run a scan on a specific part of your application instead of testing the entire target. Perfect to test a new feature specific entry point or flow in your application, you can install the neural Legion Command line interface or CLI in your development environment and run scans directly from your CI pipeline. For the installation instructions. See our previous videos and documentation. Let’s get started. To use a ha file for a scan, you first need to upload it to your NeuraLegion storage. Once the file is uploaded, copy its generated ID. We’ve already configured an example with the command that runs a scan. Begin by specifying the HA file to be tested from the archive using the generated ID. Some target hosts may require authorization to be scanned directly from the cloud. In this case, you need to connect a local repeater for the scan. Please see our video in DOCS for guidance on this. Give the scan a name and assign a NeuraLegionproject for it. You will also need an API token with the correct permissions scopes. You can learn how to get this in our video about creating API tokens. We then need to define the cluster as follows. If you are using the neural Legion app on a private cloud, ensure you specify your custom cluster instead. That’s it. You’ve completed the setup and can now submit the command to start the scan. You can monitor the scan process and check the results on the scans page of the NeuraLegion app. Thanks for watching and happy scanning from all of us at NeuraLegion.