Commit Graph
2 Commits
Author SHA1 Message Date
mrcharles 07a0a3472b fix(cmdb): GLPI import fixes — input wrapper + Read-Only agent profile [#705]
Import executed live: 87 CIs seeded, scoped cmdb user (Read-Only)
verified read-ok / write-denied. Fixes: POST body needs {input:[...]}
(ERROR_BAD_ARRAY on bare array), profile swapped Technician ->
Read-Only per least-priv ruling, shape-tolerant user-exists check.

Detail: https://projects.knownelement.com/issues/705
2026-09-03 12:26:39 -05:00
mrcharles 4c2726b116 feat(cmdb): GLPI importer — agent user + seed import ready to fire [#705]
to-glpi.sh: initSession, creates scoped local 'cmdb' user (Technician @
root entity, random token -> ~/.creds/glpi-agent.env), then batch-imports
systems.csv as Computers (chunked, idempotent by name, --dry-run).
Fires the moment Charles drops the corrected GLPI_USER_TOKEN.
Pure bash/jq per house rules.
2026-09-03 09:59:32 -05:00