Invicti Vulnerability Integration Help

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2023 02:27 PM
Hi all,
This is my first posts so hopefully I get it all the information down.
I am creating a Vulnerability Integration for Invicti and looking to use data sources (Invicti's integration is pretty basic so I've been instructed to mimic more robust AVR integrations like Veracode).
Currently I have a REST message that is pulling back a .json file. This is then paginated and each page attached to a Vulnerability Integration Process. These VINT's have data sources that are Type of File and Format of JSON. When I Test Load 20 Records on the Data Source Instance, I get an error:
com.glide.db.impex.datasource.DataSourceException: org.jaxen.XPathSyntaxException: Unexpected ''
I've validated that the JSON is in correct format via https://jsonlint.com/.
Does anyone know what that error message may be referring to?
Some more information is when I manually type the REST endpoint into my browser I find that an XML file appears. However after the following:
var response = message.execute();
var responseBody = response.haveError() ? response.getErrorMessage() : response.getBody();
The responseBody returns as JSON formatted file.