Please take a look at https://github.com/apache/ranger/blob/master/agents-common/src/test/java/org/apache/ranger/plugin/policyengine/TestPolicyEngine.java and https://github.com/apache/ranger/blob/master/agents-common/src/test/resources/policyengine/test_policyengine_hdfs.json (or any other files in that directory). These may provide some help.
Thanks! On Wed, Sep 30, 2020 at 12:42 PM Elliot West <tea...@gmail.com> wrote: > Hello is there any way I can use ranger’s rest API to evaluate access > request against my services and sets of policies? I would like to validate > some use cases before building out a complete plug-in for one of our > in-house services. > > I was hoping that I might be able to do this by implementing a minimal > service and service definition and then supplying sets are policies which I > could with then exercise using the rest API. > > Many thanks, > > Elliot. >