Skip to Main Content

Core Infrastructure

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Mismatch in security patch results in the Python SDK v/s OCI Console.

rahat-santosh-oracleMay 23 2023 — edited May 23 2023

I am using the OCI Python SDK to get a list of all the available patches in an instance. However, there seems to be a mismatch between the list given by the code and the list when I manually go through the OS management service for that instance. This appears to be an issue in certain instances, whereas in certain others both the results are the same.

What could be causing this? Is there anything additional that I would need to add to the code to prevent this from happening?

Python SDK Code:

os_management_client = oci.os_management.OsManagementClient(config)

list_available_updates = os_management_client.list_available_updates_for_managed_instance(managed_instance_id=instance_id)
This post has been answered by rahat-santosh-oracle on May 31 2023
Jump to Answer
Comments
Post Details
Added on May 23 2023
3 comments
1,195 views