mirror of
https://github.com/lunchcat/sif.git
synced 2026-08-02 00:37:38 -07:00
modules/recon/argocd-api-exposure.yaml flags an exposed Argo CD api server through its unauthenticated /api/version endpoint, keyed on the KustomizeVersion and HelmVersion fields a generic version response does not carry, then extracts the server version. internal/modules/argocd_exposure_test.go drives the module through ExecuteHTTPModule and asserts the leak alongside the near misses: each keying field missing on its own, a generic version json, a plain 200 and a 404. verify: go test ./internal/modules, each matcher and extractor proven to bite (break -> red, restore -> green).