Configuring the Decision Response View
Use the Decision Response View to increase or decrease the size of the policy decision response from the policy decision point (PDP).
When a client application makes a request for API resources, PingAuthorize Server returns a decision response payload that includes, at minimum, basic information about the server instance, the requested API resources, and the inbound and outbound flow of data. The payload also includes any views added to the Decision Response View. By default, no views are present. PingAuthorize then passes the full response payload to the Policy Decision Logger.
Adding or removing views in the Decision Response View alters the verbosity of the response payload and the size of the policy-decision.log
file.
|
You can add the following views to the Decision Response View:
Decision Response View | Description | ||
---|---|---|---|
attributes |
Inclludes full details of attributes evaluated during policy decision evaluation. |
||
decision-tree |
Includes detailed output tracing the decision’s policy evaluation flow. |
||
evaluated-entities |
Includes attribute and service resolution details. This is equivalent to specifying both attributes and services. |
||
evaluation-log |
Includes attribute and service resolution details. This is similar to specifying evaluated-entities, but the data are expressed in a flat format. |
||
evaluation-log-with-attribute-values |
Includes attribute and service resolution details. This is equivalent to specifying evaluation-log but also includes values and types for successful attribute resolutions. |
||
request |
Includes the full decision request object.
|
||
services |
Includes full details of services invoked during policy evaluation. |
Use the administrative console or dsconfig
to configure the Decision Response View.
-
Admin console
-
dsconfig
Use the administrative console
Steps
-
Go to Configuration > Authorization and Policies and click Policy Decision Service.
-
In the Policy Request Configuration section, next to Decision Response View, select a response view and click the arrow.
-
Click Save to PingAuthorize Server Cluster.
Use dsconfig
Steps
-
Run
dsconfig
with theset-policy-decision-service-prop
subcommand.Example:
PingAuthorize/bin/dsconfig set-policy-decision-service-prop \ --no-prompt --port 5409 --useSSL --trustAll \ --bindDN "cn=directory manager" \ --bindPassword secret \ --add decision-response-view:request
In this example, the
request
view is added to the Decision Response View.