-
Notifications
You must be signed in to change notification settings - Fork 24
feat(kas): authorization decisions #431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
7558ea2
feat(kas): authorization decisions
pflynn-virtru d2f11c9
feat(kas): authorization decisions
pflynn-virtru 0173e3d
feat(kas): entityID
pflynn-virtru 082993d
feat(kas): client_id
pflynn-virtru b5f24c3
feat(kas): client_id
pflynn-virtru 1b3712d
feat(kas): sdk call
pflynn-virtru 0ada2ff
feat(kas): jwt roles groups
pflynn-virtru 3740e16
docs: Updates readme HSM env vars (#432)
dmihalcik-virtru e823155
fix: remove padding when b64 encoding (#437)
strantalis 4f1a5be
chore(gitignore): Hides tmp-gen folders (#440)
dmihalcik-virtru e74c8b3
fix(hsm): Sets HSM session to readonly (#442)
dmihalcik-virtru 9bd4e34
chore(deps): Updates protocol buffer libs (#439)
dmihalcik-virtru c7c49c6
build(lint): Updates some golangci-lint refs (#448)
dmihalcik-virtru 6b437c4
feat(auth): add authorization via casbin (#417)
jrschumacher 6923f00
chore(policy): make KAS registry update PATCH style like Policy APIs …
jakedoublev b645d7b
feat(authorization): Provision client for idpplugin and sample user, …
elizabethhealy 4cc0719
feat(sdk): read `expires_in` from token response and use it to refres…
mkleene cb13449
refactor(sdk): remove method receiver from policy object creation (#457)
strantalis 665a05f
chore(keycloak): update to latest keycloak (#460)
ttschampel 2291047
feat(policy): support attribute value creation (#454)
alkalescent 3a3fa72
fix(policy): fix Subject Condition Set creation nil pointer dereferen…
jakedoublev edd9b86
feat(sdk): Pass dpop key through to `rewrap` (#435)
mkleene e2ed572
fix(security): add a new encryption keypair different from dpop keypa…
sujankota 4b71cc8
fix(authorization): attribute https scheme in access PDP (#466)
pflynn-virtru 074f413
chore: remove extraneous error arg on db client methods (#468)
strantalis 1731531
chore: cleanup unused kas code (#467)
strantalis 8cecfd9
docs(readme): update create attr example (#473)
alkalescent 394826f
feat(kas): client_id
pflynn-virtru d51d683
feat(authorization): rebase
pflynn-virtru ad07d07
feat(authorization): 8080
pflynn-virtru 96411a9
Merge branch 'main' into feat/kas-get-decisions
pflynn-virtru dc3c7b8
feat(kas): no virtru
pflynn-virtru b565b53
feat(kas): realm
pflynn-virtru c17393d
Merge remote-tracking branch 'origin/main' into feat/kas-get-decisions
pflynn-virtru 1579993
feat(kas): no attr
pflynn-virtru 9cdb9a7
Merge branch 'main' into feat/kas-get-decisions
pflynn-virtru 49320c7
feat(authorization): pr fix
pflynn-virtru 1907ab6
Update internal/idpplugin/keycloak_plugin.go
pflynn-virtru bbe44aa
feat(authorization): pr fix
pflynn-virtru bd4988d
Merge remote-tracking branch 'origin/main' into feat/kas-get-decisions
pflynn-virtru 524f9bf
Merge branch 'main' into feat/kas-get-decisions
jrschumacher 0620a3d
Merge branch 'main' into feat/kas-get-decisions
pflynn-virtru cd99857
feat(authorization): merge fix
pflynn-virtru ef45032
feat(authorization): rego cleanup
pflynn-virtru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # OpenTDF Platform OPA rego policies | ||
|
|
||
| ## entitlements.rego | ||
|
|
||
| This is the default rego policy that will parse a JWT, | ||
| traverse the subject mappings, and return the entitlements. | ||
|
|
||
| ## entitlements-keycloak.rego | ||
|
|
||
| This is a rego policy for calling Keycloak to get an entity representation, | ||
| traverse the subject mappings, and return the entitlements. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.