Title
#fleet
t

Tilman Bender

03/02/2022, 3:23 PM
I just noticed my previously created policies being inhertied as "All Teams" policies. Question is, how do I "move" them. e.g. Having a policy that checks for "Credential Guard" makes little sense for Linux servers or even Windows VMs (that lack the necesssary virutalization features)
Luke Heath

Luke Heath

03/02/2022, 10:55 PM
Hello Tilman! Unfortunately there is not currently a way to transfer policies between teams, or transfer to and from "All Teams". Right now, you would have to delete those policies and re-create them within the correct teams.
10:56 PM
We realize this is not an optimal solution and are working on improving the policies feature with each release. I have created a customer request ticket with this feature request: https://github.com/fleetdm/fleet/issues/4426
10:57 PM
That being said, if you are wiling to update your database directly, you can change each policy's
team_id
column from
null
to the id of the team you would like to own the policy.
t

Tilman Bender

03/03/2022, 12:55 PM
Managed to get it working.