Highlighted
Frequent Visitor.
3586 views

Service now Integration for DAST Scans

Dear all,

We are trying to automate the scan progress by integrating the SSC & WebInpsect with Service now. 

Current scenario: 

1) Developers raise a ticket in service now with the application information. 

2) We check the if the URL is live, then move to SSC

3) Adding the project in the console and start the scan

4) Once the scan is completed, do the triage 

5) Generate the report, mail it to the developer

We would like to automate the process of scheduling scans and reporting phase so that we can focus more on the triaging. Please let me know what are the API's I should be using, where I can find the document for it. If anybody has previous experience in automating DAST using service now or any similar system let us know. It would be really helpful. 

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

SSC comes with an extensive REST API. The API documentation can be found by clicking the help/question mark button on the top right in SSC, and then following the link to the API documentation.

The API reference lists the various endpoints that you can use for automation, however for POST/PUT operations this reference may be insufficient to understand exactly what data to send, or in what order the various endpoints need to be called. For example, creating an application version requires multiple REST calls.

We provide some samples in the ssc-js-sandbox project that can be found at https://github.com/fortify. I have also developed my own Java API that covers a small subset of the SSC REST API; see https://github.com/rsenden/fortify-client-api-master. This API only covers a small subset of the SSC REST API, and is mostly meant for use by the various integrations that I have developed, but you may be able to re-use some of the functionality.

If you simply want to automate specific tasks in SSC, the easiest approach though is to simply perform those tasks manually through the SSC user interface, and then look at the REST requests made by the user interface. For example:

  1. In SSC, open the 'Create Application Version' wizard
  2. Fill in all the relevant details on the various wizard pages
  3. Before clicking the 'Finish' button on the final page, open Chrome/Firefox developer tools
  4. Select the networking tab in the developer tools, and make sure network monitoring is started
  5. Click the 'Finish' button in SSC, and find the relevant REST requests in the developer tools

 

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

For the DAST portion, there are different options outside of SSC Server.  For Fortify DAST, SSC is largely used as a results repository and management system and not for directing the scans themselves.  This may change in the future, but is not currently an option in SSC.

 

I posted a lot of options and details over at this other forum post:  https://community.microfocus.com/t5/Fortify-User-Discussions/How-to-initiate-WebInspect-scan-from-fortify-SSC/td-p/2762946


-- Habeas Data
Micro Focus Fortify Customers-Only Forums – https://community.softwaregrp.com/t5/Fortify/ct-p/fortify
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.