Review API Scanning Prescan Results
In the Veracode Platform, you can review prescan results of your scanned API specifications. The prescan results indicate whether Veracode successfully reached and, if required, authenticated with the target server for each API endpoint included in the scan.
If you ran a full Dynamic Analysis of your API specification, instead of a prescan, see Understanding the Dynamic Analysis Coverage Report.
Before you begin:
- You have a Veracode account with the Creator, Submitter, or Security Lead role. Any member of the team associated with the Dynamic Analysis is able to view the analysis and its results.
- You have created an API specification scan and run a prescan.
- The scan status must be Completed - Results Available.
To complete this task:
- Log in to the Veracode Platform.
- Select Scans and Analysis > Dynamic Analysis.
- In the All Dynamic Analyses table, click the analysis name.
- Under API Specifications List, locate your specification.
- Select View Prescan Details from the dropdown menu in the Actions column to open the Scan Details page.
The Prescan Details page provides detailed information about the prescan, such as status and any scan configuration errors that you might need to correct before running a full scan. It also provides authentication and connection information that each request uses to access your target API server.
In the Request and Response section, you can review the requests to the endpoints included in the prescan. To ensure optimal performance, prescan only includes the first 100 endpoints from the specification. Requests in error are highlighted red with an error code in the Response column. Using the traffic defined in the specification, the prescan evaluates these requests to:
- Test the connectivity to the API server, particularly if the server is behind a firewall and you have configured an ISM gateway.
- Verify the authentication method for accessing the server. For example, a 401 in the Response column might indicate an authentication problem for that request.
- Optionally, at the top of the page, select the SCAN CONFIGURATION tab to view a summary of the API specification scan. You can download the uploaded specification in its original format or download the converted HAR file.