Qualys Cloud Platform 1.0 (PCRS) API notification 1
A new release of Qualys Cloud Platform 1.0 (PCRS) includes an updated API which is targeted for release in January 2022. The specific day will differ depending on the platform. See platform release dates on the Qualys Status page. This API notification provides an early preview into the coming API, allowing you to identify use cases that can leverage this updated API.
What’s New
Support for Compressed Reports with PCRS
/api/2.0/fo/report/
We are excited to introduce Policy Compliance Reporting Service (PCRS), a new reporting service to improve performance in Policy Compliance report generation. With PCRS, report generation is enhanced to be more efficient and faster. We are starting by enhancing policy reports in CSV format by automatically compressing large size reports. When you run a policy report in CSV format, the report will be in ZIP format if the report size is between 1 GB and 5 GB; while reports less than 1 GB will be in CSV format. Similar improvements to other report formats will be added soon. You can download reports from the user interface or fetch reports by using APIs.Note: This feature will be automatically enabled for customers with the release of Qualys Policy Compliance Reporting Service 1.0.0. Contact Qualys Support if you do not want this feature to be enabled for your subscription.
Please note there is more to PCRS than this one change to the existing Report API, we will be publishing the full PCRS API guide very soon.
Important: If you are currently using the Report API to launch and fetch compliance policy reports in CSV format, then it’s important to note that once PCRS is enabled for your subscription, any CSV compliance policy report that is over 1GB in size will be compressed automatically and you will get a ZIP file instead of a CSV file. You’ll need to update your code or work with your 3rd party vendor to monitor the response header and if the report is compressed, add a step to uncompress the ZIP file before parsing the data.
The release notes are here: https://www.qualys.com/docs/release-notes/qualys-pcrs-1.0.0-api-release-notes.pdf