Highlighted
tarveen Absent Member.
Absent Member.
6233 views

WebInspect Rest API not working - Not able to create scans

Hi,

I am trying to start scans via webinspect API on the development server (using curl commands), but it seems to error out. I get message "An error has occured."

Few points:

1. The webinspect API is a licensed version (10.40) for some websites like zero.webappsecurity.com.

2. SQL server version is 2008.

3. I have attached a log file also with the debug information.

4. Is there some prerequisites for the settings file. I started a basic scan using the GUI and then saved it and used the same settings file for the api. Is that the right way?

4. Here is my curl command:


curl -d "settingsName=Default&overrides={\"ScanName\":\"testing11\",\"StartUrl\":\"http://zero.webappsecurity.com:80\",\"CrawlAuditMode\":\"CrawlAndAudit\",\"StartOption\":\"Url\",\"A... "http://<hostname>/webinspect/scanner/"

Any help is appreciated.

Thanks,

Tarveen

Labels (2)
Tags (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.