test: sync cli and doctor config expectations

This commit is contained in:
Peter Steinberger
2026-04-06 23:30:46 +01:00
parent 1722bfab93
commit 9005521d63
9 changed files with 181 additions and 188 deletions

View File

@@ -17,7 +17,9 @@ const SECRET_TARGET_CALLSITES = [
function hasSupportedTargetIdsWiring(source: string): boolean {
return (
/targetIds:\s*get[A-Za-z0-9_]+\(\)/m.test(source) ||
/targetIds:\s*scopedTargets\.targetIds/m.test(source)
/targetIds:\s*getAgentRuntimeCommandSecretTargetIds\(/m.test(source) ||
/targetIds:\s*scopedTargets\.targetIds/m.test(source) ||
source.includes("collectStatusScanOverview({")
);
}