sentinelone 1.16.0: count_agents takes agentVersion__lte

The other end of the agentVersion__gt range the command already had:
agents on the given version or older, so a target build counts as
still to be upgraded rather than as already done. Left empty the
filter is not sent.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-17 14:43:00 +00:00
parent 086150b200
commit 741db61543
2 changed files with 6 additions and 2 deletions
File diff suppressed because one or more lines are too long
@@ -38,6 +38,9 @@ def main():
# Agents strictly newer than the given version, e.g. 23.4.2.6 — the console
# answers with the fleet still trailing behind a target build.
"agentVersion__gt": inputs.get("agentVersion__gt"),
# The other end of the same range: agents on that version or older, so a
# target build counts as still to be upgraded rather than as done.
"agentVersion__lte": inputs.get("agentVersion__lte"),
# Comma-separated lists are re-joined so a hand-typed "connected, disconnected"
# does not reach the API with the space inside the value.
"networkStatuses": ",".join(csv(inputs.get("networkStatuses"))),