Creating a Policy Rule
Create a patch compliance policy rule for a custom product in Fleet Application Management.
The policy rule is created and is listed under Policy rules on the compliance policy details page. Use the oci fleet-apps-management fleet-apps-management-admin compliance-policy-rule create command and required parameters to create a compliance policy rule:
oci fleet-apps-management fleet-apps-management-admin compliance-policy-rule create --compliance-policy-id <compliance_policy_OCID> --display-name <text> --patch-selection <json_file_or_string> --patch-type-id <patch_type_OCID> --product-version <json_file_or_string> [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 CreateCompliancePolicyRule operation to create a compliance policy rule.