=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-230- prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:231: configureServer(httpServer, "http", s.httpServerL.Addr().String()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-232- ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-234- wg.Add(1) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:235: s.Logf("Serving alertmanager at http://%s", s.httpServerL.Addr()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-236- go func(l net.Listener) { ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-240- } prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:241: s.Logf("Stopped serving alertmanager at http://%s", l.Addr()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-242- }(s.httpServerL) ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-326- prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:327: configureServer(httpsServer, "https", s.httpsServerL.Addr().String()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-328- ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-330- wg.Add(1) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:331: s.Logf("Serving alertmanager at https://%s", s.httpsServerL.Addr()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-332- go func(l net.Listener) { ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-336- } prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:337: s.Logf("Stopped serving alertmanager at https://%s", l.Addr()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-338- }(tls.NewListener(s.httpsServerL, httpsServer.TLSConfig)) ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-387- prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:388: h, p, err := swag.SplitHostPort(listener.Addr().String()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-389- if err != nil { ############################################## prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-402- prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go:403: sh, sp, err := swag.SplitHostPort(tlsListener.Addr().String()) prometheus-alertmanager-0.21.0+ds/api/v2/restapi/server.go-404- if err != nil { ############################################## prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-684- prometheus-alertmanager-0.21.0+ds/cluster/cluster.go:685: ips, err := res.LookupIPAddr(ctx, host) prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-686- if err != nil { ############################################## prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-700- prometheus-alertmanager-0.21.0+ds/cluster/cluster.go:701: ips, err = res.LookupIPAddr(retryCtx, host) prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-702- if err != nil { ############################################## prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-706- prometheus-alertmanager-0.21.0+ds/cluster/cluster.go:707: ips = removeMyAddr(ips, port, myAddress) prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-708- if len(ips) == 0 { ############################################## prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-729- prometheus-alertmanager-0.21.0+ds/cluster/cluster.go:730:func removeMyAddr(ips []net.IPAddr, targetPort string, myAddr string) []net.IPAddr { prometheus-alertmanager-0.21.0+ds/cluster/cluster.go-731- var result []net.IPAddr ############################################## prometheus-alertmanager-0.21.0+ds/test/cli/mock.go-301-func (ws *MockWebhook) Address() string { prometheus-alertmanager-0.21.0+ds/test/cli/mock.go:302: return ws.listener.Addr().String() prometheus-alertmanager-0.21.0+ds/test/cli/mock.go-303-} ############################################## prometheus-alertmanager-0.21.0+ds/test/cli/acceptance.go-116- prometheus-alertmanager-0.21.0+ds/test/cli/acceptance.go:117: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/test/cli/acceptance.go-118-} ############################################## prometheus-alertmanager-0.21.0+ds/test/with_api_v1/mock.go-311-func (ws *MockWebhook) Address() string { prometheus-alertmanager-0.21.0+ds/test/with_api_v1/mock.go:312: return ws.listener.Addr().String() prometheus-alertmanager-0.21.0+ds/test/with_api_v1/mock.go-313-} ############################################## prometheus-alertmanager-0.21.0+ds/test/with_api_v1/acceptance.go-103- prometheus-alertmanager-0.21.0+ds/test/with_api_v1/acceptance.go:104: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/test/with_api_v1/acceptance.go-105-} ############################################## prometheus-alertmanager-0.21.0+ds/test/with_api_v2/mock.go-337-func (ws *MockWebhook) Address() string { prometheus-alertmanager-0.21.0+ds/test/with_api_v2/mock.go:338: return ws.listener.Addr().String() prometheus-alertmanager-0.21.0+ds/test/with_api_v2/mock.go-339-} ############################################## prometheus-alertmanager-0.21.0+ds/test/with_api_v2/acceptance.go-108- prometheus-alertmanager-0.21.0+ds/test/with_api_v2/acceptance.go:109: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/test/with_api_v2/acceptance.go-110-} ############################################## prometheus-alertmanager-0.21.0+ds/debian/patches/04-Defaults.patch-55- prometheus-alertmanager-0.21.0+ds/debian/patches/04-Defaults.patch:56:-`amtool` allows a configuration file to specify some options for convenience. The default configuration file paths are `$HOME/.config/amtool/config.yml` or `/etc/amtool/config.yml` prometheus-alertmanager-0.21.0+ds/debian/patches/04-Defaults.patch:57:+`amtool` allows a configuration file to specify some options for convenience. The default configuration file paths are `$HOME/.config/prometheus/amtool/config.yml` or `/etc/prometheus/amtool/config.yml` prometheus-alertmanager-0.21.0+ds/debian/patches/04-Defaults.patch-58- ############################################## prometheus-alertmanager-0.21.0+ds/debian/prometheus-alertmanager.init-37-{ prometheus-alertmanager-0.21.0+ds/debian/prometheus-alertmanager.init:38: mkdir -p `dirname $PIDFILE` || true prometheus-alertmanager-0.21.0+ds/debian/prometheus-alertmanager.init:39: chown $USER: `dirname $LOGFILE` prometheus-alertmanager-0.21.0+ds/debian/prometheus-alertmanager.init:40: chown $USER: `dirname $PIDFILE` prometheus-alertmanager-0.21.0+ds/debian/prometheus-alertmanager.init-41-} ############################################## prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/cli/acceptance.go-116- prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/cli/acceptance.go:117: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/cli/acceptance.go-118-} ############################################## prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v1/acceptance.go-103- prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v1/acceptance.go:104: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v1/acceptance.go-105-} ############################################## prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v2/acceptance.go-108- prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v2/acceptance.go:109: return l.Addr().String() prometheus-alertmanager-0.21.0+ds/.pc/03-Fix_acceptance_test.patch/test/with_api_v2/acceptance.go-110-} ############################################## prometheus-alertmanager-0.21.0+ds/.pc/04-Defaults.patch/README.md-292- prometheus-alertmanager-0.21.0+ds/.pc/04-Defaults.patch/README.md:293:`amtool` allows a configuration file to specify some options for convenience. The default configuration file paths are `$HOME/.config/amtool/config.yml` or `/etc/amtool/config.yml` prometheus-alertmanager-0.21.0+ds/.pc/04-Defaults.patch/README.md-294- ############################################## prometheus-alertmanager-0.21.0+ds/README.md-292- prometheus-alertmanager-0.21.0+ds/README.md:293:`amtool` allows a configuration file to specify some options for convenience. The default configuration file paths are `$HOME/.config/prometheus/amtool/config.yml` or `/etc/prometheus/amtool/config.yml` prometheus-alertmanager-0.21.0+ds/README.md-294-