Viewing the Security Updates Report
View the security updates report in OS Management Hub. This report indicates whether the instances are up-to-date on security patches and provides details about associated security advisories.
Use the oci os-management-hub managed-instance summarize-analytics command and required parameters to return metrics for a compartment of managed instances.
oci os-management-hub managed-instance summarize-analytics --compartment-id ocid --metric-names INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the SummarizeManagedInstanceAnalytics operation to return metrics for a collection of managed instances.