A policy for Aserto's sample "Todo" application.
src contains all the policy files.
src/.manifest contains the policy roots - in this case, policies and todoApp. If you change the name of the package definitions in the .rego files, make sure that the first component of the package name is reflected in this list.
src/policies contains the policy modules associated with the peoplefinder sample:
- todo.DELETE.__ownerID.rego -
todoApp.DELETE.todo.__ownerID- policy forDELETE /todo/{ownerID} - todo.GET.user.__userID.rego -
todoApp.GET.user.__userID- policy forGET /user/{userID} - todo.POST.rego -
todoApp.POST.todo- policy forPOST /todo - todo.PUT.__ownerID.rego -
todoApp.PUT.todo.__ownerID- policy forPUT /todo/{ownerID} - todos.GET.rego -
todoApp.GET.todos- policy forGET /todos
git tag {version} && git push --tags will invoke the actions to create a new release (a policy bundle that can be delivered to the Aserto authorizer)
e.g. git tag v0.0.1 && git push --tags will create a new release with v0.0.1.