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)