Add rudimentary README

This commit is contained in:
Andrew Mayorov 2020-10-28 19:25:36 +03:00
parent 902f06949a
commit 5111564cb9
No known key found for this signature in database
GPG Key ID: 5AB939BC29BDA254

View File

@ -0,0 +1,9 @@
# Bouncer
> Does someone look like a troublemaker?
Primary [Arbiter](https://github.com/rbkmoney/bouncer-proto/blob/97dcad6f/proto/decisions.thrift#L42) thrift service implementation.
In a nutshell this service maps incoming contexts into [OPA input documents](https://www.openpolicyagent.org/docs/latest/philosophy/#the-opa-document-model) and asks OPA to compute a set of assertions allowing or forbidding actions under given input context.
From the service's point of view a **ruleset id** is a path to OPA document that define a subdocument named `assertions` with a rudimentary schema. See https://github.com/rbkmoney/bouncer-policies#authoring for more detailed information.