This example describes how to export all web scan findings from the latest scans.
-
- Get a list of scan groups within the current organization:
curl -X GET https://api.radar.f-secure.com/api/integration/scangroups/simple
-H ‘Content-Type: application/json’
-H ‘ApiAccessKey: {ApiAccessKey}’
-H ‘ApiSecretKey: {ApiSecretKey}’
-
- Extract the unique Id identifier from each of the returned scan groups.
- Get a list of web scans assigned to each scan group:
Use the previously extracted scan group Id as a parameter.
curl -X GET https://api.radar.f-secure.com/api/integration/scangroups/{scanGroupId}/webscans
-H ‘Content-Type: application/json’
-H ‘ApiAccessKey: {ApiAccessKey}’
-H ‘ApiSecretKey: {ApiSecretKey}’
-
- Extract the Id from each of the returned web scans.
- Get a list of findings:
Use the previously extracted web scan Id as a parameter.
curl -X POST https://api.radar.f-secure.com/api/integration/webscans/{scanId}\
/reports/latest/vulnerabilitiesandfindings/withstartindex/0/andpagesize/1000
-H ‘Content-Type: application/json’
-H ‘ApiAccessKey: {ApiAccessKey}’
-H ‘ApiSecretKey: {ApiSecretKey}’
-d ”
- Extract the required data such as Title or RiskLevel from each of the returned findings.