Revert EXPECTED_BUS to STEAM+ACCESS-ENG: findings leaving managed teams are BU reassignments

This commit is contained in:
Jordan Ramos
2026-05-12 15:22:52 -06:00
parent 537cf96a0a
commit 97d378033b

View File

@@ -638,7 +638,7 @@ async function syncFPWorkflowCounts(openFindings, apiKey, clientId, skipTls) {
// ---------------------------------------------------------------------------
// BU Drift Checker — post-sync classification of newly archived findings
// ---------------------------------------------------------------------------
const EXPECTED_BUS = new Set(BU_FILTER_VALUE.split(',').map(b => b.trim()).filter(Boolean));
const EXPECTED_BUS = new Set(['NTS-AEO-ACCESS-ENG', 'NTS-AEO-STEAM']);
async function runBUDriftChecker(newlyArchivedIds, apiKey, clientId, skipTls) {
const summary = { bu_reassignment: 0, severity_drift: 0, closed_on_platform: 0, decommissioned: 0 };