Channels
  • t

    Tilman Bender

    3 months ago
    I have just purchesd Fleet Premium and created groups for my windows-clients and my servers. I already configured some policies (back when I did not have the Teams feature). How can I move those policies to a specific team?
  • Lucas Rodriguez

    Lucas Rodriguez

    3 months ago
    Hi Tilman! Fleet currently doesn't support changing a policy's team.
    An option I can think of in case we are talking about too many policies to move manually (*): You could use
    fleetctl
    to fetch the global policies, edit the yaml to set
    team_id
    and then apply such config via
    fleetctl apply
    . (*) move manually would mean copy/paste policy fields and delete the original global one.
  • t

    Tilman Bender

    3 months ago
    Thank you Lucas, that sounds like the right path to go 🙂
    btw. is there a way to tell the API to return YAML?
    otherwise I would have to first retrieve the policies as JSON and then transform them into an importable YAML
    You mean "use fleet API" to fetch the global policies, right? From what I know fleetctl does not support getting the policies yet. Anyway I tried suggestion, but unfortunatley the team_id seems to be ignored. My policies always end up as global
  • Lucas Rodriguez

    Lucas Rodriguez

    3 months ago
    OK, sorry for all the trouble this has caused you. Hopefully we'll implement this soon in #4426