fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.11k stars 427 forks source link

Allow for applying queries with fleetctl targeted to teams via cli option #13766

Closed dherder closed 1 year ago

dherder commented 1 year ago

Goal

TODO Today you can use the option --policies-team to target apply policies on a team basis. It would be advantageous to do the same but for queries via --queries-team.

Context

My use case: I'm importing the chainguard queries and it would be great to use the targeting in the fleetctl command as opposed to editing the yaml.

Potential solutions

zhumo commented 1 year ago

Closing in favor of https://github.com/fleetdm/fleet/issues/14077

fleet-release commented 1 year ago

Queries team-targeted, Ease blends with efficiency, Fleetctl’s path shines bright.