Policy merge requestshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests2022-12-13T00:20:41Zhttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/136Fastapi, adminCLI and adminUI (alpha)2022-12-13T00:20:41ZShane HutchinsFastapi, adminCLI and adminUI (alpha)Fast API policy service, unit and integration tests, adminCLI, adminUI, bug fixes and much more.
This has been tested locally and GCP. CI work still needs to happen to finish testing in other Cloud Service Providers.
Related issues:
- ...Fast API policy service, unit and integration tests, adminCLI, adminUI, bug fixes and much more.
This has been tested locally and GCP. CI work still needs to happen to finish testing in other Cloud Service Providers.
Related issues:
- https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/61
- https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/28
- https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/24
- https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/65M14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/137Update from fastapi2022-12-13T00:19:47ZShane HutchinsUpdate from fastapiBreaking pytest into unit and integration test directories. Adding support for Mocking /policies in unit testing when OPA isn't availableBreaking pytest into unit and integration test directories. Adding support for Mocking /policies in unit testing when OPA isn't availableM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/139attempt to fix gcp integration tests2022-12-29T12:30:36ZShane Hutchinsattempt to fix gcp integration testsM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/143Fixing AWS Build2022-09-21T12:49:53ZMarc Burnie [AWS]Fixing AWS BuildM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/144Adding search instance policy to AWS Bootstrap2022-09-21T12:49:54ZMarc Burnie [AWS]Adding search instance policy to AWS BootstrapM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/145Fix Bootstrapping2022-09-19T19:03:32ZMarc Burnie [AWS]Fix BootstrappingM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/146AWS Helm Build Update2022-09-20T22:22:35ZMarc Burnie [AWS]AWS Helm Build UpdateM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/147Translate update for search2022-12-29T12:30:59ZShane HutchinsTranslate update for search- Updating translate for issue https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/72
- Improvement to eval tests
- adminCLI translate update to help testing translate- Updating translate for issue https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/72
- Improvement to eval tests
- adminCLI translate update to help testing translateM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/148Fixed default policy syntax2022-12-29T12:31:13ZDadong ZhouFixed default policy syntaxFixed default policy regos:
(1) search.rego: handle more generic case for a user who is in acl.owner group but not in acl.viewer group. (this is an overlook when we updated it for syntax error a few days ago)
(2) nonexpired.rego (syntax ...Fixed default policy regos:
(1) search.rego: handle more generic case for a user who is in acl.owner group but not in acl.viewer group. (this is an overlook when we updated it for syntax error a few days ago)
(2) nonexpired.rego (syntax error): the 'expired' flag is always false even for an expired legaltag.M14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/149GONRG-5724: update vars for int tests2023-08-18T12:23:31ZYauheni Rykhter (EPAM)GONRG-5724: update vars for int testsM15 - Release 0.18Yauheni Rykhter (EPAM)Yauheni Rykhter (EPAM)https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/150admincli improvements2022-12-29T12:31:29ZShane Hutchinsadmincli improvementsimprovements and fixes to admincli
- bug fix for eval
- add support for legal-tag template for eval
- add output=simple support for eval
- Improve display in panels (more fancy)
- example eval template in tests folderimprovements and fixes to admincli
- bug fix for eval
- add support for legal-tag template for eval
- add output=simple support for eval
- Improve display in panels (more fancy)
- example eval template in tests folderM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/151Documentation update on testing2022-12-29T12:32:52ZShane HutchinsDocumentation update on testingUpdating doc on testingUpdating doc on testingM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/152documentation update2022-12-29T12:37:05ZShane Hutchinsdocumentation updatedocstrings update for testingdocstrings update for testingM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/153Fix azure pipeline deployment2022-09-28T00:36:43ZArturo Hernandez [EPAM]Fix azure pipeline deployment* New logic introduced in ci-cd and helm-charts-azure does not contains anymore "-prefix" suffix.
* Needed to add new path for test suits as well as for SWAGGER PATH.
* Fixed policy bootstrap pipeline stage
* Adopted new policy test suit...* New logic introduced in ci-cd and helm-charts-azure does not contains anymore "-prefix" suffix.
* Needed to add new path for test suits as well as for SWAGGER PATH.
* Fixed policy bootstrap pipeline stage
* Adopted new policy test suit and added needed parameters to run
* Deprecated `devops/azure/charts`M14 - Release 0.17Arturo Hernandez [EPAM]Arturo Hernandez [EPAM]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/154Move /diag/about to /diag/config for issue 662022-12-29T12:37:30ZShane HutchinsMove /diag/about to /diag/config for issue 66* Move /diag/about to /diag/config as requested in https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/66
* Added hidden config CLI option to adminCLI
* Updated AdminUI, unit and integration tests* Move /diag/about to /diag/config as requested in https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/issues/66
* Added hidden config CLI option to adminCLI
* Updated AdminUI, unit and integration testsM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/155fixing pipeline2022-09-26T14:57:38ZMarc Burnie [AWS]fixing pipelineM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/156Allow integration tests to optionally access OPA2022-12-29T12:37:43ZShane HutchinsAllow integration tests to optionally access OPAUpdated unit and integration tests to default not access OPA.
To allow OPA access add --opa_access to pytest lineUpdated unit and integration tests to default not access OPA.
To allow OPA access add --opa_access to pytest lineM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/157Add check for CLOUD_PROVIDER and /health with Auth2022-12-29T12:37:56ZShane HutchinsAdd check for CLOUD_PROVIDER and /health with AuthM14 - Release 0.17Shane HutchinsShane Hutchinshttps://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/158Configuring AWS Integration Tests2022-12-29T12:36:39ZMarc Burnie [AWS]Configuring AWS Integration Tests- Configuring AWS integration tests.
- Adding post request to create default legal tag- Configuring AWS integration tests.
- Adding post request to create default legal tagM14 - Release 0.17Marc Burnie [AWS]Marc Burnie [AWS]https://community.opengroup.org/osdu/platform/security-and-compliance/policy/-/merge_requests/159Updating tests - added support for domain names2022-12-29T12:38:11ZShane HutchinsUpdating tests - added support for domain names- Added support for domain names which is used in evaluate tests.
- pytest now supports --domain or DOMAIN env variable
- Documentation updated.
- Also converted tests/templates to templating system used by adminCLI for consistency: ${da...- Added support for domain names which is used in evaluate tests.
- pytest now supports --domain or DOMAIN env variable
- Documentation updated.
- Also converted tests/templates to templating system used by adminCLI for consistency: ${data_partition}, ${legal_tag}, ${domain} and ${name} are supported on some tests/templates.M14 - Release 0.17Shane HutchinsShane Hutchins