Update automation dropdown#41524
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/31914-patch-policy #41524 +/- ##
==========================================================
Coverage ? 66.37%
==========================================================
Files ? 2483
Lines ? 198685
Branches ? 8813
==========================================================
Hits ? 131874
Misses ? 54899
Partials ? 11912
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| const filterPoliciesByAutomation = ( | ||
| // Client-side filtering is still needed for global policies since the | ||
| // global policies endpoint does not support automation_type. Team policies | ||
| // use the server-side automation_type query param instead. |
There was a problem hiding this comment.
Are we planning on building server side filtering for automation_type? I guess there would only be other but this is gonna make the pagination super buggy to do both
There was a problem hiding this comment.
Yeah, great observation! I saw the TODO in policies.go and decided to keep this work focused. I'm thinking we can follow up on this issue later, unless you would push to do it now. Probably would want to do that in a separate PR, though, because I think it would require a bit more FE+BE changes iirc.
|
Approved code, but did not personally test |
Implements patch policies #31914 - #40816 - #41248 - #41276 - #40948 - #40837 - #40956 - #41168 - #41171 - #40691 - #41524 - #41674 --------- Co-authored-by: Jonathan Katz <44128041+jkatz01@users.noreply.github.com> Co-authored-by: jkatz01 <yehonatankatz@gmail.com> Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Co-authored-by: Jahziel Villasana-Espinoza <jahziel@fleetdm.com>
Related issue: Resolves #40400
Checklist for submitter
If some of the following don't apply, delete the relevant line.
SELECT *is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirectsTesting