From 34ab61d1dfe5f25bf182ece951bf78287d353550 Mon Sep 17 00:00:00 2001 From: Miranda Fluharty Date: Tue, 21 Oct 2025 13:07:25 -0600 Subject: [PATCH 1/2] Add security attribute filters to search Add security_attribute_inventory_filters feature flag Query for categories and attributes in search bar Map categories to tokens with attributes as options Add a header token to show if any category matches Push tokens into array if the feature flag is enabled --- ...nventory_dashboard_filtered_search_bar.vue | 49 ++++++++++++++++++- .../groups/security/inventory_controller.rb | 1 + .../security_attribute_inventory_filters.yml | 10 ++++ 3 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 ee/config/feature_flags/wip/security_attribute_inventory_filters.yml diff --git a/ee/app/assets/javascripts/security_inventory/components/inventory_dashboard_filtered_search_bar.vue b/ee/app/assets/javascripts/security_inventory/components/inventory_dashboard_filtered_search_bar.vue index 5cc72d9d46aba8..cc0abef3ef2f4f 100644 --- a/ee/app/assets/javascripts/security_inventory/components/inventory_dashboard_filtered_search_bar.vue +++ b/ee/app/assets/javascripts/security_inventory/components/inventory_dashboard_filtered_search_bar.vue @@ -1,9 +1,15 @@