Files
securityonion/salt/elasticfleet/tools/sbin_jinja
Josh Patterson 1ee555957a Speed up so-elastic-fleet-integration-upgrade
Fetch each agent policy once and extract integration name/package/version/id
locally via a single jq pass instead of re-fetching the identical policy JSON
1+3N times. Memoize epm/packages latest-version lookups so each package is
queried once instead of per (policy, integration). Dispatch the per-integration
dry-run+upgrade as throttled background jobs (MAX_FLEET_JOBS) with
flock-serialized output and a FAIL_FILE marker, mirroring
elastic_fleet_load_integrations_dir.

Behavior preserved: same elastic-defend-endpoints/fleet_server skips, same
AUTO_UPGRADE_INTEGRATIONS default-package gating (moved into jq, using $defaults
to avoid the jq $def keyword collision), and exit 1 on any failure so salt
retries.
2026-06-12 15:23:43 -04:00
..
2025-05-09 10:29:23 -04:00
2023-07-14 21:43:03 +00:00
2023-07-13 14:32:22 +00:00
2023-07-13 14:32:22 +00:00
2023-07-14 21:43:03 +00:00
2023-07-13 14:32:22 +00:00
2023-07-14 21:43:03 +00:00