fleet/orbit/pkg
Lucas Manuel Rodriguez 8163b7d8da
Update live query selector logic (OR -> AND) (#9559)
See requirements in #8682.

Two assumptions on the implementation (@zayhanlon please take a look):
- Hosts explicitly selected to run always run the live query (no matter
the values on the selectors).
- When selecting `All hosts`, selecting any other platform or label is
kind of a no-op. We should look into graying out all the selectors if
the user selects `All 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.
- [X] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- ~[ ] Documented any permissions changes~
- [X] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- ~[ ] 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-01-30 18:35:56 -03:00
..
augeas Embed augeas lenses in orbit binary (#8901) 2022-12-02 10:19:54 -05:00
build Add user agent to Orbit HTTP client (#5429) 2022-05-02 11:03:49 -07:00
constant token rotation for fleet desktop (#7779) 2022-10-10 17:15:35 -03:00
execuser 8009 fleet desktop icon duplication (#8017) 2022-10-13 10:58:37 -03:00
insecure Make creation of http.Client uniform across the codebase (#3097) 2021-11-24 15:56:54 -05:00
osquery Fixing osquery shell issue caused by osquery extension namedpipe name reuse (#9527) 2023-01-27 12:34:38 -03:00
osservice 8009 fleet desktop icon duplication (#8017) 2022-10-13 10:58:37 -03:00
packaging Removing orbit files using MSI installer custom actions (#9362) 2023-01-26 15:14:31 -03:00
platform Setting restricted ACL for windows secret-orbit-node-file (#9457) 2023-01-26 18:51:24 -03:00
process Fleetctl to package .app bundles for osquery (and changes for orbit to support them) (#4393) 2022-03-15 16:04:12 -03:00
table Update live query selector logic (OR -> AND) (#9559) 2023-01-30 18:35:56 -03:00
token Enable errcheck linter for golangci-lint (#8899) 2022-12-05 16:50:49 -06:00
update create and send Nudge configuration to hosts (#9491) 2023-01-25 17:03:40 -03:00