From fff6ca463fafc8a49b565edd4e7c0b734858506c Mon Sep 17 00:00:00 2001 From: Lucas Manuel Rodriguez Date: Wed, 25 Sep 2024 13:13:43 -0300 Subject: [PATCH] Add config for 'No team' (#51) For the following user story: fleetdm/fleet#21790 --- default.yml | 8 +++++--- teams/no-team.yml | 10 ++++++++++ teams/workstations-canary.yml | 2 +- teams/workstations.yml | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 teams/no-team.yml diff --git a/default.yml b/default.yml index 2d37a0b..b92b347 100644 --- a/default.yml +++ b/default.yml @@ -1,6 +1,9 @@ -# For Fleet Free, this file updates policies, queries, agent_options, and controls for all hosts. +# For Fleet Free: +# - This file updates policies, queries, agent_options, and controls for all hosts. -# For Fleet Premium, the default.yml file updates policies and queries that run on all hosts ("All teams"). Controls and agent options are updated for hosts on "No team." +# For Fleet Premium: +# - This file updates policies and queries that run on all hosts ("All teams"). +# - Remove "controls" and add this to your YAML files in teams/ instead. policies: queries: @@ -14,4 +17,3 @@ org_settings: org_name: Fleet secrets: - secret: "$FLEET_GLOBAL_ENROLL_SECRET" -software: diff --git a/teams/no-team.yml b/teams/no-team.yml new file mode 100644 index 0000000..205bf9e --- /dev/null +++ b/teams/no-team.yml @@ -0,0 +1,10 @@ +# Teams are available in Fleet Premium. + +# This file updates policies, controls, and software for hosts assigned to "No team." + +# To update queries and agent options for hosts assigned to "No team," use the default.yml file. + +name: No team +policies: +controls: +software: diff --git a/teams/workstations-canary.yml b/teams/workstations-canary.yml index 69a88c5..2a426ef 100644 --- a/teams/workstations-canary.yml +++ b/teams/workstations-canary.yml @@ -1,6 +1,6 @@ # Teams are available in Fleet Premium. -# This file updates controls, queries, policies, and agent options for assigned to the "Workstations (canary)" team. +# This file updates policies, queries, agent options, controls, and software for hosts assigned to the "Workstations (canary)" team. # To add another team, create a new file in the teams/ directory and copy and paste the contents from this file. diff --git a/teams/workstations.yml b/teams/workstations.yml index ecb4a1a..885b89d 100644 --- a/teams/workstations.yml +++ b/teams/workstations.yml @@ -1,6 +1,6 @@ -# Only available in Fleet Premium. +# Teams are available in Fleet Premium. -# This file updates policies, queries, agent options, and controls for assigned to the "Workstations" team. +# This file updates policies, queries, agent options, controls, and software for hosts assigned to the "Workstations" team. # To add another team, create a new file in the teams/ directory and copy and paste the contents from this file.