This example describes how to export all system 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 system 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}/systemscans
-H ‘Content-Type: application/json’
-H ‘ApiAccessKey: {ApiAccessKey}’
-H ‘ApiSecretKey: {ApiSecretKey}’
-
- Extract the Id from each of the returned system scans.
- Get a list of findings:
Use the previously extracted system scan Id as a parameter.
curl -X POST https://api.radar.f-secure.com/api/integration/systemscans/{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.