-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat(jans-cedarling): update PolicyStore parser to support agama-lab generated policies #10098
Commits on Nov 9, 2024
-
docs(jans-cedarling): update docs to match the new policy store
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8b72543 - Browse repository at this point
Copy the full SHA 8b72543View commit details -
feat(jans-cedarling): implement parser for new Claim Mapping field
- implement a `ClaimMapping` struct for the new `claim_mapping` field in the policy store - implement deserialize for the `ClaimMapping` struct Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6551913 - Browse repository at this point
Copy the full SHA 6551913View commit details -
feat(jans-cedarling): implement parser for new Token Entity Metadata
- implement `TokenEntityMetada` struct - implement `Deserialize` for `TokenEntityMetadata` Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01c5b3d - Browse repository at this point
Copy the full SHA 01c5b3dView commit details -
feat(jans-cedarling): update parser for Trusted Issuer Metadata
- implement new struct TrustedIssuerMetadata - implement Deserialize for TrustedIssuerMetadata Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ea860c - Browse repository at this point
Copy the full SHA 6ea860cView commit details
Commits on Nov 10, 2024
-
feat(jans-cedarling): implement parser for new policy store from agama
- Implement AgamaPolicyStore struct. - Implement Deserialize for AgamaPolicyStore struct. Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e450537 - Browse repository at this point
Copy the full SHA e450537View commit details -
refactor(jans-cedarling): change AgamaPolicyStore.cedar_schema type
- change the type of AgamaPolicyStore.cedar_schema from cedar_policy::Schema to CedarSchema to make it compatibale with the existsing implementation Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fd48517 - Browse repository at this point
Copy the full SHA fd48517View commit details -
refactor(jans-cedarling): update token_metada implementation
- update the token_metadata implementation in the Cerdarling PolicyStore to support the new schema. Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a7f6ad0 - Browse repository at this point
Copy the full SHA a7f6ad0View commit details -
refactor(jans-cedarling): remove old implementation for identity_source
- remove old implementation for IdentitySource struct and related implementations. The new implementation, TrustedIssuerMetadata, has now been implementd with the main policy store. Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae4d547 - Browse repository at this point
Copy the full SHA ae4d547View commit details -
feat(jans-cedarling): implement From<AgamaPolicyStore> for PolicyStore
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae4eadc - Browse repository at this point
Copy the full SHA ae4eadcView commit details
Commits on Nov 11, 2024
-
refactor(jans-cedarling): make TokenEntityMetadata.claim_mapping an O…
…ption Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c134ce5 - Browse repository at this point
Copy the full SHA c134ce5View commit details -
feat(jans-cedarling): implement Default for TokenEntityMetadata
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 194e776 - Browse repository at this point
Copy the full SHA 194e776View commit details -
chore(jans-cedarling): auto-format policy_store.rs
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 69d902c - Browse repository at this point
Copy the full SHA 69d902cView commit details -
feat(jans-cedarling): implement YAML parser for single policy store
- Simplify YAML test files by removing the need for a top-level `policy_store` ID - Ensure YAML test files exclusively contain human-readable Cedar code; base64-encoded schemas are now only used for JSON test files. - Pending: Replace the existing implementation with the new parser. Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fcae8e9 - Browse repository at this point
Copy the full SHA fcae8e9View commit details
Commits on Nov 12, 2024
-
fix(jans-cedarling): correct parsing behavior to return parsed HashMa…
…p instead of None Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2692448 - Browse repository at this point
Copy the full SHA 2692448View commit details -
fix(jans-cedarling): fix PartialEq implementation for AgamaPolicyStore
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a401d9f - Browse repository at this point
Copy the full SHA a401d9fView commit details -
refactor(jans-cedarling): split parser for TokenEntityMetadata
- split the parsing for TokenEntityMetadata into separate functions per field for easier unit-testing Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9255cb7 - Browse repository at this point
Copy the full SHA 9255cb7View commit details -
test(jans-cedarling): add tests for parsing ClaimMapping from YAML
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 303a2c7 - Browse repository at this point
Copy the full SHA 303a2c7View commit details -
chore(jans-cedarling): clean up stray docstring
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0c9bb65 - Browse repository at this point
Copy the full SHA 0c9bb65View commit details -
test(jans-cedarling): add parser tests for TokenEntityMetadata
- add test for parsing JSON into TokenEntityMetadata - add test for parsing YAML into TokenEntityMetadata Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 25f406d - Browse repository at this point
Copy the full SHA 25f406dView commit details -
feat(jans-cedarling): implement parsing into default for missing fields
- implement parsing into default for missing fields in TrustedIssuerMetadata Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d78a406 - Browse repository at this point
Copy the full SHA d78a406View commit details -
test(jans-cedarling): test parsing TrustedIssuerMetadata from YAML
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a5ea51 - Browse repository at this point
Copy the full SHA 2a5ea51View commit details -
refactor(jans-cedarling): Simplify AgamaPolicyStore deserialization
- Refactor deserialization logic to utilize existing helper functions. Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a0180c - Browse repository at this point
Copy the full SHA 9a0180cView commit details -
test(jans-cedarling): add trusted_issuer in the expected parsed data
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a6a93e - Browse repository at this point
Copy the full SHA 1a6a93eView commit details
Commits on Nov 13, 2024
-
feat(jans-cedarling): separate deserialization for YAML and JSON
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8d2bd9b - Browse repository at this point
Copy the full SHA 8d2bd9bView commit details -
refactor(jans-cedarling): organize structs into their own files
- rename AgamaPolicyStore to PolicySource - move PolicySouceJson into it's own file - move PolicySouceYaml into it's own file Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 07252a8 - Browse repository at this point
Copy the full SHA 07252a8View commit details -
feat(jans-cedarling): replace old parse implementation with the new one
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9dffcfe - Browse repository at this point
Copy the full SHA 9dffcfeView commit details -
feat(jans-cedarling): make name field in the policy store optional
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13ec524 - Browse repository at this point
Copy the full SHA 13ec524View commit details -
refactor(jans-cedarling): replace old PolicyStore with updated implem…
…entation Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 961b15a - Browse repository at this point
Copy the full SHA 961b15aView commit details -
feat(jans-cedarling): update Access Token metadata fields
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0b36c4a - Browse repository at this point
Copy the full SHA 0b36c4aView commit details -
chore(jans-cedarling): delete unused test files and move still used
- moved a test file to the /test_files directory Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8650646 - Browse repository at this point
Copy the full SHA 8650646View commit details -
chore(jans-cedarling): add and update fuctions and structs docstrings
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab776e2 - Browse repository at this point
Copy the full SHA ab776e2View commit details -
docs(jans-cedarling): update cedarling-policy-store.md
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 02aab05 - Browse repository at this point
Copy the full SHA 02aab05View commit details -
test(jans-cedarling): add trusted_issuers in policy-store_ok.yaml
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2e1ce4 - Browse repository at this point
Copy the full SHA b2e1ce4View commit details -
chore(jans-cedarling): resolve clippy issues
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 051b402 - Browse repository at this point
Copy the full SHA 051b402View commit details -
fix(jans-cedarling): update test files
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18d242c - Browse repository at this point
Copy the full SHA 18d242cView commit details -
test(jans-cedarling): update expected error messages in tests
Signed-off-by: rmarinn <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7eceeb4 - Browse repository at this point
Copy the full SHA 7eceeb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db2c0f - Browse repository at this point
Copy the full SHA 2db2c0fView commit details -
chore(jans-cedarling): update python bindings policy store example file
Signed-off-by: Oleh Bohzok <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e340b87 - Browse repository at this point
Copy the full SHA e340b87View commit details