SCAP Cyberscope Report - Scan Results

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

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 ParametersInput Parameters

Parameter

Required/Optional

Data Type

Description

scan_id={value}

 Required

Integer

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://qualys base url/fo/report/fdcc/fdcc_scan_result.php?id=4297720

scan_ref={value}

Required

Integer 

Scan reference number for a SCAP scan.

ips={value}

Optional

Integer 

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

Integer 

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 IDSample - Select Scan by Scan ID

API Request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://<qualys_base_url>/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 ReferenceSample - Select Scan by Scan Reference

API Request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://<qualys_base_url>/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 FilterSample - Select Scan by Scan ID, IPs Filter

API Request

curl -u "USERNAME:PASSWORD" -H "X-Requested-With: Curl" "https://<qualys_base_url>/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"