Website: Update vanta integration for dogfood (#27212)

Changes:
- Updated the send-data-to-vanta script to only send information about
hosts from specific teams to vanta (For Fleet's vanta integration only)
This commit is contained in:
Eric
2025-03-17 16:24:21 -05:00
committed by GitHub
parent 769fd37aaf
commit ac9716fdd9
+2 -2
View File
@@ -158,9 +158,9 @@ module.exports = {
// If this is Fleet's Vanta connection, exclude hosts on the "Compliance exclusions" team.
// See https://github.com/fleetdm/fleet/issues/19312 for more information.
if(vantaConnection.id === 3){
if(vantaConnection.id === 64){
allHostsOnThisFleetInstance = allHostsOnThisFleetInstance.filter((host)=>{
return host.team_id !== 178;// Compliance exclusions team
return [275, 274].includes(host.team_id);
});
}