Let’s take a look at the Test endpoint and set it up to record recent decisions.

You can configure a decision endpoint to keep track of recent decisions made during policy evaluation. This can cause a slower system response, so the setting is disabled by default. During policy development, enable this setting as a debugging tool to help you visualize and examine recent decisions.

  1. Go to Authorization > Decision Endpoints.
  2. Expand the Test endpoint and click the Pencil icon.

    Screen capture of the expanded Test endpoint in Decision Endpoints.

    The Editing window opens, and you can see that the endpoint is using the policy version that you published to it.

    Screen capture of editing options for the Test endpoint in Decision Endpoints.

    If you’re wondering about Use latest, this setting allows you to use the latest policy version instead of a specific named version. This republishes the latest version each time a request is made to the endpoint and can cause a slower system response. Don’t enable this setting right now.

  3. Select the Record recent decisions check box.

    When decision requests are made against your policy, this option keeps track of the last 20 decisions and allows you to examine those decisions in detail.

  4. Click Save.

You’ve published your policy to an endpoint where it can be tested and you’ve set up the Test endpoint to keep track of recent decisions.

Next, you’ll make decision requests against your policy.