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:
@@ -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"))),
|
||||
|
||||
Reference in New Issue
Block a user