mirror of
https://github.com/fleetdm/fleet
synced 2026-05-20 15:38:39 +00:00
#13527 (Adding @mna to double check the changes in the async implementation of policy result storage) This PR also adds the osquery-perf changes needed to define the count of macOS and Windows hosts. - [X] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - ~[ ] Documented any API changes (docs/Using-Fleet/REST-API.md or docs/Contributing/API-for-contributors.md)~ - ~[ ] Documented any permissions changes (docs/Using Fleet/manage-access.md)~ - [X] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) - [X] Added support on fleet's osquery simulator `cmd/osquery-perf` for new osquery data ingestion features. - [X] Added/updated tests - [X] Manual QA for all new/changed functionality - ~For Orbit and Fleet Desktop changes:~ - ~[ ] Manual QA must be performed in the three main OSs, macOS, Windows and Linux.~ - ~[ ] Auto-update manual QA, from released version of component to new version (see [tools/tuf/test](../tools/tuf/test/README.md)).~ Test with 80k hosts: 70k simulated macOS, 10k simulated Windows. Apply Windows policies first, then apply macOS policies: ``` fleetctl apply -f ee/cis/win-10/cis-policy-queries.yml # Leave running for some time fleetctl apply -f ee/cis/macos-13/cis-policy-queries.yml ``` After applying CIS policies previous to these changes:  After applying these changes and applying the same policies:  |
||
|---|---|---|
| .. | ||
| .keep | ||
| 12243-policy-resolution-urls | ||
| 12476-ui-export-shows-all-columns | ||
| 12550-add-validation-for-policy-specs | ||
| 13064-highlighter-bug | ||
| 13071-disable-fleetd-enroll-errors | ||
| 13082-fix-dashboard-double-scrollbar | ||
| 13158-nag-and-copy | ||
| 13158-update-macadmins-tables | ||
| 13205-browser-page-titles-added | ||
| 13205-table-links-can-open-in-new-tab | ||
| 13238-client-debug-error | ||
| 13345-fix-queries-nav-bar-bug | ||
| 13363-match-dep-profiles | ||
| 13367-custom-query-frequencies | ||
| 13431-sso-idp-store | ||
| 13433-host-query-optimization | ||
| 13434-paginate-policies | ||
| 13495-host-details-rbac | ||
| 13498-fix-sso-layout | ||
| 13521-label-alignment | ||
| 13527-applying-policies-at-scale | ||
| add-jumpcloud-to-mdm-list | ||
| fix-broken-win-10-cis-queries | ||
| fix-duplicate-cis-policy-queries-yml | ||
| issue-2943-update-nanomdm | ||
| issue-12847-change-win-mdm-auth | ||
| issue-13305-api-run-script | ||
| issue-13307-run-script-on-agent | ||
| issue-13308-implement-script-run-activity-and-details-ui | ||