I am trying to integrate the Webinspect with Jenkins using command and I am trying to pass my macro file which I generated manually from Webinspect UI.
cd C:\Program Files\Fortify\FW wi.exe -u "http://demo.testfire.net/" -ps 1004 -macro "C:\Program Files\Fortify\FW\workflow.webmacro" -ep "C:\Program Files\Fortify\FW\workflow.fpr" -r "Executive Summary"; Vulnerability -y "Standard" -f "C:\Program Files\Fortify\FW\Webinspectmaxro.pdf" -gp
Above command is the one which I am using for integration.
Issue
I am able to initiate the scan but my requirement is like I want scan to be initiated as workflow Driven scan using the macro. The macro I generated is using workflow macro(session based) I want my command to take only those urls in macro but not to crawl all web page.
The same macro file took only 13 min in manual (I have initiated as workflow driven scan) where command is taking 9 hours(which means it is scanning all web page) and also differ in vulnerability count.
I just want to know how to initiate workflow driven scan using wi.exe(using CLI).
Or pls suggest the any other way to initiate workflow driven scan from Jenkins.
Thanks