CPC G06F 16/2445 (2019.01) [G06F 9/547 (2013.01); G06F 16/2246 (2019.01); G06F 16/2272 (2019.01); G06F 16/288 (2019.01)] | 14 Claims |
1. For a policy agent that executes on a host computer to process API-authorization requests from at least one application executing on the host computer, a method for optimizing performance for policies that perform search operations on datasets, the method comprising:
for a particular API-authorization policy, performing an offline first process (i) to identify one or more statements in the particular API-authorization policy that can be indexed and (ii) to generate an index for the particular API-authorization policy to map each identified statement to a set of associated index keys; and
for each statement in the generated index, performing an online second process (i) to evaluate the statement using available input data and (ii) to generate a tree structure comprising results of the evaluation, wherein the tree structure is keyed by the set of associated index keys from the index.
|