Kiuwan Scanner (SCA i.e. "Insights")
Import Kiuwan Insights Scan in JSON format. Export via API endpoint insights/analysis/security
as json and create a file for importing to DefectDojo.
Example Code
Data can be fetched from the Kiuwan REST API like this:
import requests, json
headers = {'Authorization': 'Basic $KIUWAN_TOKEN', 'Accept' : 'application/json'}
appName = "Test"
analysisCode = "A-111-1111111111"
URL = "https://api.kiuwan.com/insights/analysis/security?analysisCode=" + analysisCode + "&application=" + appName
response = requests.get(url = URL, headers = headers)
jsonResponse = r.json()
data = jsonResponse["data"]
saveFile("result.json", json.dumps(data, indent=2))
Sample Scan Data
Sample Kiuwan Scanner scans can be found here.
Last modified November 18, 2024: Merge pull request #11287 from DefectDojo/master-into-dev/2.40.2-2.41.0-dev (3b0fd30)