PingAuthorize API Reference

Decision Node Testing

This endpoint provides the ability to create a test evaluation of a decision node. A decision node represents a policy or rule.

Entity testing data model

Property Type? Required? Mutable? Description

attributeValueOverrides

Map<String, String>

N/A

N/A

A map of attribute value overrides, where the key is the attribute name and the value is the overridden value.

attributes

Map<String, EvaluatedAttribute>

N/A

N/A

The evaluated attributes.

authorized

Boolean

N/A

N/A

Indicates whether the request was authorized.

condition

Condition

N/A

N/A

The condition evaluated during the decision process.

conditions

Collection of Condition

N/A

N/A

A list of conditions evaluated during the decision process.

decision

Decision

N/A

N/A

The decision made by the evaluation.

decisionRequest

DecisionRequest

N/A

N/A

The decision request object containing the details of the decision to be made.

decisionTree

DecisionNode

N/A

N/A

The decision tree used in the evaluation.

elapsedTime

long

N/A

N/A

The time elapsed during the evaluation process.

evaluationLog

Collection of LogEntry

N/A

N/A

A log of the evaluation process.

externallyResolvedAttributes

Map<String, String>

N/A

N/A

A map of externally resolved attributes.

request

EntityTestingRequestDTO

N/A

N/A

The request object associated with this response.

result

ValueRepresentation

N/A

N/A

The result of the evaluation.

results

Collection of ValueRepresentation

N/A

N/A

A list of results from the evaluation.

serviceValueOverrides

Map<String, String>

N/A

N/A

A map of service value overrides, where the key is the service name and the value is the overridden value.

services

Map<String, EvaluatedService>

N/A

N/A

The evaluated services.

statements

Collection of Statement

N/A

N/A

A list of statements evaluated during the decision process.

status

DecisionStatus

N/A

N/A

The status of the decision.

timestamp

Instant

N/A

N/A

The timestamp when the response was generated.