Reads a Control Hub "Meetings Inactive Users" CSV, filters to IS_HOST=Y AND DAYS_SINCE_LAST_ACTIVE > --min-days (default 120), cross-references against the current holders of --host-license-id (so no per-user /people lookup), then PATCHes /v1/licenses/users to atomically remove the host license and either (a) add a specific free-tier license (--free-license-id) or (b) add attendee-only siteUrl on --site (--free-attendee). Dry-run by default; enumerates every license on the site so the operator can pick the free tier. Bounded concurrency with 429/503 retry, optional --offset/--limit for staged rollouts, per-user outcome CSV via --report, and full audit trail via the existing webex:reclaim:audit log scope. Whitelisted in .gitignore so it stays version-controlled alongside the other tracked operational scripts.
77 lines
1.4 KiB
Text
77 lines
1.4 KiB
Text
# Dependencies
|
|
node_modules/
|
|
|
|
# Environment & Secrets
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
*.pem
|
|
*.cer
|
|
*.key
|
|
debug_cert_*.pem
|
|
|
|
# The rotating service token file must be provided locally for Docker mounts (and runtime writes).
|
|
# Never commit real tokens.
|
|
config/webex-service-tokens.json
|
|
|
|
# Logs & Runtime data
|
|
logs/
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Storage / Certificates / Debug artifacts (provide aeoroots.cer etc. locally for your clone; volume mounted in Docker)
|
|
storage/
|
|
|
|
# Dev / test artifacts (local only)
|
|
characterization-runs/
|
|
scripts/*
|
|
# Tracked operational scripts (whitelisted; keep local dev helpers ignored above)
|
|
!scripts/reclaimWebexHosts.js
|
|
characterize-*.js
|
|
|
|
# Backup & temp files
|
|
*.bak
|
|
*~
|
|
*.swp
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# IDE / Editor
|
|
.idea/
|
|
.vscode/
|
|
*.sublime-project
|
|
*.sublime-workspace
|
|
.history/
|
|
|
|
# Build / Output
|
|
dist/
|
|
build/
|
|
coverage/
|
|
.nyc_output/
|
|
|
|
# DECT relay agent deploy bundles produced by dect-relay-agent/bundle.sh.
|
|
# The datestamped zip lands at repo root and shouldn't be committed —
|
|
# it's ~40MB (Docker image tarball) and rebuildable on demand.
|
|
dect-relay-agent-bundle-*.zip
|
|
dect-relay-agent-bundle-*/
|
|
|
|
# Docker / Misc
|
|
docker-compose.override.yml
|
|
|
|
# OS generated
|
|
.AppleDouble
|
|
.LSOverride
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
|
|
# Misc project artifacts
|
|
testobjects.json
|
|
meraki-store-topology-demo.html
|
|
config/config.json
|
|
config/config.bak
|
|
|
|
# Local spike samples pulled from lab DBS-210 (never commit)
|
|
.dect-samples/
|