chore(lint): suppress gosec false positives on SSRF-safe HTTP client calls

This commit is contained in:
kolaente
2026-03-23 16:52:25 +01:00
committed by kolaente
parent 848a4e7f07
commit cc22acdf3e
6 changed files with 9 additions and 9 deletions

View File

@@ -188,7 +188,7 @@ func makeAuthenticatedGetRequest(token, urlPart string, v interface{}) error {
}
req.Header.Set("Authorization", "Bearer "+token)
resp, err := utils.NewSSRFSafeHTTPClient().Do(req)
resp, err := utils.NewSSRFSafeHTTPClient().Do(req) //nolint:gosec // SSRF protection is handled by the SSRF-safe client
if err != nil {
return err
}