PingFederate enables you to specify a filter/search query for your data source, then configure fields for your use case.
Follow this path to set up attribute queries from a custom datastore.
You can use the values returned from your data source in the applicable contract fulfillment window, the issuance criteria window, or both.