diff --git a/ee/bulk-operations-dashboard/api/controllers/get-software.js b/ee/bulk-operations-dashboard/api/controllers/get-software.js index b490e5331d..e09a556a93 100644 --- a/ee/bulk-operations-dashboard/api/controllers/get-software.js +++ b/ee/bulk-operations-dashboard/api/controllers/get-software.js @@ -48,7 +48,7 @@ module.exports = { // Get all of the software packages on the Fleet instance. for(let teamApid of teamApids){ let configurationProfilesResponseData = await sails.helpers.http.get.with({ - url: `/api/latest/fleet/software/titles?team_id=${teamApid}`, + url: `/api/latest/fleet/software/titles?team_id=${teamApid}&exclude_fleet_maintained_apps=true`, baseUrl: sails.config.custom.fleetBaseUrl, headers: { Authorization: `Bearer ${sails.config.custom.fleetApiToken}` @@ -63,7 +63,7 @@ module.exports = { }); for(let softwareWithInstaller of softwareWithSoftwarePackages) { let softwareWithInstallerResponse = await sails.helpers.http.get.with({ - url: `/api/latest/fleet/software/titles/${softwareWithInstaller.id}?team_id=${teamApid}&available_for_install=true`, + url: `/api/latest/fleet/software/titles/${softwareWithInstaller.id}?team_id=${teamApid}&available_for_install=true&exclude_fleet_maintained_apps=true`, baseUrl: sails.config.custom.fleetBaseUrl, headers: { Authorization: `Bearer ${sails.config.custom.fleetApiToken}` diff --git a/ee/bulk-operations-dashboard/api/controllers/software/view-software.js b/ee/bulk-operations-dashboard/api/controllers/software/view-software.js index 6b06dabeb2..a52e4bf280 100644 --- a/ee/bulk-operations-dashboard/api/controllers/software/view-software.js +++ b/ee/bulk-operations-dashboard/api/controllers/software/view-software.js @@ -47,7 +47,7 @@ module.exports = { // Get all of the software packages on the Fleet instance. for(let teamApid of teamApids){ let configurationProfilesResponseData = await sails.helpers.http.get.with({ - url: `/api/latest/fleet/software/titles?team_id=${teamApid}`, + url: `/api/latest/fleet/software/titles?team_id=${teamApid}&exclude_fleet_maintained_apps=true`, baseUrl: sails.config.custom.fleetBaseUrl, headers: { Authorization: `Bearer ${sails.config.custom.fleetApiToken}` @@ -62,7 +62,7 @@ module.exports = { }); for(let softwareWithInstaller of softwareWithSoftwarePackages) { let softwareWithInstallerResponse = await sails.helpers.http.get.with({ - url: `/api/latest/fleet/software/titles/${softwareWithInstaller.id}?team_id=${teamApid}&available_for_install=true`, + url: `/api/latest/fleet/software/titles/${softwareWithInstaller.id}?team_id=${teamApid}&available_for_install=true&exclude_fleet_maintained_apps=true`, baseUrl: sails.config.custom.fleetBaseUrl, headers: { Authorization: `Bearer ${sails.config.custom.fleetApiToken}`