SCAP Cyberscope Report - Scan Results

/api/2.0/fo/asset/host/cyberscope/fdcc/scan/

[GET]  [POST]

Create a Cyberscope report using scan results for a particular SCAP scan in the user’s account. This report is supported using PC/SCAP.

Permissions - Users must have the PC and SCAP modules enabled for the subscription. Sub-accounts (Unit Managers, Scanners and Readers) must have the "Manage compliance" permission enabled.

Cyberscope report specification and the LASR format  

Input Parameters

Parameter

Description

scan_id={value}

(scan_id or scan_ref is required)

To obtain the SCAP scan ID, log into the Qualys application and go to PC/SCAP > Scans > SCAP Scans to view the SCAP scans in your account. Hover over the SCAP scan that you’re interested in and view the scan results (select View from the Quck Actions menu). You’ll see the scan results URL in your browser and the scan ID value appears in the "id" parameter, as shown in this sample URL:

https://qualyguard.qualys.com/fo/report/fdcc/fdcc_scan_result.php?id=4297720

scan_ref={value}

(scan_id or scan_ref is required)

Scan reference number for a SCAP scan.

ips={value}

(Optional) IPs and/or IP ranges used to filter the report output. When specified only IPs provided here are included in report. Multiple entries are comma separated.

organization_name1={value}

organization_name2={value}

organization_name3={value}

(Optional) Organization name values.

When the parameters organisation_name1, organisation_name2, and organisation_name3 are specified, the <ai:Organization> elements are included in the XML report.

Sample - Select scan by scan ID

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://qualysapi.qualys.com/api/2.0/fo/asset/host/cyberscope/fdcc/scan/?scan_id=4244823&organisation_name1=Name1&organisation_name2=Name2&organisation_name3=Name3"84725.4360&organisation_name1=Name1&organisation_name2=Name2&organisation_name3=Name3"

Sample - Select scan by scan reference

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://qualysapi.qualys.com/api/2.0/fo/asset/host/cyberscope/fdcc/scan/?scan_ref=qscap/1337984725.4360&organisation_name1=Name1&organisation_name2=Name2&organisation_name3=Name3"

Sample - Select scan by scan ID, IPs filter

API request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://qualysapi.qualys.com/api/2.0/fo/asset/host/cyberscope/fdcc/scan/?scan_id=4268027&ips=10.10.26.183&organisation_name1=Name1&organisation_name2=Name2&organisation_name3=Name3"