mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-23 21:51:48 +01:00
This PR adds `gosec` linter with the following checks disabled: - G102: Bind to all interfaces - G107: Url provided to HTTP request as taint input - G112: Potential slowloris attack - G114: Use of net/http serve function that has no support for setting timeouts - G204: Audit use of command execution - G401: Detect the usage of DES, RC4, MD5 or SHA1 - G402: Look for bad TLS connection settings - G404: Insecure random number source (rand) - G501: Import blocklist: crypto/md5 - G505: Import blocklist: crypto/sha1 We have complaints related to the checks above. They have to be addressed separately. |
||
---|---|---|
.. | ||
api | ||
middleware | ||
util | ||
accounts_handler_test.go | ||
accounts_handler.go | ||
dns_settings_handler_test.go | ||
dns_settings_handler.go | ||
events_handler_test.go | ||
events_handler.go | ||
groups_handler_test.go | ||
groups_handler.go | ||
handler.go | ||
nameservers_handler_test.go | ||
nameservers_handler.go | ||
pat_handler_test.go | ||
pat_handler.go | ||
peers_handler_test.go | ||
peers_handler.go | ||
policies_handler_test.go | ||
policies_handler.go | ||
routes_handler_test.go | ||
routes_handler.go | ||
rules_handler_test.go | ||
rules_handler.go | ||
setupkeys_handler_test.go | ||
setupkeys_handler.go | ||
users_handler_test.go | ||
users_handler.go |