nearform / udaru

Open source Access Manager for node.js
https://nearform.github.io/udaru
MIT License
124 stars 19 forks source link

List policy instances #521

Closed cianfoley-nearform closed 6 years ago

cianfoley-nearform commented 6 years ago

These endpoints are designed to work with the variables endpoints

Scenario: You've created a policy template with variables To view the variables (non-context) you would use the variables endpoint To then see where the Policy Templates are deployed you would use the instances endpoint

Through combining both policy instances can be found, and variables could be validated by a UI to ensure correct assignment. The variables endpoint can be used for something like a UI to facilitate variable assignment also.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.03%) to 93.002% when pulling 3f3aa319c69a08fb3470ae59de484dad2eca4270 on list-policy-instances into 53d09f08c6f7b49eb24c5d8acb751beca6e0d25b on policy-instance-update.