API gateway policy request attributes
There are many policy request attributes generated by the security gateway, including attributes nested within the attributes
, HttpRequest.AccessToken
, HttpRequest.ClientCertificate
, and Gateway
fields.
The following table identifies the attributes of a policy request that the gateway generates.
Policy request attributes | Description | Type |
---|---|---|
|
Identifies the gateway request processing phase and the HTTP method, such as GET or POST. The value is formatted as Example values include |
String |
|
Identifies additional attributes that do not correspond to a specific entity type in the PingAuthorize Trust Framework. For more information about these attributes, see the following table. |
Object |
|
Unused |
String |
|
Identifies the access token validator that evaluates the bearer token used in an incoming request. |
String |
|
Identifies the API service. By default, this attribute is set to the name of the Gateway API Endpoint, which can be overridden by setting the Gateway API Endpoint’s service property. Multiple Gateway API Endpoints can use the same service value. |
String |
The following table identifies the additional attributes that are included in attributes
.
Attribute | Description | Type |
---|---|---|
|
Provides additional gateway-specific information about the request not provided by the following attributes. |
Object |
|
Parsed access token. For more information, see the following table. |
Object |
|
Properties of the client certificate, if one was used. |
Object |
|
A unique value that identifies the request and response, if available. |
String |
|
The client IP address. |
String |
|
Request URI query parameters. |
Object |
|
The request body, if available. |
Object |
|
The HTTP request headers. |
Object |
|
The request URI. |
String |
|
Portion of the request URI path following the inbound base path that the Gateway API Endpoint defines. |
String |
|
The response body, if available. This attribute is provided only for outbound policy requests. |
Object |
|
The HTTP response headers, if available. |
Object |
|
The HTTP response status code, if available. |
Number |
|
The access token subject as a SCIM resource, as obtained by the access token validator. |
Object |
The access token validator populates the HttpRequest.AccessToken
attribute, which contains the fields in the following table. These fields correspond approximately to the fields that the IETF Token Introspection specification (RFC 7662) defines.
Attribute | Description | Type |
---|---|---|
|
The actual access token from the client request. |
String |
|
Indicates whether this access token is currently active, as determined by the access token validator. |
Boolean |
|
Identifies the recipients for whom the access token is intended. Typically, the authorization server sets this field to indicate the resource servers that might accept the token. |
Array |
|
The client ID of the application that was granted the access token. |
String |
|
Date and time at which the access token expires. |
DateTime |
|
Date and time at which the access token was issued. |
DateTime |
|
Token issuer. This attribute is usually a URI that identifies the authorization server. |
String |
|
Date and time before which a resource server does not accept the access token. |
DateTime |
|
Identifies the list of scopes granted to this token. |
Collection |
|
Token subject. This attribute is a user identifier that the authorization server sets. |
String |
|
User identifier that was resolved by the access token validator’s token resource lookup method. This attribute is always a SCIM ID of the form |
String |
|
The token type, as set by the authorization server. This value is typically set to |
String |
|
Flag that the access token validator sets to indicate that the token was issued originally to a subject. If this flag is |
Boolean |
|
Subject’s user name. This attribute is a user identifier that the authorization server sets. |
String |
The following table identifies the fields that the HttpRequest.ClientCertificate
attribute contains.
Attribute | Description | Type |
---|---|---|
|
Name of the certificate signature algorithm, such as |
String |
|
Signature algorithm OID. |
String |
|
Distinguished name (DN) of the certificate issuer. |
String |
|
Expiration date and time of the certificate. |
DateTime |
|
Earliest date on which the certificate is considered valid. |
DateTime |
|
DN of the certificate subject. |
String |
|
Regular expression that must be matched by the subject field of the certificate to ensure that the certificate belongs to the requesting client. |
String |
|
Indicates whether the certificate is valid. |
Boolean |
The following table identifies the fields that the Gateway
attribute contains.
Attribute | Description | Type |
---|---|---|
|
Portion of the HTTP request URI that matches the Gateway API Endpoint’s |
String |
|
Portion of the HTTP request URI that follows the |
String |
base path parameters |
Parameters used in a Gateway API Endpoint’s |
String |
custom attribute |
The |
String |