collabSupport/integrations/paloalto/index.js
jmcqueen b802383441 Add Prisma SD-WAN voice-quality enrichment for /phonestatus + /voicediag
Introduces a full Palo Alto Prisma SD-WAN integration (dual-mode SASE
OAuth 2.0 / legacy CloudGenix auth, pagination, 429 backoff, session
priming) that surfaces per-path latency/jitter/loss/MOS, site
healthscore, link state, and alarm data for a store. Wired into the
/phonestatus WAN follow-up and eight new /voicediag WAN checks graded
against ITU-T G.114 / RFC 3550 defaults (env-overridable via
WAN_STANDARD_*).

Also adds a shape-aware detail renderer for /voicediag (per-link
tables with verdict icons instead of a stringified JSON dump) and a
--window flag (15m / 1h / 6h / 24h / 1d, env default via
WAN_STANDARD_WINDOW_MINUTES) so operators can widen the look-back
without redeploying. scripts/prismaProbe.js is bundled as a CLI for
schema iteration against a live tenant.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-09 09:45:29 -04:00

29 lines
642 B
JavaScript

// src/integrations/paloalto/index.js
//
// Barrel re-export for the Palo Alto Prisma SD-WAN integration.
// Consumers should import from this file rather than reaching into
// individual sub-modules — same pattern as integrations/serviceChannel/.
export {
paloAltoAxios,
getPrismaToken,
_resetPrismaAuthCache,
} from './client.js';
export {
siteNameForStore,
findSdwanSiteForStore,
getAllSites,
getElementsForSite,
getWanInterfacesForSite,
_resetSitesCache,
} from './sites.js';
export {
LQM_METRIC_NAMES,
getHealthscore,
getLqmMetric,
getAlarms,
} from './metrics.js';
export { default } from './client.js';