Deleting a Policy Rule

Delete a patch compliance policy rule for a product in Fleet Application Management.

Note

You can't delete a policy rule if the product to which the compliance policy applies is associated with a fleet, runbook, or product stack.
    1. On the Patch compliance policies list page, select the compliance policy that you want to work with. If you need help finding the list page or the compliance policy, see Listing Compliance Policies.
      All policy rules for the compliance policy are displayed.
    2. From the Actions menu (Actions Menu) for the policy rule, select Delete.
    3. In the Delete policy rule dialog box, select Delete.
  • Use the oci fleet-apps-management fleet-apps-management-admin compliance-policy-rule delete command and required parameters to delete a compliance policy rule:

    oci fleet-apps-management fleet-apps-management-admin compliance-policy-rule delete --compliance-policy-rule-id <compliance_policy_rule_OCID> [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 DeleteCompliancePolicyRule operation to delete a compliance policy rule.