-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* anubis logo * Update RELEASE_NOTES.md * lint md * use orion ld (still with ngsi v2 calls) * update diagramms * clean docs * Update mkdocs.yml * update indentation to 4 for listing * fix identation * finalise api documentation * lint * Update open api specs * docs updates * revert logo position * autopep8 action fixes (#179) Co-authored-by: chicco785 <[email protected]> * remove TODO * Update open api specs * update test to new policy path * update middleware api spec docs * remove term of service lines * fix index name * prepare 0.6 release * use new demo set-up including tenant creation in keycloak Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d7a7e7f
commit 80685c1
Showing
23 changed files
with
865 additions
and
10,676 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"default": true, | ||
"MD007": { "indent": 4 }, | ||
"MD024": { | ||
"siblings_only": true | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ Welcome to Anubis! | |
|
||
## What is the project about? | ||
|
||
Anubis is a flexible Policy Enforcement solution | ||
<img src="docs/logo.jpg" alt="Anubis" style="float: left; margin-right: 10px;" | ||
width="200"/> Anubis is a flexible Policy Enforcement solution | ||
that makes easier to reuse security policies across different services, | ||
assuming the policies entail the same resource. | ||
In short we are dealing with policy portability :) What do you mean by that? | ||
|
@@ -157,20 +158,20 @@ There are two distribution modalities: | |
- *public*, i.e. when the different middleware belong to different | ||
organisations in the public internet. In this case: | ||
|
||
- resources are considered to be univocally identifiable (if they have | ||
- resources are considered to be univocally identifiable (if they have | ||
the same id they are the same resource); | ||
|
||
- only user specific policies are distributed; | ||
- only user specific policies are distributed; | ||
|
||
- only resource specific policies are distributed. | ||
- only resource specific policies are distributed. | ||
|
||
- *private*, i.e. when the different middleware belong to the same | ||
organisation. In this case: | ||
|
||
- resources are considered to be univocally identifiable only within the same | ||
- resources are considered to be univocally identifiable only within the same | ||
service and service path; | ||
|
||
- all policies are distributed (including the ones for roles and groups and | ||
- all policies are distributed (including the ones for roles and groups and | ||
`*` and `default` resource policies). | ||
|
||
## Policies | ||
|
@@ -238,6 +239,19 @@ To run this demo you'll need to have the following installed: | |
|
||
### Deployment | ||
|
||
To be able to create tenants, the hostname of the token issuer (Keycloak) in | ||
docker and in your local system, needs to be the same, to ensure that, | ||
add the following entry in your `/etc/hosts`: | ||
|
||
```console | ||
127.0.0.1 keycloak | ||
``` | ||
|
||
> **NOTE**: If you don't want to edit your `/etc/hosts` and you are not | ||
interested in testing tenant creation and deletion, in the `.env` file replace | ||
`REACT_APP_OIDC_ISSUER=http://keycloak:8080/realms/default` with | ||
`REACT_APP_OIDC_ISSUER=http://localhost:8080/realms/default`. | ||
|
||
To deploy the demo that includes the Auth API, OPA, Keycloak, and a Context | ||
Broker, run the following script: | ||
|
||
|
@@ -247,6 +261,8 @@ $ cd scripts | |
$ ./run_demo.sh | ||
``` | ||
|
||
You can now login with username `[email protected]` and password `admin`. | ||
|
||
You can run a script to make a few test API calls. You can run the test | ||
script with: | ||
|
||
|
@@ -404,7 +420,8 @@ Error Set: | |
|
||
As of today, Anubis introduces an average overhead of 69msec, | ||
while this is not a bad number, it's not impressive. Still | ||
there is a very good news, we know how to improve :) See #14. | ||
there is a very good news, we know how to improve :) See | ||
[#14](https://github.com/orchestracities/anubis/issues/14). | ||
|
||
## Test rego | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
ANUBIS_VERSION = '0.6.0-dev' | ||
ANUBIS_VERSION = '0.6.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.