fleet/pkg
Lucas Manuel Rodriguez bb3b21b574
Add TestMDMClient to simulate MDM clients in osquery-perf (#11672)
#11528

osquery-perf simulated hosts enroll and are identified as manually
enrolled. (Enrolling as DEP requires more work, e.g. a new mocked Apple
DEP endpoint).

Given that these are simulated MDM clients, they cannot be woken up with
push notifications. Instead, these check for new commands to execute
every 10 seconds (which is not realistic, but could serve as a good
loadtesting exercise).

I will now start setting up the loadtest environment with MDM enabled
and configured to test this.

- ~[ ] 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~
- ~[ ] 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)).~
2023-05-12 13:50:20 -03:00
..
buildpkg Add CIS checks for 2.9.X and add pmset table to fleetd (#9470) 2023-02-08 13:08:17 -03:00
certificate Add mTLS support to fleetd (#11319) 2023-04-27 08:44:39 -03:00
download Handle flaky vulnerability tests (#11262) 2023-04-21 19:37:29 -04:00
file cli: try to infer the bootstrap package name from the URL too (#11571) 2023-05-11 10:36:28 -03:00
fleethttp Fleet server and tooling to use NETWORK_TEST_GITHUB_TOKEN when environment variable is set. (#9143) 2023-01-03 14:56:11 -03:00
mdm/mdmtest Add TestMDMClient to simulate MDM clients in osquery-perf (#11672) 2023-05-12 13:50:20 -03:00
nettest fix RunWithNetRetry (#8590) 2022-11-07 16:31:10 +01:00
open Orbit: Add Fleet Desktop support to Windows (#4873) 2022-04-01 17:28:51 -03:00
optjson Add support for the mdm.macos_setup.macos_setup_assistant key in fleetctl, API (#11296) 2023-04-25 09:36:01 -04:00
retry Fix CI tests for Go (#8079) 2022-10-04 15:48:14 -04:00
secure Sync CVE scores periodically (#5838) 2022-06-01 10:06:57 -06:00
spec Fix YAML and add item to error (#10503) 2023-03-15 08:50:13 -03:00
README.md Add CentOS parsing+post-processing to reduce false positives in vulnerability processing (#4037) 2022-02-14 15:13:44 -03:00

pkg directory

This top-level pkg directory contains packages that may be shared between all fleet backend components.