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:
Allen Houchins 2026-04-07 10:10:13 -05:00 committed by GitHub
parent ce91bfb19e
commit 0989fe084a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 63 additions and 63 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View 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