Create a Catalog Policy

The Catalog Policy applies to all Services in the catalog. For each rule in the Catalog Policy, the Always use Catalog rule checkbox specifies whether it overrides the same type of rule set at the Service or endpoint level.
  1. Navigate to the Policy Catalog.
  2. At the top of the list of Policies, click Catalog Policy.
  3. To add a rule:
    1. Click the plus icon for the category of rule to add:

      Policy builder

      The category panel opens. For example, the following shows the available Validation rules:
      Validation rules

    2. Click the rule to add.
      The rule settings panel opens. For example, the following shows Inbound TLS settings:
      Inbound TLS rule settings

    3. Optionally, in When this policy should be applied, enter an expression with the condition that must be true for the rule to apply. Without an expression, a rule applies to all requests.
      For example, the expression request.method == "GET" causes the rule to run only on GET requests.
    4. Configure the appropriate settings. Refer to Rule reference for explanations of the fields for each rule.
    5. Click Validate & save.
  4. For each rule that should take precedence over rules defined at the Service or endpoint level, check Always use Catalog rule.
  5. Repeat the previous steps to add other rules to this Policy.
  6. Optionally, click Add account to create an account for an outbound rule, then click the account type.
    For the steps and the fields for each account type, refer to Create an account in the Policy builder. Creating an account doesn't associate it with a rule. To associate it, select the account on the rule's Account tab, as described in Associate an account with an outbound rule.
  7. When the Policy contains all required rules, click Save.
After you save a Catalog Policy, you can Apply a Policy to a Service.
Tip: If you edit a Catalog Policy and click Save as you can save a copy of the Policy and create a regular Policy from it.