https://github.com/osquery/osquery logo
#fleet
Title
# fleet
a

Arsenio

01/17/2023, 5:59 PM
hello! is there a way to target policies on certain groups of hosts? for example, only run certain policies against sales and marketing but not developers?
j

Jason

01/17/2023, 6:31 PM
I think the way to achieve this right now is to put different systems in different teams
I have suggested being able to target policies with a label, though
a

Arsenio

01/17/2023, 7:50 PM
@Jason have the free version so don't think that would apply to us unfortunately
j

Jason

01/17/2023, 7:51 PM
ah
the only other way I know is to craft your policies so it always returns a value (like "1") for systems you want to exclude from the policy
a

Arsenio

01/17/2023, 7:52 PM
yeah think that is the only way as of now for us.
z

zwass

01/17/2023, 11:22 PM
Yep, this is exactly what the Teams feature is for. Happy to put you in touch with sales if that could be interesting for you.