Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
66 matches across 2 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | servercfg/serverconf.go | 821 | // This ensures migrations, IDP sync, and other singleton operations only run on one pod. |
| LOW | database/database.go | 61 | // PENDING_USERS_TABLE_NAME - table name for pending users |
| LOW | pro/logic/acls.go | 641 | } |
| LOW | pro/logic/status.go | 121 | b. if getting failedover and still no connection to any of the peers - then show error |
| LOW | pro/controllers/users.go | 2161 | logic.ReturnSuccessResponse(w, r, "idp sync test successful") |
| LOW | pro/controllers/jit.go | 41 | // @Param network query string true "Network ID" |
| LOW | pro/controllers/jit.go | 501 | if err != nil { |
| LOW | pro/controllers/auto_relay.go | 181 | mq.PublishPeerUpdate(false) |
| LOW | pro/controllers/events.go | 21 | // @Summary List network activity |
| LOW | pro/controllers/events.go | 81 | // @Summary List user activity |
| LOW | pro/controllers/flows.go | 61 | EndTs time.Time `ch:"end_ts" json:"end_ts"` |
| LOW | pro/controllers/posture_check.go | 41 | logic.ReturnSuccessResponseWithJson(w, r, schema.PostureCheckAttrValues, "fetched posture checks") |
| LOW | pro/controllers/posture_check.go | 161 | r, |
| LOW | pro/controllers/posture_check.go | 301 | New: nil, |
| LOW | k8s/server/netmaker-ui.yaml | 41 | # kind: Ingress |
| LOW | k8s/server/netmaker-ui.yaml | 61 | # service: |
| LOW | k8s/server/mosquitto.yaml | 161 | # ingressClassName: nginx |
| LOW | k8s/server/netmaker-server.yaml | 201 | # kind: Ingress |
| LOW | k8s/server/netmaker-server.yaml | 221 | # service: |
| LOW | compose/docker-compose.pro.yml | 61 | restart: always |
| LOW | logic/relay.go | 101 | // return returnnodes, err |
| LOW | models/network_test.go | 1 | package models |
| LOW | migrate/migrate_test.go | 1 | // Package migrate provides tests for migration functions, including |
| LOW | scripts/netmaker-ci-runner.sh | 1 | #!/usr/bin/env bash |
| LOW | scripts/nm-quick.sh | 841 | # setup_mesh - sets up a default mesh network on the server |
| LOW | controllers/enrollmentkeys.go | 221 | }) |
| LOW | controllers/dns.go | 61 | } |
| LOW | controllers/dns.go | 321 | // @Summary Delete Nameserver Resource |
| LOW | controllers/dns.go | 481 | json.NewEncoder(w).Encode(dns) |
| LOW | controllers/egress.go | 21 | func egressHandlers(r *mux.Router) { |
| LOW | controllers/server.go | 121 | licenseErr := "" |
| LOW | controllers/server.go | 181 | // @Produce json |
| LOW | controllers/server.go | 221 | // @Produce json |
| LOW | controllers/user.go | 541 | }, "totp setup initiated") |
| LOW | controllers/user.go | 901 | // @Security oauth |
| LOW | controllers/user.go | 1021 | logger.Log(2, r.Header.Get("user"), "fetched users") |
| LOW | controllers/user.go | 1601 | } |
| LOW | controllers/user_test.go | 1 | package controller |
| LOW | controllers/user_test.go | 21 | |
| LOW | controllers/user_test.go | 41 | // bits, err := json.Marshal(userForBody) |
| LOW | controllers/user_test.go | 61 | |
| LOW | controllers/user_test.go | 81 | // assert.False(t, found) |
| LOW | controllers/user_test.go | 101 | // err := logic.CreateUser(&user) |
| LOW | controllers/user_test.go | 121 | // } |
| LOW | controllers/user_test.go | 141 | // func TestDeleteUser(t *testing.T) { |
| LOW | controllers/user_test.go | 161 | // t.Run("Valid Create", func(t *testing.T) { |
| LOW | controllers/user_test.go | 181 | // t.Skip() |
| LOW | controllers/user_test.go | 201 | // err := logic.ValidateUser(&user) |
| LOW | controllers/user_test.go | 221 | // assert.Nil(t, err) |
| LOW | controllers/user_test.go | 241 | // } |
| LOW | controllers/user_test.go | 261 | |
| LOW | controllers/user_test.go | 281 | // }) |
| LOW | controllers/user_test.go | 301 | // // }) |
| LOW | controllers/user_test.go | 321 | // authRequest.Password = "" |
| LOW | controllers/user_test.go | 341 | // jwt, err := logic.VerifyAuthRequest(authRequest) |
| LOW | controllers/hosts.go | 201 | logic.SortApiHosts(apiHosts[:]) |
| LOW | controllers/network.go | 181 | // @Summary Delete a network |
| LOW | controllers/ext_client.go | 141 | json.NewEncoder(w).Encode(clients) |
| LOW | controllers/ext_client.go | 181 | json.NewEncoder(w).Encode(client) |
| LOW | controllers/ext_client.go | 661 | } |
| 5 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | servercfg/serverconf.go | 840 | // - Most robust but adds infrastructure dependency |