Aller au contenu

ITSM and logs

The Pandora ITSM inventory, and the logs the console retains for the agents.

Generated automatically from pandora-cli docs (version 0.9.0, branch develop, commit 4f61789e07). Do not edit by hand; run make cli-ref.

Entities

Entity Aliases Commands Summary
pandora-itsm-inventory pandora-itsm-inventories 2 Pandora ITSM inventory
log — 3 Log entries retained for the agents

pandora-itsm-inventory

Pandora ITSM inventory

Read-only. The list endpoint does not return the declared schema at all — it returns a UI table keyed by id, with display labels for keys and each value wrapped in {data,type} (upstream ticket A13). Columns are therefore left empty so whatever arrives is shown as-is.

Aliases: pandora-itsm-inventories

Command Method Path
pandora-itsm-inventory list POST /pandoraITSM/inventory/list
pandora-itsm-inventory get <idPandoraITSMInventory> GET /pandoraITSM/inventory/{idPandoraITSMInventory}

Fields for --where, --fields and --in: agentAddress, agentAlias, agentDisabled, agentUrlAddress, groupId, groupName, idPandoraITSMInventory, osName, osVersion

--filter additionally accepts every other field of the entity (13 in total).

log

Log entries retained for the agents

Read-only and cursor paginated. A response carries paginationData.hasMore and paginationData.nextCursor; pass the cursor back as --set cursor= to read the next page (the specification's query parameters also surface as flags, so --cursor is equivalent). The filter body fields are period (all, or hours/days such as 6h or 7d; incompatible with from/to), from, to, sizePage (1 to 1000), cursor and serverId.

Command Method Path
log agent list POST /log/agent/list
log agent entry list <idAgent> POST /log/agent/{idAgent}/entry/list
log agent source list <idAgent> POST /log/agent/{idAgent}/source/list

log agent list — Besides the common fields, the body accepts idAgents (array of agent ids, narrowing only). Next page: pandora-cli log agent list --set period=7d --set cursor=.

log agent entry list — Besides the common fields, the body accepts source (exact source name; omit it to read all the sources of the agent). Use log agent source list to find the source names.