mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Consolidate department labels into departments.yml (#43121)
Replace individual department-*.yml label files with a single lib/all/labels/departments.yml and update it-and-security/default.yml to reference the consolidated file. Removes the separate department files and moves their label entries into departments.yml; behavior and label criteria are unchanged — this is a refactor to reduce file clutter and simplify label management.
This commit is contained in:
parent
ce91bfb19e
commit
0989fe084a
11 changed files with 63 additions and 63 deletions
|
|
@ -112,12 +112,4 @@ labels:
|
|||
- path: ./lib/all/labels/macs-with-microsoft-autoupdate-installed.yml
|
||||
- path: ./lib/all/labels/macs-with-fleet-maintained-apps-installed.yml
|
||||
- path: ./lib/all/labels/windows-with-fleet-maintained-apps-installed.yml
|
||||
- path: ./lib/all/labels/department-information-technology.yml
|
||||
- path: ./lib/all/labels/department-sales.yml
|
||||
- path: ./lib/all/labels/department-marketing.yml
|
||||
- path: ./lib/all/labels/department-engineering.yml
|
||||
- path: ./lib/all/labels/department-people.yml
|
||||
- path: ./lib/all/labels/department-finance.yml
|
||||
- path: ./lib/all/labels/department-product-design.yml
|
||||
- path: ./lib/all/labels/department-executive.yml
|
||||
- path: ./lib/all/labels/department-customer-success.yml
|
||||
- path: ./lib/all/labels/departments.yml
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Customer Success"
|
||||
description: Hosts belonging to members of the Customer Success department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Customer Success
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Engineering"
|
||||
description: Hosts belonging to members of the Engineering department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Engineering
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Executive"
|
||||
description: Hosts belonging to members of the Executive department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Executive
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Finance"
|
||||
description: Hosts belonging to members of the Finance department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Finance
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Information Technology"
|
||||
description: Hosts belonging to members of the Information Technology department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Information Technology
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Marketing"
|
||||
description: Hosts belonging to members of the Marketing department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Marketing
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: People"
|
||||
description: Hosts belonging to members of the People department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: People
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Product Design"
|
||||
description: Hosts belonging to members of the Product Design department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Product Design
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
- name: "Department: Sales"
|
||||
description: Hosts belonging to members of the Sales department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Sales
|
||||
62
it-and-security/lib/all/labels/departments.yml
Normal file
62
it-and-security/lib/all/labels/departments.yml
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
- name: "Department: Information Technology"
|
||||
description: Hosts belonging to members of the Information Technology department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Information Technology
|
||||
|
||||
- name: "Department: Sales"
|
||||
description: Hosts belonging to members of the Sales department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Sales
|
||||
|
||||
- name: "Department: Marketing"
|
||||
description: Hosts belonging to members of the Marketing department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Marketing
|
||||
|
||||
- name: "Department: Engineering"
|
||||
description: Hosts belonging to members of the Engineering department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Engineering
|
||||
|
||||
- name: "Department: People"
|
||||
description: Hosts belonging to members of the People department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: People
|
||||
|
||||
- name: "Department: Finance"
|
||||
description: Hosts belonging to members of the Finance department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Finance
|
||||
|
||||
- name: "Department: Product Design"
|
||||
description: Hosts belonging to members of the Product Design department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Product Design
|
||||
|
||||
- name: "Department: Executive"
|
||||
description: Hosts belonging to members of the Executive department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Executive
|
||||
|
||||
- name: "Department: Customer Success"
|
||||
description: Hosts belonging to members of the Customer Success department
|
||||
label_membership_type: host_vitals
|
||||
criteria:
|
||||
vital: end_user_idp_department
|
||||
value: Customer Success
|
||||
Loading…
Reference in a new issue