fleet/server/authz
Lucas Manuel Rodriguez 964f85b174
Amend policy creation and spec (for proprietary query), and add update APIs (#2890)
* Amend policy creation (proprietary query), add update APIs

* Fix Datastore.SavePolicy bug (and add tests)

* Add integration tests for new policy APIs

* Add author email

* Add activities

* Push breaking changes for return policy fields

* WIP

* Add integration test for host policies

* Make more improvements to policy representation

* Improve upgrade code (from PR review comments)

* PR changes

* Revert activities for policies

* Use *uint instead of uint for queryID, use fleet.PolicyPayload

* Filter out other schemas

* New policy flow (#2922)

* created new policy flow -- no API connection

* added api props

* fixed prop name

* lint fixes

* removed unused modal; fixed style

* name, desc icons; created global components

* lint fixes

* ignoring certain files and lines for prettier

* Update frontend/pages/policies/PolicyPage/PolicyPage.tsx

* Make policy names unique across deployment

* Amend upgrade script

* Fix migration for unique names

* Do not deduplicate but instead rename policies

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2021-11-24 14:16:42 -03:00
..
authz.go Use new error handling approach in other packages (#2954) 2021-11-22 09:13:26 -05:00
errors.go Add v4 suffix in go.mod (#1224) 2021-06-25 21:46:51 -07:00
policy.rego Add endpoint for management of team enroll secrets (#2849) 2021-11-11 10:45:39 -06:00
policy_test.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
policy_test.rego Add authorization checks in service (#938) 2021-06-03 16:24:15 -07:00