SIGN IN SIGN UP

get services from API, removing sidecar requirement (#772)

* get services from API, removing sidecar requirement

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>

* fix: add timeout and file-based fallback to LoadServiceURLs

- Bound HTTP service discovery to 10 s so a slow/unreachable API
  cannot stall node-agent startup; failure is handled gracefully by
  the existing nil-check at the call site.
- Restore SERVICES env var / /etc/config/services.json fallback
  (using ServiceDiscoveryFileV3) so sidecar deployments retain
  scan-failure reporting without requiring migration to API_URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
M
Matthias Bertschy committed
2d768cb07a211aed4924b2fbea48eea5498c241b
Parent: 11e632f
Committed by GitHub <noreply@github.com> on 5/6/2026, 3:18:19 PM