-
Bug
-
Resolution: Done
-
Major
-
None
-
False
-
False
-
** Note that this is a public ticket, please refrain from adding any sensitive data. **
As a customer who is determining the success of our patching process, I need an easy way to get a list of systems and all of the available updates, so that I can analyze this data according to my organizations patching standards.
Acceptance Criteria:
- The system export for patch systems includes three additional fields:
- packages_applicable - the number of package updates that are available from the Red Hat CDN
- packages_installable - the number of package updates that should be installed on the system based on content templates if managed from Insights OR based on content views if managed from Satellite and using the --build-packagecache check-in option
- last_evaluated - the date/time of the last evaluation of the system
----- Original text from issue creation -----
Issue:-
===========
Customer is currently not able to download the patch report through V2 using curl. Reports can only be downloaded through V2 API UI.
------
Navigate to https://console.redhat.com/docs/api/patch/v2#operations-default-exportSystems and click on the Try it out button. Scroll down and click on the Execute button.
------
But the report generated by V2 API is same as the report generated by V3 version. The same columns are missing from the report which are required by you. The V2 call is redirected to the V3 endpoint through web UI. That is the reason, the reports which are generated by V2 API is same as V3.
Below columns are missing from the report:-
insights_id, last_evaluation and packages_updatable.
Customer's requirement:-
======================
Re-activate the V2 version until the above columns are added to the V3 version. Or Add the columns in V3 version as soon as possible if there is no way to re-activate the V2.
- mentioned on