Listing Compliance Policies
List software patch compliance policies for various products that are running on OCI resources in Fleet Application Management.
A compliance policy is automatically generated for a product when it's created, except for Oracle Base Database Service, Oracle Exadata Database Service on Dedicated Infrastructure, Oracle Exadata OS, Oracle Clusterware, Oracle Linux, and Microsoft Windows which depend on the compliance policies these products support. See Fleet Compliance in Fleet Application Management.
Filtering List Results
Use filters to limit the compliance policies in the list. Perform one of the following actions depending on the options that you see:
- From the Search and Filter box above the list table, select one or more filters and specify the values that you want to use to narrow the list. In general, the filters correspond to the columns shown in the list table, although some filters represent attributes that aren't shown in the table. The Compartment filter is always displayed next to Applied filters.
- On the left side of the list page, select a value from one of the available filters, such as compartment, state, or tags.
Change the order of the items in the list table by using the sort icons next to the column names.
Actions
In the list table, select the name of a compliance policy to open its details page, where you can view its status and perform other tasks.
To perform an action on a compliance policy directly from the list table, select an available option from the
in the row for that compliance policy:- View details: Open the details page for the patch compliance policy.
- Copy OCID: Copy the OCID of the compliance policy to the clipboard.
To create a compliance policy rule for a custom compliance policy, select Create policy rule from the policy details page.
Use the oci fleet-apps-management fleet-apps-management-admin compliance-policy-collection list-compliance-policies command and required parameters to list software compliance policies for various products:
oci fleet-apps-management fleet-apps-management-admin compliance-policy-collection list-compliance-policies [OPTIONS]
For a complete list of flags and variable options for Fleet Application Management CLI commands, see the CLI for Fleet Application Management.
Run the ListComplianceRecords operation to list software compliance policies of various products that are running on OCI resources.