PingAuthorize

Setting the request list length for Decision Visualizer

In the PingAuthorize Policy Editor, you can select Policies, Decision Visualizer, and then Recent Decisions to view graphs of recent decisions, the times the requests were made, and the decision outcomes. The requests do not include test requests.

About this task

The RecentRequest.buffer.size parameter in the configuration file determines the number of recent decisions to choose from. To configure the Policy Editor to use a different value for this parameter, re-run the setup tool using an options file to generate a new configuration, as shown in the following steps.

Steps

  1. Make a copy of the default options file.

    Example:

    $ cp config/options.yml my-options.yml
  2. Edit the new options file and define RecentRequest.buffer.size in the core section.

    By default, the number of recent decisions is 20.

    Setting a buffer size greater than 20 can cause serious performance degradation.

    To disable the feature, set the value to 0.

    Example:

    core:
      RecentRequest.buffer.size: 10
    # Other options omitted for brevity...
  3. Stop the Policy Editor.

    $ bin/stop-server
  4. Run setup using the --optionsFile argument, and then customize all other options as appropriate for your needs.

    Example:

    $ bin/setup demo \
     --adminUsername admin \
     --generateSelfSignedCertificate \
     --decisionPointSharedSecret <shared-secret> \
     --hostname <pap-hostname> \
     --port <pap-port> \
     --adminPort  <admin-port>  \
     --licenseKeyFile <path-to-license> \
     --optionsFile my-options.yml
  5. Start the Policy Editor.

    Example:

    $ bin/start-server